class CRM_Core_QuickForm_Action_Display extends CRM_Core_QuickForm_Action

Redefine the display action.

Properties

protected object $_stateMachine Reference to the state machine i belong to. from CRM_Core_QuickForm_Action
static string $_requiredTemplate The template to display the required "red" asterick.
static string $_errorTemplate The template to display error messages inline with the form element.

Methods

__construct(object $stateMachine)

Class constructor.

popUserContext()

Returns the user to the top of the user context stack.

object|void
perform(CRM_Core_Form $page, string $actionName)

Processes the request.

renderForm(CRM_Core_Form $page)

Render the page using a custom templating system.

_setRenderTemplates(CRM_Core_Form $page)

Set the various rendering templates.

initializeTemplates()

Initialize the various templates.

Details

at line 56
CRM_Core_QuickForm_Action __construct(object $stateMachine)

Class constructor.

Parameters

object $stateMachine Reference to state machine object.

Return Value

CRM_Core_QuickForm_Action

popUserContext()

Returns the user to the top of the user context stack.

at line 70
object|void perform(CRM_Core_Form $page, string $actionName)

Processes the request.

Parameters

CRM_Core_Form $page CRM_Core_Form the current form-page.
string $actionName Current action name, as one Action object can serve multiple actions.

Return Value

object|void

at line 108
renderForm(CRM_Core_Form $page)

Render the page using a custom templating system.

Parameters

CRM_Core_Form $page The CRM_Core_Form page.

at line 190
_setRenderTemplates(CRM_Core_Form $page)

Set the various rendering templates.

Parameters

CRM_Core_Form $page The CRM_Core_Form page.

at line 204
initializeTemplates()

Initialize the various templates.