Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
FormValidatorListbuilder Class Reference
Inheritance diagram for FormValidatorListbuilder:

Public Member Functions

 FormValidatorListbuilder (&$form, $field, $message)
 isValid ()
- Public Member Functions inherited from FormValidator
 FormValidator (&$form, $field, $type, $message, $validator=null)
 getField ()
 getFieldValue ()
getForm ()
 getMessage ()
 getType ()
getValidator ()
 isEmptyAndOptional ()
 isValid ()

Additional Inherited Members

- Public Attributes inherited from FormValidator

Detailed Description

Form validation check that checks if the JSON value submitted unpacks into something that contains at least one valid user id.

Definition at line 19 of file

Member Function Documentation

FormValidatorListbuilder::FormValidatorListbuilder ( $form,


$formForm the associated form
$fieldstring the name of the associated field
$messagestring the error message for validation failures (i18n key)

Definition at line 31 of file

FormValidatorListbuilder::isValid ( )

Check the number of lisbuilder rows. If it's equal to 0, return false.

See Also

Definition at line 44 of file

References FormValidator\getFieldValue(), and ListbuilderHandler\unpack().

The documentation for this class was generated from the following file: