Element index for package validation
[ a ]
[ f ]
[ g ]
[ h ]
[ m ]
[ p ]
[ s ]
top
f
- FormValidator
- in file HtmlForm.FormValidator.class.php, class FormValidator
A FormValidator defines a set of rules a widget-value has to fulfill before being able to be called valid.
top
g
- get
- in file HtmlForm.FormValidator.class.php, method FormValidator::get()
Factory method for FormValidator, returns new instance.
top
top
m
- MESSAGECLASS
- in file HtmlForm.FormValidator.class.php, class constant FormValidator::MESSAGECLASS
css-class for individual validation-error-messages
top
p
- printJavascriptValidationCode
- in file HtmlForm.FormValidator.class.php, method FormValidator::printJavascriptValidationCode()
Compiles and returns the JS-validation-code for this validator, to be printed beneath the validated form elements in the source later on. This code contains a sequence of single tests, that will be executed on every update of the connected elements, which validate the value(s) one by one.
- printMessageQueue
- in file HtmlForm.FormValidator.class.php, method FormValidator::printMessageQueue()
Return all aggregated error messages of the validator.
- process
- in file HtmlForm.FormValidator.class.php, method FormValidator::process()
Starts the validation if the given values accourding to all set rules of the validator.
top
s
- setAutoErrorMessagesAsCustom
- in file HtmlForm.FormValidator.class.php, method FormValidator::setAutoErrorMessagesAsCustom()
Tells the validator to treat standard messages as custom in the context of this validator.
- setCharacterClass
- in file HtmlForm.FormValidator.class.php, method FormValidator::setCharacterClass()
Adds a rule to the validator's ruleset - The widget's value must only consist of characters defined in a given regex-character-class.
- setCreditcard
- in file HtmlForm.FormValidator.class.php, method FormValidator::setCreditcard()
Adds a rule to the validator's ruleset - The widget's value has have the form of a valid creditcard-number.
- setCustomCase
- in file HtmlForm.FormValidator.class.php, method FormValidator::setCustomCase()
Adds a rule to the validator's ruleset - Includes a predefined validation-result into the ruleset.
- setDataName
- in file HtmlForm.FormValidator.class.php, method FormValidator::setDataName()
Tells the validator the name of the element's data in the submit-resultset.
- setDate
- in file HtmlForm.FormValidator.class.php, method FormValidator::setDate()
Adds a rule to the validator's ruleset - The widget's value must be a standard american date.
- setDateDE
- in file HtmlForm.FormValidator.class.php, method FormValidator::setDateDE()
Adds a rule to the validator's ruleset - The widget's value must be a standard german date.
- setDateISO
- in file HtmlForm.FormValidator.class.php, method FormValidator::setDateISO()
Adds a rule to the validator's ruleset - The widget's value must be a standard iso-date.
- setDateTime
- in file HtmlForm.FormValidator.class.php, method FormValidator::setDateTime()
Adds a rule to the validator's ruleset - The widget's value must be standard american datetime.
- setDateTimeDE
- in file HtmlForm.FormValidator.class.php, method FormValidator::setDateTimeDE()
Adds a rule to the validator's ruleset - The widget's value must be a standard german datetime.
- setDateTimeISO
- in file HtmlForm.FormValidator.class.php, method FormValidator::setDateTimeISO()
Adds a rule to the validator's ruleset - The widget's value must be standard iso-datetime.
- setDigits
- in file HtmlForm.FormValidator.class.php, method FormValidator::setDigits()
Adds a rule to the validator's ruleset - The number-representation of the widget's value must be only digits without any other characters.
- setEmail
- in file HtmlForm.FormValidator.class.php, method FormValidator::setEmail()
Adds a rule to the validator's ruleset - The widget's value must be a valid eMail-address.
- setErrorMessage
- in file HtmlForm.FormValidator.class.php, method FormValidator::setErrorMessage()
Sets a custom error message for the validator, overwriting all standard messages from the dictionaries.
- setFieldName
- in file HtmlForm.FormValidator.class.php, method FormValidator::setFieldName()
Tells the validator the name of the element in validates.
- setMax
- in file HtmlForm.FormValidator.class.php, method FormValidator::setMax()
Adds a rule to the validator's ruleset - The number-representation of the widget's value can only have a maximum numeric value.
- setMaxLength
- in file HtmlForm.FormValidator.class.php, method FormValidator::setMaxLength()
Adds a rule to the validator's ruleset - The string-representation of the widget's value may only have a certain length.
- setMessageLanguage
- in file HtmlForm.FormValidator.class.php, method FormValidator::setMessageLanguage()
Sets the language for all validation-error-messages take from message dictionaries.
- setMin
- in file HtmlForm.FormValidator.class.php, method FormValidator::setMin()
Adds a rule to the validator's ruleset - The number-representation of the widget's value must have a minimum numeric value.
- setMinLength
- in file HtmlForm.FormValidator.class.php, method FormValidator::setMinLength()
Adds a rule to the validator's ruleset - The string-representation of the widget's value needs to have a certain length.
- setNotEmpty
- in file HtmlForm.FormValidator.class.php, method FormValidator::setNotEmpty()
Adds a rule to the validator's ruleset - The widget needs to have a non-empty value.
- setNumber
- in file HtmlForm.FormValidator.class.php, method FormValidator::setNumber()
Adds a rule to the validator's ruleset - The widget's value must be a standard english decimal number.
- setNumberDE
- in file HtmlForm.FormValidator.class.php, method FormValidator::setNumberDE()
Adds a rule to the validator's ruleset - The widget's value must be a standard german decimal number.
- setOptional
- in file HtmlForm.FormValidator.class.php, method FormValidator::setOptional()
Adds a rule to the validator's ruleset - The widget's value becomes optional, either its not set at all, or it get validated by all other present rules.
- setRange
- in file HtmlForm.FormValidator.class.php, method FormValidator::setRange()
Adds a rule to the validator's ruleset - The number-representation of the widget's value must have a minimum and can only be of a maximum numeric value.
- setRangeLength
- in file HtmlForm.FormValidator.class.php, method FormValidator::setRangeLength()
Adds a rule to the validator's ruleset - The string-representation of the widget's value must have a minimum length and must not exceed a maximum length.
- setRequired
- in file HtmlForm.FormValidator.class.php, method FormValidator::setRequired()
Adds a rule to the validator's ruleset - The widget needs to have a value.
- setTime
- in file HtmlForm.FormValidator.class.php, method FormValidator::setTime()
Adds a rule to the validator's ruleset - The widget's value must be standard american time.
- setTimeDE
- in file HtmlForm.FormValidator.class.php, method FormValidator::setTimeDE()
Adds a rule to the validator's ruleset - The widget's value must be a standard german time.
- setTimeISO
- in file HtmlForm.FormValidator.class.php, method FormValidator::setTimeISO()
Adds a rule to the validator's ruleset - The widget's value must be standard iso-time.
- setUrl
- in file HtmlForm.FormValidator.class.php, method FormValidator::setUrl()
Adds a rule to the validator's ruleset - The widget's value must be a valid url.
- setUtf8Safety
- in file HtmlForm.FormValidator.class.php, method FormValidator::setUtf8Safety()
Tells the validator to treat all validated values as utf-8-encoded or vice versa.
- setValue
- in file HtmlForm.FormValidator.class.php, method FormValidator::setValue()
Set the value the validator should validate.
- setValues
- in file HtmlForm.FormValidator.class.php, method FormValidator::setValues()
Set the values the validator should validate.
top
|
|