| 24 |
* $Id$ |
* $Id$ |
| 25 |
* |
* |
| 26 |
* $Log$ |
* $Log$ |
| 27 |
|
* Revision 1.17 2003/03/11 02:34:55 joko |
| 28 |
|
* + fixed metadata for phpDocumentor |
| 29 |
|
* |
| 30 |
|
* Revision 1.16 2003/03/11 02:28:12 joko |
| 31 |
|
* + fixed metadata for phpDocumentor |
| 32 |
|
* |
| 33 |
|
* Revision 1.15 2003/03/11 02:23:03 joko |
| 34 |
|
* + fixed metadata for phpDocumentor |
| 35 |
|
* |
| 36 |
* Revision 1.14 2003/03/11 02:14:24 joko |
* Revision 1.14 2003/03/11 02:14:24 joko |
| 37 |
* + fixed metadata for phpDocumentor |
* + fixed metadata for phpDocumentor |
| 38 |
* |
* |
| 116 |
* |
* |
| 117 |
* Pass an array holding "locator metadata" to the constructor. |
* Pass an array holding "locator metadata" to the constructor. |
| 118 |
* This module takes care of the rest. |
* This module takes care of the rest. |
|
* |
|
| 119 |
* Pass an array to the constructor: (e.g.) |
* Pass an array to the constructor: (e.g.) |
| 120 |
* |
* |
| 121 |
* <p> |
* <pre> |
| 122 |
* 1. for doing rpc-calls.... |
* 1. for doing rpc-calls.... |
| 123 |
* <code> |
* <code> |
| 124 |
* $locator = array( |
* $locator = array( |
| 138 |
* $source = ne w DataSource::Generic($locator); |
* $source = ne w DataSource::Generic($locator); |
| 139 |
* $this->set_data_source( &$source ); |
* $this->set_data_source( &$source ); |
| 140 |
* </code> |
* </code> |
| 141 |
* </p> |
* </pre> |
| 142 |
* |
* |
| 143 |
* |
* |
| 144 |
* |
* |
| 157 |
class DataSource_Locator { |
class DataSource_Locator { |
| 158 |
|
|
| 159 |
/** |
/** |
| 160 |
* This var holds the locator metadata hash |
* This var holds the locator metadata hash, |
| 161 |
|
* |
| 162 |
* which is built from some predefined rules |
* which is built from some predefined rules |
| 163 |
* using metadata from $_options and some |
* using metadata from $_options and some |
| 164 |
* other presets. |
* other presets. |
| 165 |
* |
* |
| 166 |
* @see build, which acts as a dispatcher |
* @see build, which acts as a dispatcher |
| 167 |
* depending on $_options[datasource]. |
* depending on $_options[datasource]. (main dispatching level) |
| 168 |
* (main dispatching level) |
* |
| 169 |
|
* <p> |
| 170 |
* |
* |
|
* <pre> |
|
| 171 |
* The structure of a full blown locator looks like this: |
* The structure of a full blown locator looks like this: |
| 172 |
* |
* |
| 173 |
* <code> |
* <code> |
| 198 |
* ) |
* ) |
| 199 |
* ); |
* ); |
| 200 |
* </code> |
* </code> |
| 201 |
* </pre> |
* |
| 202 |
|
* </p> |
| 203 |
* |
* |
| 204 |
* @deprecated |
* @deprecated |
| 205 |
* |
* |