AtLeastOneRetargetingOptionRequiredValidator Class Reference

Data Fields

 $firstOption = 'retargetOpenedEmailRecipients'
 $secondOption = 'retargetClickedEmailRecipients'
 $thirdOption = 'retargetNotViewedEmailRecipients'
 $forthOption = 'retargetNotClickedEmailRecipients'

Protected Member Functions

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

Detailed Description

Definition at line 37 of file AtLeastOneRetargetingOptionRequiredValidator.php.


Member Function Documentation

validateAttribute ( object,
attribute 
) [protected]

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

Parameters:
RedBeanModel $object the model being validated
string $attribute the attribute being validated
Returns:
boolean true if validation passes

Definition at line 54 of file AtLeastOneRetargetingOptionRequiredValidator.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Tue Jul 23 07:10:55 2019