<?php
-// $Id$
/*
+--------------------------------------------------------------------+
/**
* Include common API util functions
*/
-require_once 'CRM/Financial/BAO/PaymentProcessorType.php';
/**
* Function to create payment_processor type
* {@schema Core/PaymentProcessorType.xml}
*/
function civicrm_api3_payment_processor_type_create($params) {
- require_once 'CRM/Utils/Rule.php';
-
$ids = array();
if (isset($params['id']) && !CRM_Utils_Rule::integer($params['id'])) {
return civicrm_api3_create_error('Invalid value for payment_processor type ID');
* @access public
*/
function civicrm_api3_payment_processor_type_delete($params) {
-
- require_once 'CRM/Utils/Rule.php';
if ($params['id'] != NULL && !CRM_Utils_Rule::integer($params['id'])) {
return civicrm_api3_create_error('Invalid value for payment processor type ID');
}