Exemplo n.º 1
0
 /**
  * If debug mode is enabled and you want to make sure to skip error reporting
  * you can use this method to force us to skip error reporting and then later
  * turn it back on. We mainly use this when dealing with 3rd party libraries
  * since we did not develop the code we are not fully aware of the coding standards
  * applied.
  *
  * @static 
  * @param bool $bSkipError TRUE to skip error reporting and FALSE to turn error reporting back on.
  */
 public static function skip($bSkipError)
 {
     if ($bSkipError === true) {
         error_reporting(0);
     } else {
         error_reporting(PHPFOX_DEBUG ? E_ALL | E_STRICT : 0);
     }
     self::$_bSkipError = $bSkipError;
 }