示例#1
0
 /**
  * Returns/sets an error when the instance couldn't initialize properly
  *
  * @param  object PEAR_Error object when setting an error
  * @return mixed FALSE or PEAR_Error object
  * @access protected
  */
 static function &isError($error = null)
 {
     if (!is_null($error)) {
         self::$_error = $error;
     }
     return self::$_error;
 }