class CRM_Core_QuickForm_Action_Reload extends CRM_Core_QuickForm_Action

Define the reload action. Reload the page but do not do any validation.

This help with actions where we might want hooks to process some data but not validate all the fields. Was incorporated to improve the discount module integration.

Properties

protected object $_stateMachine Reference to the state machine i belong to. from CRM_Core_QuickForm_Action

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.

Details

at line 47
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 61
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