Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.
 All Data Structures Functions Variables Pages
Data Fields | Protected Member Functions
ExistingMarketingListOrNewMarketingListNameRequiredValidator Class Reference
Inheritance diagram for ExistingMarketingListOrNewMarketingListNameRequiredValidator:

Data Fields

 $marketingListPropertyName = 'marketingList'
 
 $newMarketingListNamePropertyName = 'newMarketingListName'
 

Protected Member Functions

 validateAttribute ($object, $attribute)
 
 resolveErrorMessageWhenNothingSelected ($object)
 
 resolveErrorMessageWhenBothSelected ($object)
 

Detailed Description

Definition at line 37 of file ExistingMarketingListOrNewMarketingListNameRequiredValidator.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$objectthe model being validated
string$attributethe attribute being validated
Returns
boolean true if validation passes

Definition at line 50 of file ExistingMarketingListOrNewMarketingListNameRequiredValidator.php.

resolveErrorMessageWhenNothingSelected (   $object)
protected

Error message when none of options selected

Parameters
$object
Returns
string

Definition at line 95 of file ExistingMarketingListOrNewMarketingListNameRequiredValidator.php.

resolveErrorMessageWhenBothSelected (   $object)
protected

Error message wehn both options selected

Parameters
$object
Returns
string

Definition at line 105 of file ExistingMarketingListOrNewMarketingListNameRequiredValidator.php.


The documentation for this class was generated from the following file:
Generated on Tue Jul 7 2020 07:10:47
Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.