$className = NULL
) {
return self::singleton()
- ->invoke(5, $details, $contactIDs, $jobID, $tokens, $className, self::$_nullObject, 'civicrm_tokenValues');
+ ->invoke(array('details', 'contactIDs', 'jobID', 'tokens', 'className'), $details, $contactIDs, $jobID, $tokens, $className, self::$_nullObject, 'civicrm_tokenValues');
}
/**
* @return null
*/
public static function pageRun(&$page) {
- return self::singleton()->invoke(1, $page,
+ return self::singleton()->invoke(array('page'), $page,
self::$_nullObject, self::$_nullObject, self::$_nullObject, self::$_nullObject, self::$_nullObject,
'civicrm_pageRun'
);
* @return null
*/
public static function copy($objectName, &$object) {
- return self::singleton()->invoke(2, $objectName, $object,
+ return self::singleton()->invoke(array('objectName', 'object'), $objectName, $object,
self::$_nullObject, self::$_nullObject, self::$_nullObject, self::$_nullObject,
'civicrm_copy'
);
*/
public static function unsubscribeGroups($op, $mailingId, $contactId, &$groups, &$baseGroups) {
return self::singleton()
- ->invoke(5, $op, $mailingId, $contactId, $groups, $baseGroups, self::$_nullObject, 'civicrm_unsubscribeGroups');
+ ->invoke(array('op', 'mailingId', 'contactId', 'groups', 'baseGroups'), $op, $mailingId, $contactId, $groups, $baseGroups, self::$_nullObject, 'civicrm_unsubscribeGroups');
}
/**
* @return mixed
*/
public static function customFieldOptions($customFieldID, &$options, $detailedFormat = FALSE, $selectAttributes = array()) {
- return self::singleton()->invoke(3, $customFieldID, $options, $detailedFormat,
+ // Weird: $selectAttributes is inputted but not outputted.
+ return self::singleton()->invoke(array('customFieldID', 'options', 'detailedFormat'), $customFieldID, $options, $detailedFormat,
self::$_nullObject, self::$_nullObject, self::$_nullObject,
'civicrm_customFieldOptions'
);
* @return mixed
*/
public static function fieldOptions($entity, $field, &$options, $params) {
- return self::singleton()->invoke(5, $entity, $field, $options, $params,
+ return self::singleton()->invoke(array('entity', 'field', 'options', 'params'), $entity, $field, $options, $params,
self::$_nullObject, self::$_nullObject,
'civicrm_fieldOptions'
);
* @return mixed
*/
public static function searchTasks($objectType, &$tasks) {
- return self::singleton()->invoke(2, $objectType, $tasks,
+ return self::singleton()->invoke(array('objectType', 'tasks'), $objectType, $tasks,
self::$_nullObject, self::$_nullObject, self::$_nullObject, self::$_nullObject,
'civicrm_searchTasks'
);
* @return mixed
*/
public static function eventDiscount(&$form, &$params) {
- return self::singleton()->invoke(2, $form, $params,
+ return self::singleton()->invoke(array('form', 'params'), $form, $params,
self::$_nullObject, self::$_nullObject, self::$_nullObject, self::$_nullObject,
'civicrm_eventDiscount'
);
* @return mixed
*/
public static function mailingGroups(&$form, &$groups, &$mailings) {
- return self::singleton()->invoke(3, $form, $groups, $mailings,
+ return self::singleton()->invoke(array('form', 'groups', 'mailings'), $form, $groups, $mailings,
self::$_nullObject, self::$_nullObject, self::$_nullObject,
'civicrm_mailingGroups'
);