| 24 |
* $Id$ |
* $Id$ |
| 25 |
* |
* |
| 26 |
* $Log$ |
* $Log$ |
| 27 |
|
* Revision 1.19 2003/03/11 03:05:01 joko |
| 28 |
|
* + fixed metadata for phpDocumentor |
| 29 |
|
* |
| 30 |
* Revision 1.18 2003/03/11 02:42:51 joko |
* Revision 1.18 2003/03/11 02:42:51 joko |
| 31 |
* + fixed metadata for phpDocumentor |
* + fixed metadata for phpDocumentor |
| 32 |
* |
* |
| 126 |
* This module takes care of the rest. |
* This module takes care of the rest. |
| 127 |
* Pass an array to the constructor: (e.g.) |
* Pass an array to the constructor: (e.g.) |
| 128 |
* |
* |
| 129 |
* <pre> |
* 1. for doing rpc-calls.... |
| 130 |
* 1. for doing rpc-calls.... |
* <code> |
|
* <code> |
|
| 131 |
* $locator = array( |
* $locator = array( |
| 132 |
* datasource_type => 'rpc', |
* datasource_type => 'rpc', |
| 133 |
* [adapter_type => 'phpHtmlLib',] |
* [adapter_type => 'phpHtmlLib',] |
| 135 |
* ); |
* ); |
| 136 |
* $source = ne w DataSource::Generic($locator); |
* $source = ne w DataSource::Generic($locator); |
| 137 |
* $this->set_data_source( &$source ); |
* $this->set_data_source( &$source ); |
| 138 |
* </code> |
* </code> |
| 139 |
* |
* |
| 140 |
* 2. [proposal] for common/oldschool datahandles.... |
* 2. [proposal] for common/oldschool datahandles.... |
| 141 |
* <code> |
* <code> |
| 142 |
* $locator = array( |
* $locator = array( |
| 143 |
* dsn => 'known dsn markup', |
* dsn => 'known dsn markup', |
| 144 |
* ); |
* ); |
| 145 |
* $source = ne w DataSource::Generic($locator); |
* $source = ne w DataSource::Generic($locator); |
| 146 |
* $this->set_data_source( &$source ); |
* $this->set_data_source( &$source ); |
| 147 |
* </code> |
* </code> |
|
* </pre> |
|
| 148 |
* |
* |
| 149 |
* |
* |
| 150 |
* |
* |
| 172 |
* {@see build}, which acts as a dispatcher |
* {@see build}, which acts as a dispatcher |
| 173 |
* depending on $_options[datasource]. (main dispatching level) |
* depending on $_options[datasource]. (main dispatching level) |
| 174 |
* |
* |
|
* <p> |
|
|
* |
|
| 175 |
* The structure of a full blown locator looks like this: |
* The structure of a full blown locator looks like this: |
| 176 |
* |
* |
| 177 |
* <code> |
* <code> |
| 203 |
* ); |
* ); |
| 204 |
* </code> |
* </code> |
| 205 |
* |
* |
|
* </p> |
|
|
* |
|
| 206 |
* @deprecated |
* @deprecated |
| 207 |
* |
* |
| 208 |
*/ |
*/ |