StripDummyHtmlContentFromOtherwiseEmptyFieldValidator Class Reference

Protected Member Functions

 validateAttribute ($object, $attribute)

Detailed Description

Definition at line 37 of file StripDummyHtmlContentFromOtherwiseEmptyFieldValidator.php.


Member Function Documentation

validateAttribute ( object,
attribute 
) [protected]

Validates the attribute of the model. Removes if attribute only contains a html skeleton.

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

Definition at line 46 of file StripDummyHtmlContentFromOtherwiseEmptyFieldValidator.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Wed Oct 18 07:10:30 2017