ModelAttributeRulesToDefaultValueMappingRuleUtil Class Reference

Static Public Member Functions

static getApplicableRulesByModelClassNameAndAttributeName ($modelClassName, $attributeName, $ruleAttributeName, $requiredRuleIsApplicable=false, $treatDateTimeAsDate=false, $readOnlyRuleIsApplicable=true)

Detailed Description

The DefaultValueModelAttributeMappingRuleForm needs to get its rules from the associated model based on an attribute. This utility provides that information.

Definition at line 41 of file ModelAttributeRulesToDefaultValueMappingRuleUtil.php.


Member Function Documentation

static getApplicableRulesByModelClassNameAndAttributeName ( modelClassName,
attributeName,
ruleAttributeName,
requiredRuleIsApplicable = false,
treatDateTimeAsDate = false,
readOnlyRuleIsApplicable = true 
) [static]
Parameters:
string $modelClassName
string $attributeName
string $ruleAttributeName
bool $requiredRuleIsApplicable
bool $treatDateTimeAsDate
bool $readOnlyRuleIsApplicable
Returns:
array

Definition at line 52 of file ModelAttributeRulesToDefaultValueMappingRuleUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sat Jun 24 07:10:26 2017