/** * Replacement functions for PEAR's raiseError function. Prevents * strict php 5 errors */ public static function raiseError($message = null, $code = null, $mode = null, $options = null, $userinfo = null, $error_class = null, $skipmsg = false) { $pear = PHPWS_Error::getPear(); return $pear->raiseError($message, $code, $mode, $options, $userinfo, $error_class, $skipmsg); }