GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing api-reference.treefrogframework.org — TreeFrogFramework: TFormValidator Class Reference
Loading...
Searching...
No Matches
Classes |
Public Member Functions |
Protected Member Functions |
Protected Attributes |
List of all members
TFormValidator Class Reference
Detailed DescriptionThe TFormValidator class provides form validation for a map-table-based dictionary. Constructor & Destructor Documentation◆ TFormValidator() [1/2]
Constructor. ◆ TFormValidator() [2/2]
Copy constructor. ◆ ~TFormValidator()
Destructor. Member Function Documentation◆ containsRule()
Returns true if the rules contains an item with the key; otherwise returns false. ◆ dateFormat()
Returns the date format specified by the validation settings file. ◆ dateTimeFormat()
Returns the format of the date and time specified by the validation settings file. ◆ errorMessage()
Return a message of validation error with key. This function must be call after calling validate() function. ◆ errorMessages()
Return messages of validation error. This function must be call after calling validate() function. ◆ errorRule()
Returns a rule of validation errors with key. This function must be call after calling validate() function. ◆ hasValidationError()
Returns false if validation error is not set, otherwise true. ◆ isValidationError()
Returns true if an validation error is set for the key key, otherwise false. ◆ message()
Returns a message with key and rule in the validation rules. ◆ operator=()
Assignment operator. ◆ removeRule()
Removes the specified item with the given key and rule from the validation rules. ◆ setDateFormat()
Sets the date format to format for validation. ◆ setDateTimeFormat()
Sets the date and time format to format for validation. ◆ setPatternRule()
Sets the user-defined validaton rule for the key key and sets the error message of it to errorMessage. ◆ setRule() [1/7]
Sets the validation rule for the key key and sets the error message of it to errorMessage. If enable is true (by default), the rule is enabled. ◆ setRule() [2/7]
Sets the validation rule for the key key and sets the error message of it to errorMessage. ◆ setRule() [3/7]
Sets the validation rule for the key key and sets the error message of it to errorMessage. ◆ setRule() [4/7]
Sets the validation rule for the key key and sets the error message of it to errorMessage. ◆ setRule() [5/7]
Sets the validation rule for the key key and set the error message of it to errorMessage. ◆ setRule() [6/7]
Sets the validation rule for the key key and sets the error message of it to errorMessage. ◆ setRule() [7/7]
Sets the validation rule for the key key and sets the error message of it to errorMessage. ◆ setTimeFormat()
Sets the time format to format for validation. ◆ setValidationError()
Sets the message of custom validation error to errorMessage for the key key. ◆ timeFormat()
Returns the time format specified by the validation settings file. ◆ validate()
Validates the specified parameter map by the set rules. As default, TF::Required is set for all parameters. If not required, set the rule to false like this: setRule("xxx", Tf::Required, false); ◆ validationErrorKeys()
Returns a list of all keys of validation errors. This function must be call after calling validate() function. ◆ value()
Returns the value associated with the key key. Member Data Documentation◆ errors
◆ rules
The documentation for this class was generated from the following files:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||