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 ()

Protected Member Functions

 renderEditable ()
 renderControlEditable ()
 renderControlNonEditable ()
 renderLabel ()

Static Protected Member Functions

static renderAjaxStatusActionChangeLink ($newStatus, $missionId, $label, $updateDivId)
static resolveLinkSpecificCssClassNameByNewStatus ($status)

Detailed Description

Display the mission status with the action button when applicable.

Definition at line 40 of file MissionStatusElement.php.


Member Function Documentation

renderEditable (  )  [protected]

Generate editable version of the element includes the lable, control, and error content

Returns:
A string containing the element's content.

Reimplemented from Element.

Definition at line 42 of file MissionStatusElement.php.

renderControlNonEditable (  )  [protected]

Render the full name as a non-editable display

Returns:
The element's content.

Reimplemented from Element.

Definition at line 56 of file MissionStatusElement.php.

static renderAjaxStatusActionChangeLink ( newStatus,
missionId,
label,
updateDivId 
) [static, protected]
Parameters:
int $newStatus
int $missionId
string $label
string $updateDivId
Returns:
string

Definition at line 150 of file MissionStatusElement.php.

renderLabel (  )  [protected]

Generate the element label content

Returns:
A string containing the element's label

Reimplemented from Element.

Definition at line 192 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:
 All Data Structures Functions Variables
Generated on Sun Sep 24 07:10:27 2017