Class: FormUtil
Source Location: /pnobjlib/FormUtil.class.php
Class OverviewFormUtil |
Methods |
Inherited Variables
Inherited Methods
Class Details
[line 20]
FormUtil
[ Top ]
Class Methods
method cleanArray [line 124]
|
Clean an array acquired from input. This method is safe to use for recursive arrays and cleans the array in place as well as returning it.
Tags:
Parameters:
[ Top ]
method cleanValue [line 156]
|
Clean an individual data element in place; cleans the array in place as well as returning it.
Tags:
Parameters:
[ Top ]
method clearValidationErrors [line 243]
|
Clear the validation error array
Parameters:
[ Top ]
method clearValidationFailedObjects [line 264]
|
Clear the objects which failed validation
Parameters:
[ Top ]
method getFailedValidationObjects [line 302]
|
Return the objects which failed validation
Tags:
Parameters:
[ Top ]
method getFieldMarker [line 396]
|
Get the appropriate field marker
Tags:
Parameters:
[ Top ]
method getPassedValue [line 35]
|
Return the requested key from input in a safe way. This function is safe to use for recursive arrays and either returns a non-empty string or the (optional) default.
This method is based on pnVarCleanFromInput but array-safe.
Tags:
Parameters:
[ Top ]
method getRequiredFieldMarker [line 226]
|
Get the required field marker (or nothing) for the specified field
Tags:
Parameters:
[ Top ]
method getValidationError [line 371]
|
Get the validation error for the specified field
Tags:
Parameters:
[ Top ]
method getValidationErrors [line 283]
method getValidationFieldMarker [line 353]
|
Get the required field marker (or nothing) for the specified field
Tags:
Parameters:
[ Top ]
method hasValidationErrors [line 330]
|
Return a boolean indicating whether or not the specified field failed validation
Tags:
Parameters:
[ Top ]
method isRequiredField [line 198]
|
Return a boolean indicating whether the specified field is required
Tags:
Parameters:
[ Top ]
method newPNForm [line 415]
|
Return a newly created pnFormRender instance with the given name
Tags:
Parameters:
[ Top ]
