1 --- ./pear/HTML/Select.php.org Fri Jul 12 19:39:28 2002
2 +++ ./pear/HTML/Select.php Fri Jul 12 19:39:20 2002
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) || (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);