TextAttributeForm Class Reference

Inheritance diagram for TextAttributeForm:
MaxLengthAttributeForm AttributeForm ConfigurableMetadataModel

Public Member Functions

 getModelAttributePartialRule ()
 getAttributeTypeName ()

Static Public Member Functions

static getAttributeTypeDisplayName ()
static getAttributeTypeDisplayDescription ()

Detailed Description

Definition at line 37 of file TextAttributeForm.php.

Member Function Documentation

getModelAttributePartialRule (  ) 

Returns a partial rule for the attribute being edited by this form. For a rule array('attributeName', 'type', 'type' => 'thetypename'); the method must return array('type', 'type' => 'thetypename') appropriate to its data. For a rule array('attributeName', 'boolean'); the method must return array('boolean'), for example for a checkbox. If the method is not overridden or returns an empty array no rule will be be added to model metadata in regards to the type of the attribute.

Reimplemented from AttributeForm.

Definition at line 49 of file TextAttributeForm.php.

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Wed Aug 23 07:10:30 2017