24 |
* $Id$ |
* $Id$ |
25 |
* |
* |
26 |
* $Log$ |
* $Log$ |
27 |
|
* Revision 1.25 2003/03/11 16:28:25 joko |
28 |
|
* + fixed metadata for phpDocumentor |
29 |
|
* |
30 |
* Revision 1.24 2003/03/11 04:49:25 joko |
* Revision 1.24 2003/03/11 04:49:25 joko |
31 |
* + fixed metadata for phpDocumentor |
* + fixed metadata for phpDocumentor |
32 |
* |
* |
143 |
* Pass an array to the constructor: (e.g.) |
* Pass an array to the constructor: (e.g.) |
144 |
* |
* |
145 |
* <code> |
* <code> |
146 |
|
* <?php |
147 |
* // 1. for doing rpc-calls.... |
* // 1. for doing rpc-calls.... |
148 |
* $locator = array( |
* $locator = array( |
149 |
* datasource_type =>> 'rpc', |
* datasource_type =>> 'rpc', |
152 |
* ); |
* ); |
153 |
* $source = ne w DataSource::Generic($locator); |
* $source = ne w DataSource::Generic($locator); |
154 |
* $this->set_data_source( &$source ); |
* $this->set_data_source( &$source ); |
155 |
|
* ?> |
156 |
* </code> |
* </code> |
157 |
* <code> |
* <code> |
158 |
|
* <?php |
159 |
* // 2. [proposal] for common/oldschool datahandles.... |
* // 2. [proposal] for common/oldschool datahandles.... |
160 |
* $locator = array( |
* $locator = array( |
161 |
* dsn => 'known dsn markup', |
* dsn => 'known dsn markup', |
162 |
* ); |
* ); |
163 |
* $source = ne w DataSource::Generic($locator); |
* $source = ne w DataSource::Generic($locator); |
164 |
* $this->set_data_source( &$source ); |
* $this->set_data_source( &$source ); |
165 |
|
* ?> |
166 |
* </code> |
* </code> |
167 |
* |
* |
168 |
* |
* |