ModelAttributeToDesignerTypeUtil Class Reference

Inheritance diagram for ModelAttributeToDesignerTypeUtil:
ModelAttributeToMixedTypeUtil

Static Public Member Functions

static getDesignerType ($model, $attributeName)
static getAvailableDesignerTypes ()
static getAvailableCustomAttributeTypes ()

Detailed Description

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

Definition at line 41 of file ModelAttributeToDesignerTypeUtil.php.


Member Function Documentation

static getDesignerType ( model,
attributeName 
) [static]

Returns the element or attribute form type that should be used with the named attribute of the given model, (the name minus the Element or AttributeForm suffix).

Definition at line 51 of file ModelAttributeToDesignerTypeUtil.php.

static getAvailableDesignerTypes (  )  [static]

Returns list of available designer types including attribute types available for creating custom fields and designer types for standard collection attributes that are not necessarily available types for custom fields.

Definition at line 67 of file ModelAttributeToDesignerTypeUtil.php.

static getAvailableCustomAttributeTypes (  )  [static]

Returns list of available attribute types for creating new custom fields

Definition at line 95 of file ModelAttributeToDesignerTypeUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Fri Mar 24 07:10:28 2017