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

File: QuickForm.php

Source Location: /HTML_QuickForm-3.2.13/QuickForm.php

Classes:

HTML_QuickForm
Create, validate and process HTML forms
HTML_QuickForm_Error
Class for errors thrown by HTML_QuickForm package

Page Details:

Create, validate and process HTML forms

PHP versions 4 and 5

LICENSE: This source file is subject to version 3.01 of the PHP license that is available through the world-wide-web at the following URI: http://www.php.net/license/3_01.txt If you did not receive a copy of the PHP License and are unable to obtain it through the web, please send a note to license@php.net so we can mail you a copy immediately.

Includes:

require_once('PEAR.php') [line 29]
PEAR and PEAR_Error classes, for error handling
require_once('HTML/Common.php') [line 33]
Base class for all HTML classes

array $GLOBALS['HTML_QUICKFORM_ELEMENT_TYPES'] [line 41]

Element types known to HTML_QuickForm
Default value:   array(
            'group'         =>array('HTML/QuickForm/group.php','HTML_QuickForm_group'),'hidden'=>array('HTML/QuickForm/hidden.php','HTML_QuickForm_hidden'),'reset'=>array('HTML/QuickForm/reset.php','HTML_QuickForm_reset'),'checkbox'=>array('HTML/QuickForm/checkbox.php','HTML_QuickForm_checkbox'),'file'=>array('HTML/QuickForm/file.php','HTML_QuickForm_file'),'image'=>array('HTML/QuickForm/image.php','HTML_QuickForm_image'),'password'=>array('HTML/QuickForm/password.php','HTML_QuickForm_password'),'radio'=>array('HTML/QuickForm/radio.php','HTML_QuickForm_radio'),'button'=>array('HTML/QuickForm/button.php','HTML_QuickForm_button'),'submit'=>array('HTML/QuickForm/submit.php','HTML_QuickForm_submit'),'select'=>array('HTML/QuickForm/select.php','HTML_QuickForm_select'),'hiddenselect'=>array('HTML/QuickForm/hiddenselect.php','HTML_QuickForm_hiddenselect'),'text'=>array('HTML/QuickForm/text.php','HTML_QuickForm_text'),'textarea'=>array('HTML/QuickForm/textarea.php','HTML_QuickForm_textarea'),'link'=>array('HTML/QuickForm/link.php','HTML_QuickForm_link'),'advcheckbox'=>array('HTML/QuickForm/advcheckbox.php','HTML_QuickForm_advcheckbox'),'date'=>array('HTML/QuickForm/date.php','HTML_QuickForm_date'),'static'=>array('HTML/QuickForm/static.php','HTML_QuickForm_static'),'header'=>array('HTML/QuickForm/header.php','HTML_QuickForm_header'),'html'=>array('HTML/QuickForm/html.php','HTML_QuickForm_html'),'hierselect'=>array('HTML/QuickForm/hierselect.php','HTML_QuickForm_hierselect'),'autocomplete'=>array('HTML/QuickForm/autocomplete.php','HTML_QuickForm_autocomplete'),'xbutton'=>array('HTML/QuickForm/xbutton.php','HTML_QuickForm_xbutton'))


[ Top ]



array $GLOBALS['_HTML_QuickForm_registered_rules'] [line 74]

Validation rules known to HTML_QuickForm
Default value:   array(
    'required'      => array('html_quickform_rule_required', 'HTML/QuickForm/Rule/Required.php'),'maxlength'=>array('html_quickform_rule_range','HTML/QuickForm/Rule/Range.php'),'minlength'=>array('html_quickform_rule_range','HTML/QuickForm/Rule/Range.php'),'rangelength'=>array('html_quickform_rule_range','HTML/QuickForm/Rule/Range.php'),'email'=>array('html_quickform_rule_email','HTML/QuickForm/Rule/Email.php'),'regex'=>array('html_quickform_rule_regex','HTML/QuickForm/Rule/Regex.php'),'lettersonly'=>array('html_quickform_rule_regex','HTML/QuickForm/Rule/Regex.php'),'alphanumeric'=>array('html_quickform_rule_regex','HTML/QuickForm/Rule/Regex.php'),'numeric'=>array('html_quickform_rule_regex','HTML/QuickForm/Rule/Regex.php'),'nopunctuation'=>array('html_quickform_rule_regex','HTML/QuickForm/Rule/Regex.php'),'nonzero'=>array('html_quickform_rule_regex','HTML/QuickForm/Rule/Regex.php'),'callback'=>array('html_quickform_rule_callback','HTML/QuickForm/Rule/Callback.php'),'compare'=>array('html_quickform_rule_compare','HTML/QuickForm/Rule/Compare.php'))


[ Top ]



QUICKFORM_DEPRECATED [line 108]

QUICKFORM_DEPRECATED = -8
Error codes for HTML_QuickForm

Codes are mapped to textual messages by errorMessage() method, if you add a new code be sure to add a new message for it to errorMessage()


[ Top ]



QUICKFORM_ERROR [line 101]

QUICKFORM_ERROR = -1
Error codes for HTML_QuickForm

Codes are mapped to textual messages by errorMessage() method, if you add a new code be sure to add a new message for it to errorMessage()


[ Top ]



QUICKFORM_INVALID_DATASOURCE [line 109]

QUICKFORM_INVALID_DATASOURCE = -9
Error codes for HTML_QuickForm

Codes are mapped to textual messages by errorMessage() method, if you add a new code be sure to add a new message for it to errorMessage()


[ Top ]



QUICKFORM_INVALID_ELEMENT_NAME [line 106]

QUICKFORM_INVALID_ELEMENT_NAME = -6
Error codes for HTML_QuickForm

Codes are mapped to textual messages by errorMessage() method, if you add a new code be sure to add a new message for it to errorMessage()


[ Top ]



QUICKFORM_INVALID_FILTER [line 104]

QUICKFORM_INVALID_FILTER = -4
Error codes for HTML_QuickForm

Codes are mapped to textual messages by errorMessage() method, if you add a new code be sure to add a new message for it to errorMessage()


[ Top ]



QUICKFORM_INVALID_PROCESS [line 107]

QUICKFORM_INVALID_PROCESS = -7
Error codes for HTML_QuickForm

Codes are mapped to textual messages by errorMessage() method, if you add a new code be sure to add a new message for it to errorMessage()


[ Top ]



QUICKFORM_INVALID_RULE [line 102]

QUICKFORM_INVALID_RULE = -2
Error codes for HTML_QuickForm

Codes are mapped to textual messages by errorMessage() method, if you add a new code be sure to add a new message for it to errorMessage()


[ Top ]



QUICKFORM_NONEXIST_ELEMENT [line 103]

QUICKFORM_NONEXIST_ELEMENT = -3
Error codes for HTML_QuickForm

Codes are mapped to textual messages by errorMessage() method, if you add a new code be sure to add a new message for it to errorMessage()


[ Top ]



QUICKFORM_OK [line 100]

QUICKFORM_OK = 1
Error codes for HTML_QuickForm

Codes are mapped to textual messages by errorMessage() method, if you add a new code be sure to add a new message for it to errorMessage()


[ Top ]



QUICKFORM_UNREGISTERED_ELEMENT [line 105]

QUICKFORM_UNREGISTERED_ELEMENT = -5
Error codes for HTML_QuickForm

Codes are mapped to textual messages by errorMessage() method, if you add a new code be sure to add a new message for it to errorMessage()


[ Top ]



Documentation generated on Sat, 01 Oct 2011 09:00:15 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.