class CRM_Utils_Wrapper

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.

Properties

protected $_controller Simple Controller.

Methods

mixed
run(string $formName, string $formLabel = NULL, array $arguments = NULL)

Run.

Details

at line 62
mixed run(string $formName, string $formLabel = NULL, array $arguments = NULL)

Run.

The heart of the callback processing is done by this method. forms are of different type and have different operations.

Parameters

string $formName name of the form processing this action
string $formLabel label for the above form
array $arguments
  • 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)

Return Value

mixed