/** * Reset the error messages. We do this automatically at the end of the * entire routine to display a page, however if you need to reset it earlier * it can be done with this method. * * @static * */ public static function reset() { self::$aErrors = array(); }