*/ $sections['Storage'] = array( 'state' => 'Beta', 'descr' => 'The patForms::Storage classes will provide storage containers for your form data. This means that we will provide objects that store the data in a database, an XML file or whatever you like. If you combine it with patForms::Creator and the event handling this will allow you to build fully functional scripts that build a form, validate the data store data anywhere in about 10 lines of code.', 'basename' => 'example_storage_', 'pages' => array( 'csv' => array( 'title' => 'CSV', 'descr' => 'This example demonstrates the CSV storage. The values will be written to a CSV file. If the username (used as primary) is set, the values will also be read from the file.' ), 'db' => array( 'title' => 'DB', 'descr' => 'This example shows how to use the DB storage to automatically store the values of a form to a table in a database. If the username (used as primary) is set, the values will also be read from the file.

We have included an SQL file that you can use to create the table to make this example work.' ), 'propel' => array( 'title' => 'Propel', 'descr' => "This example shows how to use the Propel Definition, Datasource and Storage classes to quickly integrate with an existing Propel OM build. Please note that this is in alpha stage and relies on a Propel install from Propel SVN (at time of writing this) http://svn.phpdb.org/propel", 'tabs' => array( 'template' => array( 'title' => 'Template source', 'type' => 'phpSource', 'file' => 'templates/$exampleId.tmpl', ), ), ), 'mail' => array( 'title' => 'Mail', 'descr' => "This example shows you how you can easily create any contact form or any other form that will just email the data to anybody.", ), ) ); ?>