X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=api%2Fv3%2FProfile.php;h=c41b04b7ce8514dd1bba977cfd450c47a2d18160;hb=a130e045946d9b7f2c2d12d05f98ea4ce22f1dbe;hp=8417fad60c46387b648e2ba4daf2d41bd7da9aa1;hpb=be0f31c3e91702a5ab6eb5fa7cb81eafee3202f2;p=civicrm-core.git diff --git a/api/v3/Profile.php b/api/v3/Profile.php index 8417fad60c..c41b04b7ce 100644 --- a/api/v3/Profile.php +++ b/api/v3/Profile.php @@ -31,26 +31,26 @@ * @package CiviCRM_APIv3 * @subpackage API_ActivityProfile * @copyright CiviCRM LLC (c) 2004-2014 - * @version $Id: ActivityProfile.php 30486 2011-05-20 16:12:09Z rajan $ + * @version $Id: Profile.php 30486 2011-05-20 16:12:09Z rajan $ * */ /** * Retrieve Profile field values. * - * @param array $params - * Associative array of property name/value. - * pairs to get profile field values - * - * @throws API_Exception - * @return array - * * NOTE this api is not standard & since it is tested we need to honour that * but the correct behaviour is for it to return an id indexed array as this supports * multiple instances - if a single profile is passed in we will not return a normal api result array * in order to avoid breaking code. (This could still be confusing :-( but we have to keep the tested behaviour working * * Note that if contact_id is empty an array of defaults is returned + * + * @param array $params + * Associative array of property name/value. + * pairs to get profile field values + * + * @throws API_Exception + * @return array */ function civicrm_api3_profile_get($params) { $nonStandardLegacyBehaviour = is_numeric($params['profile_id']) ? TRUE : FALSE;