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 |
* |
* |
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]); |