24 |
* $Id$ |
* $Id$ |
25 |
* |
* |
26 |
* $Log$ |
* $Log$ |
27 |
|
* Revision 1.26 2003/03/11 16:41:47 joko |
28 |
|
* + fixed metadata for phpDocumentor |
29 |
|
* |
30 |
* Revision 1.25 2003/03/11 16:28:25 joko |
* Revision 1.25 2003/03/11 16:28:25 joko |
31 |
* + fixed metadata for phpDocumentor |
* + fixed metadata for phpDocumentor |
32 |
* |
* |
146 |
* Pass an array to the constructor: (e.g.) |
* Pass an array to the constructor: (e.g.) |
147 |
* |
* |
148 |
* <code> |
* <code> |
|
* <?php |
|
149 |
* // 1. for doing rpc-calls.... |
* // 1. for doing rpc-calls.... |
150 |
* $locator = array( |
* $locator = array( |
151 |
* datasource_type =>> 'rpc', |
* datasource_type =\> 'rpc', |
152 |
* [adapter_type => 'phpHtmlLib',] |
* [adapter_type => 'phpHtmlLib',] |
153 |
* metadata => array( Host => 'localhost', Port => '8765' ), |
* metadata => array( Host => 'localhost', Port => '8765' ), |
154 |
* ); |
* ); |
155 |
* $source = ne w DataSource::Generic($locator); |
* $source = ne w DataSource::Generic($locator); |
156 |
* $this->set_data_source( &$source ); |
* $this->set_data_source( &$source ); |
|
* ?> |
|
157 |
* </code> |
* </code> |
158 |
* <code> |
* <samp> |
|
* <?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 |
* ?> |
* </samp> |
|
* </code> |
|
166 |
* |
* |
167 |
* |
* |
168 |
* |
* |