protected static function _getErrors() { $errors = self::$_errors; self::$_errors = array(); return $errors; }