root/tags/RELEASE_0_9_0B1/examples/patExampleGen/sections.php

Revision 117, 1.6 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 of all included examples
4  *
5  * $Id$
6  *
7  * @package        patForms
8  * @subpackage    Examples
9  * @author        Sebastian Mordziol <argh@php-tools.net>
10  */
11  
12      $appName    =    'patForms';
13     $appForumId    =    5;
14     $appDesc    =    'Please note that even though you can directly jump to any '
15                 .    'section in the examples, <b>we recommend you go through them '
16                 .    'sequentially</b> as they are presented here, especially if you '
17                 .    'are new to patForms. We have set the order of the examples '
18                 .    'so that you will not miss out any important details, and learn '
19                 .    'how to use the needed classes tutorial-like by reading the comments in '
20                 .    'the examples\' source code.<br/>';
21                 
22     $tabs = array(
23         'output' => array(
24             'title'        =>    'Output',
25             'type'        =>    'output',
26             'file'        =>    '$exampleFile',
27             'default'    =>    true,
28         ),
29         'source' => array(
30             'title'     =>    'PHP Source',
31             'type'        =>    'phpSource',
32             'file'        =>    '$exampleFile',
33             'default'    =>    false,
34         ),
35         'elsource' => array(
36             'title'        =>    'Elements source',
37             'type'        =>    'xmlSource',
38             'file'        =>    'patExampleGen/xmlSource.php?example=$exampleId',
39             'default'    =>    false,
40         ),
41     );
42                 
43     $sections = array();
44     
45     // include all section definitions
46     include_once 'sections_api.php';
47     include_once 'sections_element.php'    ;
48     include_once 'sections_renderer.php';
49     include_once 'sections_datasource.php';
50     include_once 'sections_rule.php';
51     include_once 'sections_filter.php';
52     include_once 'sections_event.php';
53     include_once 'sections_parser.php';
54     include_once 'sections_observer.php';
55     include_once 'sections_storage.php';
56     include_once 'sections_creator.php';
57 ?>
58
Note: See TracBrowser for help on using the browser.