CRM_Core_QuickForm_Action_Cancel
extends CRM_Core_QuickForm_Action
in package
Redefine the cancel action
Tags
Table of Contents
Properties
- $_stateMachine : object
- Reference to the state machine i belong to.
Methods
- __construct() : CRM_Core_QuickForm_Action_Cancel
- Class constructor.
- perform() : mixed
- 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_Cancel
Parameters
- $stateMachine : object
-
Reference to state machine object.
Return values
CRM_Core_QuickForm_Action_Cancelperform()
Processes the request.
public
perform(CRM_Core_Form &$page, string $actionName) : mixed
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.
popUserContext()
Returns the user to the top of the user context stack.
public
popUserContext() : mixed