All Data Structures Functions Variables Pages
Static Public Member Functions
ModelAttributeToMixedArrayTypeUtil Class Reference
Inheritance diagram for ModelAttributeToMixedArrayTypeUtil:
ModelAttributeToMixedTypeUtil

Static Public Member Functions

static getType ($model, $attributeName)
 
- Static Public Member Functions inherited from ModelAttributeToMixedTypeUtil
static getType ($model, $attributeName)
 
static getTypeByModelUsingValidator ($model, $attributeName)
 

Detailed Description

Helper functionality for finding the element or form type associated with a model's attribute.

Definition at line 41 of file ModelAttributeToMixedArrayTypeUtil.php.

Member Function Documentation

static getType (   $model,
  $attributeName 
)
static

Returns the a type that is derived by looking at several different components of an attribute. This includes the metadata element data, validator data, and relation information. The type returned can be utilized by different aspects of the application where an attribute type is needed.

Returns
string type

Definition at line 49 of file ModelAttributeToMixedArrayTypeUtil.php.


The documentation for this class was generated from the following file:
Generated on Tue Jun 2 2020 07:10:53