root/trunk/examples/patExampleGen/sections_creator.php

Revision 117, 1.4 kB (checked in by argh, 4 years ago)

Massive update of the examples collection; added the patExampleGen examples framework; commented all examples; reworked all the templates...

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 <?php
2 /**
3  * Definitions for the examples on the patForms creator objects
4  *
5  * $Id$
6  *
7  * @package        patForms
8  * @subpackage    Examples
9  * @author        Sebastian Mordziol <argh@php-tools.net>
10  */
11
12     $sections['Creator'] = array(
13         'state'        =>    'Dev',
14         'descr'        =>    'The patForms::Creator will provide easy-to-use interfaces to create forms from
15                         various sources, like a database table, an XML document, a CSV or INI file.',
16         'basename'    =>    'example_creator_',
17         'pages'        =>    array(
18             'db' => array(
19                 'title'    =>    'DB - Generic',
20                 'descr'    =>    'This example shows how to create forms automatically by retrieving field
21                             information from the database. This is the generic vairiant that used PEAR::DB
22                             to get the field information - as this generic information set is quite limited,
23                             complex field types like Enums cannot be translated.'
24             ),
25             'db_mysql' => array(
26                 'title'    =>    'DB - MySQL',
27                 'descr'    =>    'This example shows how to create forms automatically by retrieving field
28                             information from the database. This variant us optimized for MySQL databases,
29                             and can generate more complex forms as it is possible to retrieve quite
30                             extensive field type information.'
31             ),
32             'autosave' => array(
33                 'title'    =>    'Autosave',
34                 'descr'    =>    'This example shows that you can easily combine the creator with a storage
35                             object to enable the automatic saving of the generated form to the target table.'
36             ),
37         )
38     );
39 ?>
Note: See TracBrowser for help on using the browser.