Moodle  2.2.1
http://www.collinsharper.com
HTML_QuickForm_Error Class Reference
Inheritance diagram for HTML_QuickForm_Error:
Collaboration diagram for HTML_QuickForm_Error:

Public Member Functions

 HTML_QuickForm_Error ($code=QUICKFORM_ERROR, $mode=PEAR_ERROR_RETURN, $level=E_USER_NOTICE, $debuginfo=null)

Data Fields

 $error_message_prefix = 'QuickForm Error: '

Detailed Description

Definition at line 1959 of file QuickForm.php.


Member Function Documentation

HTML_QuickForm_Error ( code = QUICKFORM_ERROR,
mode = PEAR_ERROR_RETURN,
level = E_USER_NOTICE,
debuginfo = null 
)

Creates a quickform error object, extending the PEAR_Error class

Parameters:
int$codethe error code
int$modethe reaction to the error, either return, die or trigger/callback
int$levelintensity of the error (PHP error code)
mixed$debuginfoany information that can inform user as to nature of the error

Definition at line 1980 of file QuickForm.php.

Here is the call graph for this function:


Field Documentation

$error_message_prefix = 'QuickForm Error: '

Reimplemented from PEAR_Error.

Definition at line 1967 of file QuickForm.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations