All Data Structures Functions Variables Pages
Static Public Member Functions | Protected Member Functions | Static Protected Member Functions
MissionStatusElement Class Reference
Inheritance diagram for MissionStatusElement:
Element DerivedElementInterface

Static Public Member Functions

static renderStatusTextAndActionArea (Mission $mission)
 
static getStatusChangeDivId ($missionId)
 
static renderStatusTextContent (Mission $mission)
 
static renderStatusActionContent (Mission $mission, $updateDivId)
 
static getDisplayName ()
 
static getModelAttributeNames ()
 
- Static Public Member Functions inherited from Element
static getDisplayName ()
 
static isReadOnly ()
 
static resolveInputNameForEditableInput ($attributeName)
 
static resolveInputNamePrefixIntoString ($inputNamePrefix)
 
static resolveInputIdPrefixIntoString ($inputIdPrefix)
 

Protected Member Functions

 renderEditable ()
 
 renderControlEditable ()
 
 renderControlNonEditable ()
 
 renderLabel ()
 
- 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 renderAjaxStatusActionChangeLink ($newStatus, $missionId, $label, $updateDivId)
 
static resolveLinkSpecificCssClassNameByNewStatus ($status)
 

Additional Inherited Members

- 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

Display the mission status with the action button when applicable.

Definition at line 40 of file MissionStatusElement.php.

Member Function Documentation

renderControlNonEditable ( )
protected

Render the full name as a non-editable display

Returns
The element's content.

Definition at line 56 of file MissionStatusElement.php.

static renderAjaxStatusActionChangeLink (   $newStatus,
  $missionId,
  $label,
  $updateDivId 
)
staticprotected
Parameters
int$newStatus
int$missionId
string$label
string$updateDivId
Returns
string

Definition at line 150 of file MissionStatusElement.php.

static getModelAttributeNames ( )
static

Get the attributeNames of attributes used in the derived element.

Returns
array of model attributeNames used.

Implements DerivedElementInterface.

Definition at line 207 of file MissionStatusElement.php.


The documentation for this class was generated from the following file:
Generated on Fri May 29 2020 07:10:52