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

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

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

revision 1.7 by joko, Tue Mar 11 01:43:00 2003 UTC revision 1.8 by jonen, Thu Mar 20 07:22:14 2003 UTC
# Line 15  Line 15 
15   * $Id$   * $Id$
16   *   *
17   * $Log$   * $Log$
18     * Revision 1.8  2003/03/20 07:22:14  jonen
19     * + modified case 'object' to 'objects'
20     *   (cause its loads all *objects* of a given classname)
21     *
22   * Revision 1.7  2003/03/11 01:43:00  joko   * Revision 1.7  2003/03/11 01:43:00  joko
23   * + fixed metadata for phpDocumentor   * + fixed metadata for phpDocumentor
24   *   *
# Line 668  class DataSource_Generic extends DesignP Line 672  class DataSource_Generic extends DesignP
672              //$this->_locator->set_option('metadata.command', $command);              //$this->_locator->set_option('metadata.command', $command);
673              $args = array();              $args = array();
674              switch ($this->_query[vartype]) {              switch ($this->_query[vartype]) {
675                case 'object':                case 'objects':
676                  if (!$this->_query[classname]) {                  if (!$this->_query[classname]) {
677                    $msg = "_query[vartype] == 'object' requires _query[classname]";                    $msg = "_query[vartype] == 'objects' requires _query[classname]";
678                    user_error("GenericDataSource::query_data() - failed: " . $msg);                    user_error("GenericDataSource::query_data() - failed: " . $msg);
679                  }                  }
680                  array_push($args, $this->_query[classname]);                  array_push($args, $this->_query[classname]);

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

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