src/libraries/models/Tag.php
/**
    * First two params are a full set of tags before and after the update.
    *
    * @param array $existingTags The tags previously on the object.
    * @param array $updatedTags The tags currently being updated on the object.
    * @param int $permission Permission of the photo.
    * @return boolean
    */
First two params are a full set of tags before and after the update.
@param array $existingTags The tags previously on the object.
@param array $updatedTags The tags currently being updated on the object.
@param int $permission Permission of the photo.
@return boolean
First two params are a full set of tags before and after the update . @param array $existingTags The tags previously on the object . @param array $updatedTags The tags currently being updated on the object . @param int $permission Permission of the photo . @return boolean
public function updateTagCounts($existingTags, $updatedTags, $permission, $priorPermission)
  {
    $tagsToUpdate = $this->getUpdateTagCountValues($existingTags, $updatedTags, $permission, $priorPermission);
    return $this->db->postTags($tagsToUpdate);
  }
public function updateTagCounts ( $ existingTags , $ updatedTags , $ permission , $ priorPermission ) { $ tagsToUpdate = $ this -> getUpdateTagCountValues ( $ existingTags , $ updatedTags , $ permission , $ priorPermission ) ; return $ this -> db -> postTags ( $ tagsToUpdate ) ; }
First two params are a full set of tags before and after the update.
First two params are a full set of tags before and after the update .