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

Static Public Member Functions

static getDesignerType ($model, $attributeName)
static getAvailableDesignerTypes ()
static getAvailableCustomAttributeTypes ()
- 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 ModelAttributeToDesignerTypeUtil.php.

Member Function Documentation

static getDesignerType (   $model,

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 ( )

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 ( )

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:
Generated on Tue Mar 31 2020 07:11:13