src/libraries/adapters/DatabaseMySql.php
/**
    * Update multiple tags.
    * The $params should include the tag in the `id` field.
    * [{id: tag1, count:10, longitude:12.34, latitude:56.78},...]
    *
    * @param array $params Tags and related attributes to update.
    * @return boolean
    */
Update multiple tags.
The $params should include the tag in the `id` field.

@param array $params Tags and related attributes to update.
@return boolean
Update multiple tags . The $params should include the tag in the ` id ` field . @param array $params Tags and related attributes to update . @return boolean
public function postTags($params)
  {
    if(empty($params))
      return true;
    foreach($params as $tagObj)
    {
      $res = $this->postTag($tagObj['id'], $tagObj);
    }
    return $res;
  }
public function postTags ( $ params ) { if ( empty ( $ params ) ) return true ; foreach ( $ params as $ tagObj ) { $ res = $ this -> postTag ( $ tagObj [ 'id' ] , $ tagObj ) ; } return $ res ; }
Update multiple tags.
Update multiple tags .