<?php
-// $Id$
/*
+--------------------------------------------------------------------+
* @copyright CiviCRM LLC (c) 2004-2013
*/
-//require_once 'CRM/Campaign/BAO/ContactType.php';
require_once 'api/v3/utils.php';
/**
* @access public
*/
function civicrm_api3_contact_type_create($params) {
- require_once 'CRM/Utils/String.php';
civicrm_api3_verify_mandatory($params, _civicrm_api3_get_DAO(__FUNCTION__), array('name', 'parent_id'));
if (!array_key_exists('label', $params)) {
$params['label'] = $params['name'];