ConstantBasedStaticDropDownFormElement Class Reference

Inheritance diagram for ConstantBasedStaticDropDownFormElement:
StaticDropDownFormElement StaticDropDownElement DropDownElement Element CampaignStatusElement EmailMessageRecipientTypeDropDownElement ProductTemplatePriceFrequencyDropDownElement ProductTemplateStatusDropDownElement ProductTemplateTypeDropDownElement ProjectStatusDropDownElement StatusDropDownElement TaskStatusDropDownElement

Static Public Member Functions

static renderNonEditableStringContent ($attribute)
static renderDisplayAttributeForReport ($model, $attribute)

Protected Member Functions

 getDropDownArray ()

Static Protected Member Functions

static resolveDropDownArray ()

Static Protected Attributes

static $attributeName

Detailed Description

Use for attributes that are constant based such as project status or task status.

Definition at line 39 of file ConstantBasedStaticDropDownFormElement.php.


Member Function Documentation

static renderNonEditableStringContent ( attribute  )  [static]

Called from outside to render attribute value as label.

See also:
XXXDropDownListViewColumnAdapter
Parameters:
int|string $attribute
Returns:
string, translated attribute if available otherwise just return attribute value

Definition at line 48 of file ConstantBasedStaticDropDownFormElement.php.

static renderDisplayAttributeForReport ( model,
attribute 
) [static]
Parameters:
$model 
$attribute 
Returns:
null
Exceptions:
NotImplementedException 

Definition at line 65 of file ConstantBasedStaticDropDownFormElement.php.

getDropDownArray (  )  [protected]
Returns:
array

Reimplemented from DropDownElement.

Reimplemented in CampaignStatusElement.

Definition at line 98 of file ConstantBasedStaticDropDownFormElement.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sat Apr 29 07:10:22 2017