|
Revision 267, 0.8 kB
(checked in by schst, 3 years ago)
|
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 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
$sections['DataSource'] = array( |
|---|
| 14 |
'descr' => 'These examples show how to use data sources for the patForms |
|---|
| 15 |
, |
|---|
| 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 |
?> |
|---|