Lines Matching refs:mode

297      * @param int $mode
329 function setErrorHandling($mode = null, $options = null) argument
339 switch ($mode) {
346 $setmode = $mode;
351 $setmode = $mode;
492 * @param int $mode One of PEAR_ERROR_RETURN, PEAR_ERROR_PRINT,
520 $mode = null, argument
539 $mode = PEAR_ERROR_RETURN;
543 if ($mode === null) {
546 $mode = $this->_default_error_mode;
550 $mode = $GLOBALS['_PEAR_default_error_mode'];
563 $a = &new $ec($code, $mode, $options, $userinfo);
566 $a = &new $ec($message, $code, $mode, $options, $userinfo);
595 function staticPushErrorHandling($mode, $options = null) argument
601 switch ($mode) {
608 $def_mode = $mode;
613 $def_mode = $mode;
626 $stack[] = array($mode, $options);
636 list($mode, $options) = $stack[sizeof($stack) - 1];
638 switch ($mode) {
645 $setmode = $mode;
650 $setmode = $mode;
673 * @param mixed $mode (same as setErrorHandling)
680 function pushErrorHandling($mode, $options = null) argument
693 $this->setErrorHandling($mode, $options);
695 PEAR::setErrorHandling($mode, $options);
697 $stack[] = array($mode, $options);
715 list($mode, $options) = $stack[sizeof($stack) - 1];
718 $this->setErrorHandling($mode, $options);
720 PEAR::setErrorHandling($mode, $options);
821 var $mode = PEAR_ERROR_RETURN; variable in PEAR_Error
838 * @param int $mode (optional) error mode, one of: PEAR_ERROR_RETURN,
852 $mode = null, $options = null, $userinfo = null) argument
854 if ($mode === null) {
855 $mode = PEAR_ERROR_RETURN;
859 $this->mode = $mode;
866 if ($mode & PEAR_ERROR_CALLBACK) {
876 if ($this->mode & PEAR_ERROR_PRINT) {
884 if ($this->mode & PEAR_ERROR_TRIGGER) {
887 if ($this->mode & PEAR_ERROR_DIE) {
899 if ($this->mode & PEAR_ERROR_CALLBACK) {
904 if ($this->mode & PEAR_ERROR_EXCEPTION) {
920 return $this->mode;
1056 if ($this->mode & PEAR_ERROR_CALLBACK) {
1071 if ($this->mode & PEAR_ERROR_PRINT) {
1074 if ($this->mode & PEAR_ERROR_TRIGGER) {
1077 if ($this->mode & PEAR_ERROR_DIE) {
1080 if ($this->mode & PEAR_ERROR_RETURN) {