function warning($message, $area = MSG_AREA_CONTEXT) { FASE::warn($area, $message); }
public static function error_handler($level, $str, $file, $line) { switch ($level) { case E_USER_NOTICE: FASE::notify(MSG_AREA_CONTEXT, $str, "{$file}:{$line}"); break; case E_USER_ERROR: FASE::alert(MSG_AREA_CONTEXT, $str, "{$file}:{$line}"); break; case E_USER_WARNING: default: FASE::warn(MSG_AREA_CONTEXT, $str, "{$file}:{$line}"); break; } }