Diff for Metafox/lib/PEAR.php between version 1.4 and 1.5
| version 1.4, 2011/06/17 13:56:38 |
version 1.5, 2014/10/15 13:00:16 |
|
|
| * @access public |
* @access public |
| * @return bool true if parameter is an error |
* @return bool true if parameter is an error |
| */ |
*/ |
| function isError($data, $code = null) |
static function isError($data, $code = null) |
| { |
{ |
| if (!is_a($data, 'PEAR_Error')) { |
if (!is_a($data, 'PEAR_Error')) { |
| return false; |
return false; |
|
|
| * |
* |
| * @since PHP 4.0.5 |
* @since PHP 4.0.5 |
| */ |
*/ |
| function setErrorHandling($mode = null, $options = null) |
static function setErrorHandling($mode = null, $options = null) |
| { |
{ |
| if (isset($this) && is_a($this, 'PEAR')) { |
if (isset($this) && is_a($this, 'PEAR')) { |
| $setmode = &$this->_default_error_mode; |
$setmode = &$this->_default_error_mode; |
Platon Group <platon@platon.org> http://platon.org/
|
|