| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
$sections['API'] = array( |
|---|
| 13 |
'descr' => 'These examples show the basic patForms API methods, and introduce you |
|---|
| 14 |
, |
|---|
| 15 |
'basename' => 'example_api_', |
|---|
| 16 |
'pages' => array( |
|---|
| 17 |
'factory_detailed' => array( |
|---|
| 18 |
'title' => 'Using the patForms factory - I', |
|---|
| 19 |
'descr' => 'Here you will see how to use the patForms factory methods |
|---|
| 20 |
|
|---|
| 21 |
, |
|---|
| 22 |
'tabs' => array( |
|---|
| 23 |
'annotation' => array( |
|---|
| 24 |
'title' => 'Notes', |
|---|
| 25 |
'type' => 'text', |
|---|
| 26 |
'text' => 'In this example, you can see the different components a form |
|---|
| 27 |
|
|---|
| 28 |
|
|---|
| 29 |
|
|---|
| 30 |
|
|---|
| 31 |
|
|---|
| 32 |
, |
|---|
| 33 |
|
|---|
| 34 |
|
|---|
| 35 |
|
|---|
| 36 |
'factory_simple' => array( |
|---|
| 37 |
'title' => 'Using the patForms factory - II', |
|---|
| 38 |
'descr' => 'Here you will see how you can automate element creation via |
|---|
| 39 |
, |
|---|
| 40 |
|
|---|
| 41 |
'factory_customModule' => array( |
|---|
| 42 |
'title' => 'Use custom modules in patForms', |
|---|
| 43 |
'descr' => 'Tell patForms how to include your own modules - like rules, filter, elements and stuff. |
|---|
| 44 |
|
|---|
| 45 |
, |
|---|
| 46 |
|
|---|
| 47 |
'setvalues' => array( |
|---|
| 48 |
'title' => 'Setting the values from your script', |
|---|
| 49 |
'descr' => 'This example shows how to create a form and set the values afterwards.', |
|---|
| 50 |
|
|---|
| 51 |
'replace_element' => array( |
|---|
| 52 |
'title' => 'Replacing an element', |
|---|
| 53 |
'descr' => 'This shows you how to replace an element in the form with another one.', |
|---|
| 54 |
|
|---|
| 55 |
'autovalidate' => array( |
|---|
| 56 |
'title' => 'Automatic form validation', |
|---|
| 57 |
'descr' => 'Here you can find the auto-validation feature |
|---|
| 58 |
|
|---|
| 59 |
|
|---|
| 60 |
|
|---|
| 61 |
), |
|---|
| 62 |
'default_attributes' => array( |
|---|
| 63 |
'title' => 'Setting default attributes', |
|---|
| 64 |
'descr' => 'This example shows how you can set default attributes for |
|---|
| 65 |
|
|---|
| 66 |
), |
|---|
| 67 |
'locale' => array( |
|---|
| 68 |
'title' => 'Localized validation messages', |
|---|
| 69 |
'descr' => 'Here you can see how to set a locale for a form, to |
|---|
| 70 |
|
|---|
| 71 |
), |
|---|
| 72 |
'locale_custom' => array( |
|---|
| 73 |
'title' => 'Custom Localized validation messages', |
|---|
| 74 |
'descr' => 'Additional locale information is read from an INI file.' |
|---|
| 75 |
), |
|---|
| 76 |
'toxml' => array( |
|---|
| 77 |
'title' => 'Serialize an element to XML I', |
|---|
| 78 |
'descr' => 'patForms gives you the possibility to serialize an element |
|---|
| 79 |
|
|---|
| 80 |
|
|---|
| 81 |
), |
|---|
| 82 |
'toxml_ns' => array( |
|---|
| 83 |
'title' => 'Serialize an element to XML II', |
|---|
| 84 |
'descr' => 'For easy integration in existing XML data, you can also |
|---|
| 85 |
|
|---|
| 86 |
), |
|---|
| 87 |
|
|---|
| 88 |
|
|---|
| 89 |
|
|---|
| 90 |
?> |
|---|