24 |
* $Id$ |
* $Id$ |
25 |
* |
* |
26 |
* $Log$ |
* $Log$ |
27 |
|
* Revision 1.21 2003/03/11 03:23:36 joko |
28 |
|
* + fixed metadata for phpDocumentor |
29 |
|
* |
30 |
* Revision 1.20 2003/03/11 03:17:37 joko |
* Revision 1.20 2003/03/11 03:17:37 joko |
31 |
* + fixed metadata for phpDocumentor |
* + fixed metadata for phpDocumentor |
32 |
* |
* |
179 |
* depending on $_options[datasource]. <br> |
* depending on $_options[datasource]. <br> |
180 |
* (main dispatching level) |
* (main dispatching level) |
181 |
* |
* |
182 |
|
* <pre> |
183 |
* The structure of a full blown locator looks like this: |
* The structure of a full blown locator looks like this: |
184 |
* |
* <code> |
|
* <code><pre> |
|
185 |
* $locator = array( |
* $locator = array( |
186 |
* type => '<your type specifying the datasource-type>', |
* type => '<your type specifying the datasource-type>', |
187 |
* metadata => array( |
* metadata => array( |
189 |
* ), |
* ), |
190 |
* [dsn => '<your dsn markup>'], |
* [dsn => '<your dsn markup>'], |
191 |
* ); |
* ); |
192 |
* </pre></code> |
* </code> |
193 |
|
* </pre> |
194 |
* |
* |
195 |
* Example 1 - data is inside a rdbms, using a dsn to connect to it: |
* Example 1 - data is inside a rdbms, using a dsn to connect to it: |
196 |
* <pre><code> |
* <code> |
197 |
|
* <pre> |
198 |
* $locator = array( |
* $locator = array( |
199 |
* dsn => 'mysql://username:password@localhost/database', |
* dsn => 'mysql://username:password@localhost/database', |
200 |
* ); |
* ); |
201 |
* </code></pre> |
* </pre> |
202 |
|
* </code> |
203 |
* |
* |
204 |
* Example 2 - data is inside an odbms, reachable by doing remote procedure calls (rpc): |
* Example 2 - data is inside an odbms, reachable by doing remote procedure calls (rpc): |
205 |
* <code> |
* <code> |