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
ModelAttributeToMixedTypeUtil Class Reference
Inheritance diagram for ModelAttributeToMixedTypeUtil:
ModelAttributeToDesignerTypeUtil ModelAttributeToMixedArrayTypeUtil ModelAttributeToWorkflowActionAttributeFormTypeUtil

Static Public Member Functions

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 ModelAttributeToMixedTypeUtil.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 ModelAttributeToMixedTypeUtil.php.


The documentation for this class was generated from the following file:
Generated on Mon Jul 13 2020 07:10:54
Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.