|
Revision 117, 0.7 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 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
if( !isset( $_GET['example'] ) ) |
|---|
| 18 |
'No example selected.' ); |
|---|
| 19 |
|
|---|
| 20 |
$exampleId = $_GET['example']; |
|---|
| 21 |
|
|---|
| 22 |
ob_start(); |
|---|
| 23 |
|
|---|
| 24 |
|
|---|
| 25 |
chdir( '../' ); |
|---|
| 26 |
|
|---|
| 27 |
$exampleId.'.php'; |
|---|
| 28 |
|
|---|
| 29 |
ob_end_clean(); |
|---|
| 30 |
|
|---|
| 31 |
$form ) ) |
|---|
| 32 |
|
|---|
| 33 |
'Elements source is not available for this example.' ); |
|---|
| 34 |
|
|---|
| 35 |
|
|---|
| 36 |
$form->elements as $row => $el ) |
|---|
| 37 |
|
|---|
| 38 |
$el->serialize()."\n\n"; |
|---|
| 39 |
|
|---|
| 40 |
?> |
|---|