Pimcore\Model\Element\Tag\Dao::doAddTagToElement PHP Метод

doAddTagToElement() защищенный Метод

protected doAddTagToElement ( $tagId, $cType, $cId )
    protected function doAddTagToElement($tagId, $cType, $cId)
    {
        $data = ["tagid" => $tagId, "ctype" => $cType, "cid" => $cId];
        $this->db->insertOrUpdate("tags_assignment", $data);
    }