Changeset 267 for trunk/examples/example_datasrc_function.php
- Timestamp:
- 07/31/05 12:41:39 (3 years ago)
- Files:
-
- trunk/examples/example_datasrc_function.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/examples/example_datasrc_function.php
r117 r267 64 64 * @return array $areas Associative array, keys are values, values are labels 65 65 */ 66 function getAreas( $element Name)66 function getAreas( $element ) 67 67 { 68 68 return array( 69 69 array( 70 'label' => 'No '.$element Name,70 'label' => 'No '.$element->getName(), 71 71 'value' => '1', 72 72 ), … … 125 125 // DISPLAY FORM ------------------------------------------------------ 126 126 displayForm( $form, $elements ); // see patExampleGen/customFunctions.php 127 128 129 130 127 131 128 // EXAMPLE END ------------------------------------------------------
