PhoneAttributeForm Class Reference

Inheritance diagram for PhoneAttributeForm:
MaxLengthAttributeForm AttributeForm ConfigurableMetadataModel

Public Member Functions

 __construct (RedBeanModel $model=null, $attributeName=null)
 rules ()
 getModelAttributePartialRule ()
 getAttributeTypeName ()

Static Public Member Functions

static getAttributeTypeDisplayName ()
static getAttributeTypeDisplayDescription ()

Detailed Description

Definition at line 37 of file PhoneAttributeForm.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 62 of file PhoneAttributeForm.php.


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