/[cvs]/nfo/php/libs/org.netfrag.glib/DataSource/Locator.php
ViewVC logotype

Diff of /nfo/php/libs/org.netfrag.glib/DataSource/Locator.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.20 by joko, Tue Mar 11 03:17:37 2003 UTC revision 1.21 by joko, Tue Mar 11 03:23:36 2003 UTC
# Line 24  Line 24 
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   *   *
# Line 176  class DataSource_Locator { Line 179  class DataSource_Locator {
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(
# Line 186  class DataSource_Locator { Line 189  class DataSource_Locator {
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>

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed