Ejemplo n.º 1
0
 function PageFactory_Error($code = PAGE_FACTORY_ERROR, $mode = PEAR_ERROR_RETURN, $level = E_USER_NOTICE, $debuginfo = null)
 {
     if (is_int($code)) {
         $this->PEAR_Error('PageFactory Error: ' . PageFactory::errorMessage($code), $code, $mode, $level, $debuginfo);
     } else {
         $this->PEAR_Error("PageFactory Error: {$code}", PAGE_FACTORY_ERROR, $mode, $level, $debuginfo);
     }
 }