<?php
-// $Id$
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.3 |
+ | CiviCRM version 4.5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013 |
+ | Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
*
* @package CiviCRM_APIv3
* @subpackage API_Contact
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
* $Id: PaymentProcessorType.php 30415 2010-10-29 12:02:47Z shot $
*
*/
/**
* 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');
}