|
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 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
$sections['Observer'] = array( |
|---|
| 13 |
'descr' => '', |
|---|
| 14 |
'basename' => 'example_observer_', |
|---|
| 15 |
'pages' => array( |
|---|
| 16 |
'attach_element' => array( |
|---|
| 17 |
'title' => 'Attach to an element', |
|---|
| 18 |
'descr' => 'This example shows how to attach an observer to a single element.' |
|---|
| 19 |
), |
|---|
| 20 |
'attach_elements' => array( |
|---|
| 21 |
'title' => 'Attach to all elements', |
|---|
| 22 |
'descr' => 'This example shows how to attach an observer to all elements in the |
|---|
| 23 |
|
|---|
| 24 |
), |
|---|
| 25 |
'attach_form' => array( |
|---|
| 26 |
'title' => 'Attach to the form', |
|---|
| 27 |
'descr' => 'This example shows how to attach an observer to the form itself.' |
|---|
| 28 |
), |
|---|
| 29 |
'readonly' => array( |
|---|
| 30 |
'title' => 'Readonly finished', |
|---|
| 31 |
'descr' => 'This example shows how to display fields that have already been |
|---|
| 32 |
|
|---|
| 33 |
), |
|---|
| 34 |
'error_attributes' => array( |
|---|
| 35 |
'title' => 'Error attributes', |
|---|
| 36 |
'descr' => 'This example shows how to change any attribute of an element that |
|---|
| 37 |
|
|---|
| 38 |
|
|---|
| 39 |
), |
|---|
| 40 |
'combining' => array( |
|---|
| 41 |
'title' => 'Combining observers', |
|---|
| 42 |
'descr' => 'This example shows how you can combine several observers to create |
|---|
| 43 |
|
|---|
| 44 |
|
|---|
| 45 |
), |
|---|
| 46 |
|
|---|
| 47 |
|
|---|
| 48 |
?> |
|---|