StateToggleElement Class Reference

Inheritance diagram for StateToggleElement:
Element DerivedElementInterface CampaignActivePauseToggleElement ConversationOpenCloseElement

Static Public Member Functions

static getDropDownArray ()
static getDisplayName ()
static renderStatusChangeArea (RedBeanModel $model)
static renderStatusButtonsContent (RedBeanModel $model)
static getStatusChangeDivId (RedBeanModel $model)

Protected Member Functions

 assertAttributeName ()
 assertModelClass ()
 renderEditable ()
 renderControlEditable ()
 renderLabel ()
 renderControlNonEditable ()

Static Protected Member Functions

static resolveSelectedRadioButtonListOption (RedBeanModel $model)
static resolveStatusChangeUrl (RedBeanModel $model)
static resolveSuccessMessage ()
static resolvePostNotificationSuccessScript ()
static renderAjaxStatusChange (RedBeanModel $model)
static resolveOnSuccessScript ()
static getRadioButtonListHtmlOptions (RedBeanModel $model)
static getStatusChangeHtmlOptions (RedBeanModel $model)
static renderStatusAreaLabel ()
static getStatusChangeDivClassNames (RedBeanModel $model)

Detailed Description

Definition at line 37 of file StateToggleElement.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 43 of file StateToggleElement.php.

renderLabel (  )  [protected]

Generate the element label content

Returns:
A string containing the element's label

Reimplemented from Element.

Definition at line 73 of file StateToggleElement.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Sep 16 07:11:06 2019