X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=api%2Fv3%2FRelationship.php;h=2dede0b650dcd0441033bf8ccb5d5e0ebb5c5931;hb=85bb0909cffd925f4cd5c0022a68a1ff74d3ad8e;hp=b36069a41001b89493b1da71fafdfc8b0b59f92a;hpb=c1e0466b53f27a95d22361b7764fe091608c9583;p=civicrm-core.git diff --git a/api/v3/Relationship.php b/api/v3/Relationship.php index b36069a410..2dede0b650 100644 --- a/api/v3/Relationship.php +++ b/api/v3/Relationship.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_Relationship * - * @copyright CiviCRM LLC (c) 2004-2013 + * @copyright CiviCRM LLC (c) 2004-2014 * @version $Id: Relationship.php 30486 2010-11-02 16:12:09Z shot $ * */ @@ -40,15 +40,15 @@ /** * Add or update a relationship * - * @param array $params input parameters + * @param array $params input parameters * + * @throws API_Exception * @example RelationshipCreate.php Std Create example * * @return array API Result Array * {@getfields relationship_create} * @static void * @access public - * */ function civicrm_api3_relationship_create($params) { @@ -171,11 +171,12 @@ function civicrm_api3_relationship_get($params) { * take the input parameter list as specified in the data model and * convert it into the same format that we use in QF and BAO object * - * @param array $params Associative array of property name/value + * @param array $params Associative array of property name/value * pairs to insert in new contact. - * @param array $values The reformatted properties that we can use internally + * @param array $values The reformatted properties that we can use internally * ' * + * @throws Exception * @return array|CRM_Error * @access public */