tagModel->getAll(); } public function getTagsByProject($project_id) { ProjectAuthorization::getInstance($this->container)->check($this->getClassName(), 'getTagsByProject', $project_id); return $this->tagModel->getAllByProject($project_id); } public function createTag($project_id, $tag) { ProjectAuthorization::getInstance($this->container)->check($this->getClassName(), 'createTag', $project_id); return $this->tagModel->findOrCreateTag($project_id, $tag); } public function updateTag($tag_id, $tag) { TagAuthorization::getInstance($this->container)->check($this->getClassName(), 'updateTag', $tag_id); return $this->tagModel->update($tag_id, $tag); } public function removeTag($tag_id) { TagAuthorization::getInstance($this->container)->check($this->getClassName(), 'removeTag', $tag_id); return $this->tagModel->remove($tag_id); } }