Merge pull request #4389 from priyankakaran26/recurring-activity-46
[civicrm-core.git] / CRM / Activity / BAO / ActivityTarget.php
index 76ae5c2f3910cae7b43dcc355f402fafed3fdf88..6ab4bdbd666a99ffa1c0d33c21a723d91e4280bb 100644 (file)
@@ -47,14 +47,15 @@ class CRM_Activity_BAO_ActivityTarget extends CRM_Activity_DAO_ActivityContact {
   }
 
   /**
-   * 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();
@@ -104,12 +105,13 @@ AND        civicrm_contact.is_deleted = 0
   /**
    * 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();