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

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,
  $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:
Generated on Fri Jul 10 2020 07:10:54
Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.