Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

StringValidatorHelper Class Reference

Static Public Member Functions

static getMaxLengthByModelAndAttributeName (RedBeanModel $model, $attributeName)
static getMinLengthByModelAndAttributeName (RedBeanModel $model, $attributeName)

Detailed Description

Helper class for working with string attributes and getting information about the attribute rules.

Definition at line 40 of file StringValidatorHelper.php.


Member Function Documentation

static getMaxLengthByModelAndAttributeName ( RedBeanModel model,
attributeName 
) [static]

Given a model and attributeName, get the max length for that attribute as defined by the metadata rules.

Parameters:
object $model RedBeanModel
string $attributeName

Definition at line 47 of file StringValidatorHelper.php.

static getMinLengthByModelAndAttributeName ( RedBeanModel model,
attributeName 
) [static]

Given a model and attributeName, get the min length for that attribute as defined by the metadata rules.

Parameters:
object $model RedBeanModel
string $attributeName

Definition at line 71 of file StringValidatorHelper.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Tue Jan 22 07:10:28 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8