X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=api%2Fv3%2FPriceFieldValue.php;h=2b80d4579c96d823c264ed988ec344d72b8ef9b9;hb=2b37475d476ba66508442e90931e40e89e786ef0;hp=71d749622499996c0853ba8ce54e3d44cde1dcb6;hpb=7a86e9ede3a83491f1e831da64537304e37ee837;p=civicrm-core.git diff --git a/api/v3/PriceFieldValue.php b/api/v3/PriceFieldValue.php index 71d7496224..2b80d4579c 100644 --- a/api/v3/PriceFieldValue.php +++ b/api/v3/PriceFieldValue.php @@ -2,7 +2,7 @@ /* /* +--------------------------------------------------------------------+ - | CiviCRM version 4.5 | + | CiviCRM version 4.6 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2014 | +--------------------------------------------------------------------+ @@ -38,7 +38,8 @@ /** * Create or update a price_field_value * - * @param array $params Associative array of property + * @param array $params + * Associative array of property. * name/value pairs to insert in new 'price_field_value' * @example PriceFieldValueCreate.php Std Create example * @@ -48,7 +49,7 @@ */ function civicrm_api3_price_field_value_create($params) { $ids = array(); - if(!empty($params['id'])){ + if (!empty($params['id'])) { $ids['id'] = $params['id']; } @@ -64,7 +65,8 @@ function civicrm_api3_price_field_value_create($params) { * Adjust Metadata for Create action * * The metadata is used for setting defaults, documentation & validation - * @param array $params array or parameters determined by getfields + * @param array $params + * Array or parameters determined by getfields. */ function _civicrm_api3_price_field_value_create_spec(&$params) { $params['price_field_id']['api.required'] = TRUE; @@ -76,7 +78,8 @@ function _civicrm_api3_price_field_value_create_spec(&$params) { /** * Returns array of price_field_values matching a set of one or more group properties * - * @param array $params Array of one or more valid property_name=>value pairs. If $params is set + * @param array $params + * Array of one or more valid property_name=>value pairs. If $params is set. * as null, all price_field_values will be returned (default limit is 25) * * @return array Array of matching price_field_values @@ -93,7 +96,8 @@ function civicrm_api3_price_field_value_get($params) { * This method is used to delete any existing price_field_value. id of the group * to be deleted is required field in $params array * - * @param array $params array containing id of the group + * @param array $params + * Array containing id of the group. * to be deleted * * @return array API result array