All Data Structures Functions Variables Pages
Static Public Member Functions
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:
Generated on Fri Jun 5 2020 07:10:55