CRM_Core_QuickForm_Action_Done
extends CRM_Core_QuickForm_Action
in package
Redefine the back action.
Tags
Table of Contents
Properties
- $_stateMachine : object
- Reference to the state machine i belong to.
Methods
- __construct() : CRM_Core_QuickForm_Action_Done
- 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_Done
Parameters
- $stateMachine : object
-
Reference to state machine object.
Return values
CRM_Core_QuickForm_Action_Doneperform()
Processes the request.
public
perform(CRM_Core_Form &$page, string $actionName) : object|void
this is basically a self submit, so validate the page and if success, call post process when done processing pop to user context
Parameters
- $page : 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