Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.
 All Data Structures Functions Variables Pages
Static Public Member Functions
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$modelRedBeanModel
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$modelRedBeanModel
string$attributeName

Definition at line 71 of file StringValidatorHelper.php.


The documentation for this class was generated from the following file:
Generated on Thu Oct 22 2020 07:10:59
Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.