| Revision 267,
795 bytes
checked in by schst, 8 years ago
(diff) |
|
Pass the element to the datasource, to allow context-sensitive datasources (as requested #151)
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 | <?php |
|---|
| 2 | /** |
|---|
| 3 | * Definitions for the examples on the datasources that can be |
|---|
| 4 | * used with some elements |
|---|
| 5 | * |
|---|
| 6 | * $Id$ |
|---|
| 7 | * |
|---|
| 8 | * @package patForms |
|---|
| 9 | * @subpackage Examples |
|---|
| 10 | * @author Sebastian Mordziol <argh@php-tools.net> |
|---|
| 11 | */ |
|---|
| 12 | |
|---|
| 13 | $sections['DataSource'] = array( |
|---|
| 14 | 'descr' => 'These examples show how to use data sources for the patForms |
|---|
| 15 | elements that support them.', |
|---|
| 16 | 'basename' => 'example_datasrc_', |
|---|
| 17 | 'pages' => array( |
|---|
| 18 | 'function' => array( |
|---|
| 19 | 'title' => 'Callback', |
|---|
| 20 | 'descr' => 'Using a callback function or method as data source.' |
|---|
| 21 | ), |
|---|
| 22 | 'object' => array( |
|---|
| 23 | 'title' => 'Object', |
|---|
| 24 | 'descr' => 'Using an object as data source.' |
|---|
| 25 | ), |
|---|
| 26 | 'countries' => array( |
|---|
| 27 | 'title' => 'Countries', |
|---|
| 28 | 'descr' => 'Using the out-of-the-box datasource for country selections.' |
|---|
| 29 | ), |
|---|
| 30 | ) |
|---|
| 31 | ); |
|---|
| 32 | ?> |
|---|
Note: See
TracBrowser
for help on using the repository browser.