* @param string $entityTable name of the entity table usually 'civicrm_contact'
*
* @return array(
- ) reference $tag array of catagory id's the contact belongs to.
+ ) reference $tag array of category id's the contact belongs to.
*
* @access public
* @static
*
* @params array $params (reference ) an assoc array of name/value pairs
*
+ * @param $params
+ *
* @return boolean
* @access public
* @static
/**
* Given an array of entity ids and entity table, add all the entity to the tags
*
- * @param array $entityIds (reference ) the array of entity ids to be added
- * @param int $tagId the id of the tag
+ * @param array $entityIds (reference ) the array of entity ids to be added
+ * @param int $tagId the id of the tag
+ * @param string $entityTable
* @params string $entityTable name of entity table default:civicrm_contact
*
* @return array (total, added, notAdded) count of enities added to tag
/**
* Given an array of entity ids and entity table, remove entity(s) tags
*
- * @param array $entityIds (reference ) the array of entity ids to be removed
- * @param int $tagId the id of the tag
+ * @param array $entityIds (reference ) the array of entity ids to be removed
+ * @param int $tagId the id of the tag
+ * @param string $entityTable
* @params string $entityTable name of entity table default:civicrm_contact
*
* @return array (total, removed, notRemoved) count of entities removed from tags
* takes an associative array and creates tag entity record for all tag entities
*
* @param array $params (reference ) an assoc array of name/value pairs
- * @param array $contactId contact id
+ * @param $entityTable
+ * @param $entityID
+ *
+ * @internal param array $contactId contact id
*
* @return void
* @access public