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 | Protected Member Functions | Static Protected Member Functions | Static Protected Attributes
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)
 
- Static Public Member Functions inherited from Element
static getDisplayName ()
 
static isReadOnly ()
 
static resolveInputNameForEditableInput ($attributeName)
 
static resolveInputNamePrefixIntoString ($inputNamePrefix)
 
static resolveInputIdPrefixIntoString ($inputIdPrefix)
 

Protected Member Functions

 getDropDownArray ()
 
- Protected Member Functions inherited from StaticDropDownFormElement
 getNameForSelectInput ()
 
- Protected Member Functions inherited from StaticDropDownElement
 renderControlEditable ()
 
 renderControlNonEditable ()
 
 renderError ()
 
- Protected Member Functions inherited from DropDownElement
 renderControlEditable ()
 
 resolveIdForLabel ()
 
 renderControlNonEditable ()
 
 convertDropDownModelsToArrayByIdName ($dropDownModels)
 
 getAddBlank ()
 
 getNameForSelectInput ()
 
 getEditableHtmlOptions ()
 
 getDropDownArray ()
 
 renderError ()
 
- Protected Member Functions inherited from Element
 renderLabel ()
 
 resolveIdForLabel ()
 
 getFormattedAttributeLabel ()
 
 resolveNonActiveFormFormattedLabel ($label)
 
 renderError ()
 
 renderScopedErrorId ($inputNameIdPrefix, $attribute)
 
 renderEditable ()
 
 renderNonEditable ()
 
 renderControlEditable ()
 
 renderControlNonEditable ()
 
 getColumnSpan ()
 
 getDisabledValue ()
 
 getHtmlOptions ()
 
 resolveContentTemplate ($template, $data)
 
 getEditableInputId ($attributeName=null, $relationAttributeName=null)
 
 getEditableInputName ($attributeName=null, $relationAttributeName=null)
 
 resolveInputPrefix ()
 
 resolveInputIdPrefix ()
 
 resolveInputNamePrefix ()
 
 getListViewGridId ()
 

Static Protected Member Functions

static resolveDropDownArray ()
 

Static Protected Attributes

static $attributeName
 

Additional Inherited Members

- Public Member Functions inherited from DropDownElement
 getIdForSelectInput ()
 
 getEditableNameIds ()
 
- Public Member Functions inherited from Element
 __construct ($model, $attribute, $form=null, array $params=array())
 
 render ()
 
 getEditableNameIds ()
 
 getAttribute ()
 
 renderAsControlNonEditable ()
 
- Data Fields inherited from Element
 $params
 
 $editableTemplate = '<th>{label}</th><td colspan="{colspan}">{content}{error}</td>'
 
 $nonEditableTemplate = '<th>{label}</th><td colspan="{colspan}">{content}</td>'
 
- Protected Attributes inherited from Element
 $model
 
 $attribute
 
 $form
 

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

Definition at line 98 of file ConstantBasedStaticDropDownFormElement.php.

static resolveDropDownArray ( )
staticprotected

Override in child

Exceptions
NotImplementedException

Definition at line 107 of file ConstantBasedStaticDropDownFormElement.php.


The documentation for this class was generated from the following file:
Generated on Tue Jul 14 2020 07:10:42
Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.