X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=api%2Fv3%2FCustomField.php;h=e14a9b0f97d4375552858ddedd9ebc95f984a161;hb=85bb0909cffd925f4cd5c0022a68a1ff74d3ad8e;hp=6a41b74be23d1db2208a886d6d95a12fec7a5b21;hpb=35598dc5bbdd980bc0d93e7348d844f519acd504;p=civicrm-core.git diff --git a/api/v3/CustomField.php b/api/v3/CustomField.php index 6a41b74be2..e14a9b0f97 100644 --- a/api/v3/CustomField.php +++ b/api/v3/CustomField.php @@ -2,9 +2,9 @@ /* +--------------------------------------------------------------------+ - | CiviCRM version 4.4 | + | CiviCRM version 4.5 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2013 | + | Copyright CiviCRM LLC (c) 2004-2014 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -32,7 +32,7 @@ * @package CiviCRM_APIv3 * @subpackage API_CustomField * - * @copyright CiviCRM LLC (c) 2004-2013 + * @copyright CiviCRM LLC (c) 2004-2014 * @version $Id: CustomField.php 30879 2010-11-22 15:45:55Z shot $ */ @@ -110,6 +110,8 @@ function _civicrm_api3_custom_field_create_spec(&$params) { * Use this API to delete an existing custom group field. * * @param $params Array id of the field to be deleted + * + * @return array * @example CustomFieldDelete.php * * {@example CustomFieldDelete.php 0} @@ -130,7 +132,10 @@ function civicrm_api3_custom_field_delete($params) { * Use this API to get existing custom fields. * * @param array $params Array to search on - *{@getfields CustomField_get} + *{* + * + * @return array +@getfields CustomField_get} * @access public * **/ @@ -158,6 +163,11 @@ function civicrm_api3_custom_field_get($params) { * @params Array $fieldDetails Field Details * @params Array $errors Collect validation errors * + * @param $fieldName + * @param $value + * @param $fieldDetails + * @param array $errors + * * @return Array Validation errors * @todo remove this function - not in use but need to review functionality before * removing as it might be useful in wrapper layer