CRM_Utils_Wrapper
in package
The Contact Wrapper is a wrapper class which is called by contact.module after it parses the menu path.
The key elements of the wrapper are the controller and the run method as explained below.
Tags
Table of Contents
Properties
- $_controller : CRM_Core_Controller_Simple
- Simple Controller.
Methods
- run() : mixed
- Run.
Properties
$_controller
Simple Controller.
protected
CRM_Core_Controller_Simple
$_controller
The controller which will handle the display and processing of this page.
Methods
run()
Run.
public
run(string $formName[, string $formLabel = NULL ][, array<string|int, mixed> $arguments = NULL ]) : mixed
The heart of the callback processing is done by this method. forms are of different type and have different operations.
Parameters
- $formName : string
-
name of the form processing this action
- $formLabel : string = NULL
-
label for the above form
- $arguments : array<string|int, mixed> = NULL
-
- int mode: mode of operation.
- bool addSequence: should we add a unique sequence number to the end of the key
- bool ignoreKey: should we not set a qfKey for this controller (for standalone forms)