* @return mixed
*/
public static function alterReportVar($varType, &$var, &$object) {
- return self::singleton()->invoke(3, $varType, $var, $object,
+ return self::singleton()->invoke(array('varType', 'var', 'object'), $varType, $var, $object,
self::$_nullObject,
self::$_nullObject, self::$_nullObject,
'civicrm_alterReportVar'
* FALSE, if $op is 'check' and upgrades are not pending.
*/
public static function upgrade($op, CRM_Queue_Queue $queue = NULL) {
- return self::singleton()->invoke(2, $op, $queue,
+ return self::singleton()->invoke(array('op', 'queue'), $op, $queue,
self::$_nullObject, self::$_nullObject, self::$_nullObject,
self::$_nullObject,
'civicrm_upgrade'
* @return mixed
*/
public static function postEmailSend(&$params) {
- return self::singleton()->invoke(1, $params,
+ return self::singleton()->invoke(array('params'), $params,
self::$_nullObject, self::$_nullObject,
self::$_nullObject, self::$_nullObject, self::$_nullObject,
'civicrm_postEmailSend'
* @return mixed
*/
public static function postMailing($mailingId) {
- return self::singleton()->invoke(1, $mailingId,
+ return self::singleton()->invoke(array('mailingId'), $mailingId,
self::$_nullObject, self::$_nullObject,
self::$_nullObject, self::$_nullObject, self::$_nullObject,
'civicrm_postMailing'
* @return mixed
*/
public static function alterSettingsFolders(&$settingsFolders) {
- return self::singleton()->invoke(1, $settingsFolders,
+ return self::singleton()->invoke(array('settingsFolders'), $settingsFolders,
self::$_nullObject, self::$_nullObject,
self::$_nullObject, self::$_nullObject, self::$_nullObject,
'civicrm_alterSettingsFolders'
* @return mixed
*/
public static function alterSettingsMetaData(&$settingsMetaData, $domainID, $profile) {
- return self::singleton()->invoke(3, $settingsMetaData,
+ return self::singleton()->invoke(array('settingsMetaData', 'domainID', 'profile'), $settingsMetaData,
$domainID, $profile,
self::$_nullObject, self::$_nullObject, self::$_nullObject,
'civicrm_alterSettingsMetaData'
*/
public static function apiWrappers(&$wrappers, $apiRequest) {
return self::singleton()
- ->invoke(2, $wrappers, $apiRequest, self::$_nullObject, self::$_nullObject, self::$_nullObject,
+ ->invoke(array('wrappers', 'apiRequest'), $wrappers, $apiRequest, self::$_nullObject, self::$_nullObject, self::$_nullObject,
self::$_nullObject, 'civicrm_apiWrappers'
);
}
* The return value is ignored.
*/
public static function cron($jobManager) {
- return self::singleton()->invoke(1,
+ return self::singleton()->invoke(array('jobManager'),
$jobManager, self::$_nullObject, self::$_nullObject, self::$_nullObject, self::$_nullObject, self::$_nullObject,
'civicrm_cron'
);
* The return value is ignored
*/
public static function permission(&$permissions) {
- return self::singleton()->invoke(1, $permissions,
+ return self::singleton()->invoke(array('permissions'), $permissions,
self::$_nullObject, self::$_nullObject, self::$_nullObject, self::$_nullObject, self::$_nullObject,
'civicrm_permission'
);
* The return value is ignored
*/
public static function permission_check($permission, &$granted) {
- return self::singleton()->invoke(2, $permission, $granted,
+ return self::singleton()->invoke(array('permission', 'granted'), $permission, $granted,
self::$_nullObject, self::$_nullObject, self::$_nullObject, self::$_nullObject,
'civicrm_permission_check'
);