<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://avanthill.com/formo_manual/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://avanthill.com/formo_manual/feed.php">
        <title>Formo</title>
        <description></description>
        <link>http://avanthill.com/formo_manual/</link>
        <image rdf:resource="http://avanthill.com/formo_manual/lib/images/favicon.ico" />
       <dc:date>2010-09-04T04:04:26-05:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://avanthill.com/formo_manual/doku.php?id=contents&amp;rev=1257691167&amp;do=diff"/>
                <rdf:li rdf:resource="http://avanthill.com/formo_manual/doku.php?id=plugins:orm&amp;rev=1255016395&amp;do=diff"/>
                <rdf:li rdf:resource="http://avanthill.com/formo_manual/doku.php?id=drivers:select&amp;rev=1253458342&amp;do=diff"/>
                <rdf:li rdf:resource="http://avanthill.com/formo_manual/doku.php?id=drivers:reset&amp;rev=1252299914&amp;do=diff"/>
                <rdf:li rdf:resource="http://avanthill.com/formo_manual/doku.php?id=plugins:mval&amp;rev=1252298915&amp;do=diff"/>
                <rdf:li rdf:resource="http://avanthill.com/formo_manual/doku.php?id=tutorials:creating_plugins&amp;rev=1252297807&amp;do=diff"/>
                <rdf:li rdf:resource="http://avanthill.com/formo_manual/doku.php?id=tutorials:quick_start&amp;rev=1252297413&amp;do=diff"/>
                <rdf:li rdf:resource="http://avanthill.com/formo_manual/doku.php?id=plugins:about_plugins&amp;rev=1252297180&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://avanthill.com/formo_manual/lib/images/favicon.ico">
        <title>Formo</title>
        <link>http://avanthill.com/formo_manual/</link>
        <url>http://avanthill.com/formo_manual/lib/images/favicon.ico</url>
    </image>
    <item rdf:about="http://avanthill.com/formo_manual/doku.php?id=contents&amp;rev=1257691167&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-11-08T08:39:27-05:00</dc:date>
        <dc:creator>bmidget</dc:creator>
        <title>contents</title>
        <link>http://avanthill.com/formo_manual/doku.php?id=contents&amp;rev=1257691167&amp;do=diff</link>
        <description>What is Formo?FeaturesCreditsInstalling FormoInstalling a Config FileWebsiteOfficial ForumFAQFormo IssueslicenseForm BasicsChainingConfig FileFile UploadsCustom RulesGetting and Setting Formo variablesLoading PluginsEventsAlternative Syntax Quick Start Creating Plugins The Power of Bools Create a Driver Driver Shortcuts Driver or PluginAbout Pluginsajaxvalauto_i18ncommentscsrffieldsetgroup_aliashabtmmvalormshortcutssuccessGeneral Driver Usageboolbuttoncaptchacheckboxfilehiddenhtmlimagepasswordra…</description>
    </item>
    <item rdf:about="http://avanthill.com/formo_manual/doku.php?id=plugins:orm&amp;rev=1255016395&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-10-08T10:39:55-05:00</dc:date>
        <dc:creator>bmidget</dc:creator>
        <title>plugins:orm</title>
        <link>http://avanthill.com/formo_manual/doku.php?id=plugins:orm&amp;rev=1255016395&amp;do=diff</link>
        <description>See loading instructions here

The orm plugin let's you auto-generate a form from an ORM model.

The plugin will generate dropdown lists for foreign key relations.

Usage

Assuming you've properly set up your models:

$form = Formo::factory()
  -&gt;orm('user',5);</description>
    </item>
    <item rdf:about="http://avanthill.com/formo_manual/doku.php?id=drivers:select&amp;rev=1253458342&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-09-20T09:52:22-05:00</dc:date>
        <dc:creator>bmidget</dc:creator>
        <title>drivers:select</title>
        <link>http://avanthill.com/formo_manual/doku.php?id=drivers:select&amp;rev=1253458342&amp;do=diff</link>
        <description>The button driver creates a select element to the form.


Shortcut

The button shortcut method takes the following parameters:


	*  name
	*  values
	*  info

$hobbies = array(24 =&gt; 'running', 56 =&gt; 'jumping', 42 =&gt; 'swimming');

...
-&gt;add_select('hobbies', $hobbies)
...</description>
    </item>
    <item rdf:about="http://avanthill.com/formo_manual/doku.php?id=drivers:reset&amp;rev=1252299914&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-09-07T00:05:14-05:00</dc:date>
        <dc:creator>bmidget</dc:creator>
        <title>drivers:reset - created</title>
        <link>http://avanthill.com/formo_manual/doku.php?id=drivers:reset&amp;rev=1252299914&amp;do=diff</link>
        <description>Adds a reset element to the form.


Shortcut

Nothing different


Validation

Not validated


Post Data

Post data is not added


Get Value

Does not return a value using get_values()</description>
    </item>
    <item rdf:about="http://avanthill.com/formo_manual/doku.php?id=plugins:mval&amp;rev=1252298915&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-09-06T23:48:35-05:00</dc:date>
        <dc:creator>bmidget</dc:creator>
        <title>plugins:mval</title>
        <link>http://avanthill.com/formo_manual/doku.php?id=plugins:mval&amp;rev=1252298915&amp;do=diff</link>
        <description>See loading instructions here

Short for Model Validation, the mval plugin passes form values into a model for validation automatically upon passing any Controller-set validation rules.


How it works

Using the model and mval functions built into mval, add models and methods that will handle validation.</description>
    </item>
    <item rdf:about="http://avanthill.com/formo_manual/doku.php?id=tutorials:creating_plugins&amp;rev=1252297807&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-09-06T23:30:07-05:00</dc:date>
        <dc:creator>bmidget</dc:creator>
        <title>tutorials:creating_plugins</title>
        <link>http://avanthill.com/formo_manual/doku.php?id=tutorials:creating_plugins&amp;rev=1252297807&amp;do=diff</link>
        <description>As of version 0.10.0, Formo offers a plugin interface in order to allow loading of as few resources as possible.


Plugin Conventions

Your plugin class and file name must be Formo_yourclass. For example, if you are making a super validating plugin named superval, your file name would be superval.php and the class would be Formo_superval.</description>
    </item>
    <item rdf:about="http://avanthill.com/formo_manual/doku.php?id=tutorials:quick_start&amp;rev=1252297413&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-09-06T23:23:33-05:00</dc:date>
        <dc:creator>bmidget</dc:creator>
        <title>tutorials:quick_start</title>
        <link>http://avanthill.com/formo_manual/doku.php?id=tutorials:quick_start&amp;rev=1252297413&amp;do=diff</link>
        <description>The intent of this document is to familiarize you with the approach and syntax of Formo.

To create a new form:

$form = new Formo;

// or

$form = Formo::factory();

In Formo, individual elements are attached to the form object and are easily manipulated.</description>
    </item>
    <item rdf:about="http://avanthill.com/formo_manual/doku.php?id=plugins:about_plugins&amp;rev=1252297180&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-09-06T23:19:40-05:00</dc:date>
        <dc:creator>bmidget</dc:creator>
        <title>plugins:about_plugins</title>
        <link>http://avanthill.com/formo_manual/doku.php?id=plugins:about_plugins&amp;rev=1252297180&amp;do=diff</link>
        <description>Formo utilizes a plugin architecture for these reasons:


	*  There are so many ways people need to use forms
	*  It'd get bloated so fast in its effort to please everybody

Loading Plugins

Plugins are loaded in the order you list them. You can load them in the config file:</description>
    </item>
</rdf:RDF>

