Пример #1
0
 /**
  * Similar to showAllErrors but let's us exclude the error codes given
  * in the array exclude
  * @param $stack
  * @param $exclude array	Error codes to exclude
  * @param $print
  * @return unknown_type
  */
 function showAllErrorsExcept(&$stack, $exclude = array(), $print = true)
 {
     $msg = PhotoQErrorHandler::showErrorsByLevel($stack, 'info', 'updated fade', $exclude, false);
     $msg .= PhotoQErrorHandler::showErrorsByLevel($stack, 'error', 'error', $exclude, false);
     if ($print) {
         echo $msg;
     }
     return $msg;
 }