CRM_Core_QuickForm_Action_Reload
extends CRM_Core_QuickForm_Action
in package
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.
Tags
Table of Contents
Properties
- $_stateMachine : object
- Reference to the state machine i belong to.
Methods
- __construct() : CRM_Core_QuickForm_Action_Reload
- Class constructor.
- perform() : object|void
- Processes the request.
- popUserContext() : mixed
- Returns the user to the top of the user context stack.
Properties
$_stateMachine
Reference to the state machine i belong to.
protected
object
$_stateMachine
Methods
__construct()
Class constructor.
public
__construct(object &$stateMachine) : CRM_Core_QuickForm_Action_Reload
Parameters
- $stateMachine : object
-
Reference to state machine object.
Return values
CRM_Core_QuickForm_Action_Reloadperform()
Processes the request.
public
perform(CRM_Core_Form &$page, string $actionName) : object|void
Parameters
- $page : CRM_Core_Form
-
CRM_Core_Form the current form-page.
- $actionName : string
-
Current action name, as one Action object can serve multiple actions.
Return values
object|voidpopUserContext()
Returns the user to the top of the user context stack.
public
popUserContext() : mixed