<?php
/*
+--------------------------------------------------------------------+
- | 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. |
| |
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
* $Id$
*
*/
}
/**
- * funtion to add activity target
+ * function to add activity target
*
- * @param array $activity_id (reference ) an assoc array of name/value pairs
- * @param array $target_contact_id (reference ) the array that holds all the db ids
+ * @param $params
+ *
+ * @internal param array $activity_id (reference ) an assoc array of name/value pairs
+ * @internal param array $target_contact_id (reference ) the array that holds all the db ids
*
* @return object activity type of object that is added
* @access public
- *
*/
public static function create(&$params) {
$target = new CRM_Activity_BAO_ActivityContact();
/**
* function to retrieve id of target contact by activity_id
*
- * @param int $id ID of the activity
+ * @param $activity_id
+ *
+ * @internal param int $id ID of the activity
*
* @return mixed
*
* @access public
- *
*/
static function retrieveTargetIdsByActivityId($activity_id) {
$targetArray = array();
/**
* function to retrieve names of target contact by activity_id
*
- * @param int $id ID of the activity
+ * @param $activityID
+ *
+ * @internal param int $id ID of the activity
*
* @return array
*
* @access public
- *
*/
static function getTargetNames($activityID) {
$targetNames = array();