array loadTemplate(
&$form, [array
$options = array()], array
$form
)
|
|
Prepare template for validation.
Parameters:
array |
$form: |
the form values |
array |
$options: |
(optional) validation options 'level' => HIGH or MEDIUM or LOW (defaults to HIGH) 'key' => (string) unique identifier for this validation request (for MEDIUM) |
|
&$form: |
|
API Tags:
Return: | GalleryStatus a status code string the path to a template file to include or null string localization domain for the template file or null |
Redefined in descendants as:
array performValidation(
&$form, [array
$options = array()], array
$form
)
|
|
Perform validation for this request.
Parameters:
array |
$form: |
the form values |
array |
$options: |
(optional) validation options 'level' => HIGH or MEDIUM or LOW (defaults to HIGH) 'key' => (string) unique identifier for this validation request (for MEDIUM) 'pass' => (boolean) false to increment failure count (for MEDIUM/LOW) |
|
&$form: |
|
API Tags:
Return: | GalleryStatus a status code array of error keys boolean true/false should we continue processing this request? |
Redefined in descendants as: