* @return mixed
*/
public static function mailingTemplateTypes(&$types) {
- return self::singleton()->invoke(1, $types, self::$_nullObject, self::$_nullObject,
+ return self::singleton()->invoke(array('types'), $types, self::$_nullObject, self::$_nullObject,
self::$_nullObject, self::$_nullObject, self::$_nullObject,
'civicrm_mailingTemplateTypes'
);
* @return mixed
*/
public static function membershipTypeValues(&$form, &$membershipTypes) {
- return self::singleton()->invoke(2, $form, $membershipTypes,
+ return self::singleton()->invoke(array('form', 'membershipTypes'), $form, $membershipTypes,
self::$_nullObject, self::$_nullObject, self::$_nullObject, self::$_nullObject,
'civicrm_membershipTypeValues'
);
* The html snippet to include in the contact summary
*/
public static function summary($contactID, &$content, &$contentPlacement = self::SUMMARY_BELOW) {
- return self::singleton()->invoke(3, $contactID, $content, $contentPlacement,
+ return self::singleton()->invoke(array('contactID', 'content', 'contentPlacement'), $contactID, $content, $contentPlacement,
self::$_nullObject, self::$_nullObject, self::$_nullObject,
'civicrm_summary'
);
* @return mixed
*/
public static function contactListQuery(&$query, $name, $context, $id) {
- return self::singleton()->invoke(4, $query, $name, $context, $id,
+ return self::singleton()->invoke(array('query', 'name', 'context', 'id'), $query, $name, $context, $id,
self::$_nullObject, self::$_nullObject,
'civicrm_contactListQuery'
);
&$rawParams,
&$cookedParams
) {
- return self::singleton()->invoke(3, $paymentObj, $rawParams, $cookedParams,
+ return self::singleton()->invoke(array('paymentObj', 'rawParams', 'cookedParams'), $paymentObj, $rawParams, $cookedParams,
self::$_nullObject, self::$_nullObject, self::$_nullObject,
'civicrm_alterPaymentProcessorParams'
);
* @return mixed
*/
public static function alterMailParams(&$params, $context = NULL) {
- return self::singleton()->invoke(2, $params, $context,
+ return self::singleton()->invoke(array('params', 'context'), $params, $context,
self::$_nullObject, self::$_nullObject, self::$_nullObject, self::$_nullObject,
'civicrm_alterMailParams'
);
* @return mixed
*/
public static function alterCalculatedMembershipStatus(&$membershipStatus, $arguments, $membership) {
- return self::singleton()->invoke(3, $membershipStatus, $arguments,
+ return self::singleton()->invoke(array('membershipStatus', 'arguments', 'membership'), $membershipStatus, $arguments,
$membership, self::$_nullObject, self::$_nullObject, self::$_nullObject,
'civicrm_alterCalculatedMembershipStatus'
);
* @return mixed
*/
public static function alterMailContent(&$content) {
- return self::singleton()->invoke(1, $content,
+ return self::singleton()->invoke(array('content'), $content,
self::$_nullObject, self::$_nullObject, self::$_nullObject, self::$_nullObject, self::$_nullObject,
'civicrm_alterMailContent'
);
* and the value is an array with keys 'label' and 'value' specifying label/value pairs
*/
public static function caseSummary($caseID) {
- return self::singleton()->invoke(1, $caseID,
+ return self::singleton()->invoke(array('caseID'), $caseID,
self::$_nullObject, self::$_nullObject, self::$_nullObject, self::$_nullObject, self::$_nullObject,
'civicrm_caseSummary'
);
*/
public static function caseTypes(&$caseTypes) {
return self::singleton()
- ->invoke(1, $caseTypes, self::$_nullObject, self::$_nullObject, self::$_nullObject, self::$_nullObject, self::$_nullObject, 'civicrm_caseTypes');
+ ->invoke(array('caseTypes'), $caseTypes, self::$_nullObject, self::$_nullObject, self::$_nullObject, self::$_nullObject, self::$_nullObject, 'civicrm_caseTypes');
}
/**