1 --- ./Select.php.org Thu Feb 26 15:15:04 2004
2 +++ ./Select.php Mon Aug 9 14:57:26 2004
4 function loadArray($arr, $values=null)
7 - return new PEAR_ERROR('First argument to HTML_Select::loadArray is not a valid array');
8 + return new PEAR_Error('First argument to HTML_Select::loadArray is not a valid array');
11 $this->setSelectedValues($values);
13 function loadValueArray($arr, $values = null)
15 if (!is_array($arr)) {
16 - return new PEAR_ERROR("First argument to HTML_Select::loadArray is not a valid array");
17 + return new PEAR_Error("First argument to HTML_Select::loadArray is not a valid array");
20 $this->setSelectedValues($values);
23 if (!is_object($result) || (strtolower(get_class($result)) != "db_result" &&
24 is_subclass_of($result, "db_result"))) {
25 - return new PEAR_ERROR("First argument to HTML_Select::loadDbResult is not a valid DB_result");
26 + return new PEAR_Error("First argument to HTML_Select::loadDbResult is not a valid DB_result");
29 $this->setSelectedValues($values);