DateAttributeForm Class Reference

Inheritance diagram for DateAttributeForm:
AttributeForm ConfigurableMetadataModel

Public Member Functions

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

Static Public Member Functions

static getAttributeTypeDisplayName ()
static getAttributeTypeDisplayDescription ()
static getModelAttributeAdapterNameForSavingAttributeFormData ()

Data Fields

 $defaultValueCalculationType

Detailed Description

Definition at line 37 of file DateAttributeForm.php.


Constructor & Destructor Documentation

__construct ( RedBeanModel model = null,
attributeName = null 
)

Override needed to translate defaultValueCalculationType rule to the defaultValueCalculationType.

Reimplemented from AttributeForm.

Definition at line 44 of file DateAttributeForm.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 89 of file DateAttributeForm.php.

canUpdateAttributeProperty ( propertyName  ) 

Override to handle defaultValueCalculationType since the attributePropertyToDesignerFormAdapter does not specifically support this property.

Reimplemented from AttributeForm.

Definition at line 98 of file DateAttributeForm.php.

static getModelAttributeAdapterNameForSavingAttributeFormData (  )  [static]

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu Apr 27 07:10:24 2017