All Data Structures Functions Variables Pages
Data Fields | Protected Member Functions
AtLeastOneContentAreaRequiredValidator Class Reference
Inheritance diagram for AtLeastOneContentAreaRequiredValidator:

Data Fields

 $textContentPropertyName = 'textContent'
 $htmlContentPropertyName = 'htmlContent'

Protected Member Functions

 validateAttribute ($object, $attribute)
 resolveErrorMessage ($object)

Detailed Description

Definition at line 37 of file AtLeastOneContentAreaRequiredValidator.php.

Member Function Documentation

validateAttribute (   $object,

Validates the attribute of the model. If there is any error, the error message is added to the model.

RedBeanModel$objectthe model being validated
string$attributethe attribute being validated
boolean true if validation passes

Definition at line 50 of file AtLeastOneContentAreaRequiredValidator.php.

The documentation for this class was generated from the following file:
Generated on Sat May 30 2020 07:10:39