Static Public Member Functions
|static||getType ($model, $attributeName)|
|static||getTypeByModelUsingValidator ($model, $attributeName)|
Helper functionality for finding the element or form type associated with a model's attribute.
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.
Reimplemented in ModelAttributeToMixedArrayTypeUtil, and ModelAttributeToWorkflowActionAttributeFormTypeUtil.