PEAR
[ class tree: PEAR ] [ index: PEAR ] [ all elements ]

Class: HTML_QuickForm_Error

Source Location: /pear/HTML/QuickForm.php

Class Overview

PEAR_Error
   |
   --HTML_QuickForm_Error

Standard PEAR error class for PHP 4


Author(s):

Version:

  • Release: 1.4.11

Copyright:

  • 1997-2006 The PHP Group

Variables

Methods


Inherited Variables

Inherited Methods

Class: PEAR_Error

PEAR_Error::PEAR_Error()
PEAR_Error constructor
PEAR_Error::addUserInfo()
PEAR_Error::getBacktrace()
Get the call backtrace from where the error was generated.
PEAR_Error::getCallback()
Get the callback function/method from an error object.
PEAR_Error::getCode()
Get error code from an error object
PEAR_Error::getDebugInfo()
Get additional debug information supplied by the application.
PEAR_Error::getMessage()
Get the error message from an error object.
PEAR_Error::getMode()
Get the error mode from an error object.
PEAR_Error::getType()
Get the name of this error/exception.
PEAR_Error::getUserInfo()
Get additional user-supplied information.
PEAR_Error::toString()
Make a string representation of this object.

Class Details

[line 1976]
Standard PEAR error class for PHP 4

This class is supserseded by PEAR_Exception in PHP 5




Tags:

author:  Gregory Beaver <cellog@php.net>
author:  Stig Bakken <ssb@php.net>
author:  Tomas V.V. Cox <cox@idecnet.com>
version:  Release: 1.4.11
copyright:  1997-2006 The PHP Group


[ Top ]


Class Variables

$error_message_prefix =  'QuickForm Error: '

[line 1984]

Prefix for all error messages


Type:   string
Overrides:   Array


[ Top ]



Class Methods


constructor HTML_QuickForm_Error [line 1997]

HTML_QuickForm_Error HTML_QuickForm_Error( [int $code = QUICKFORM_ERROR], [int $mode = PEAR_ERROR_RETURN], [int $level = E_USER_NOTICE], [mixed $debuginfo = null])

Creates a quickform error object, extending the PEAR_Error class



Parameters:

int   $code   the error code
int   $mode   the reaction to the error, either return, die or trigger/callback
int   $level   intensity of the error (PHP error code)
mixed   $debuginfo   any information that can inform user as to nature of the error

[ Top ]


Documentation generated on Sun, 08 Jan 2012 17:51:58 +0100 by phpDocumentor 1.4.3