/** * Tag index route (/tag/) * @param \Base $f3 */ public function index($f3) { $tag = new \Model\Issue\Tag(); $cloud = $tag->cloud(); shuffle($cloud); $f3->set("title", $f3->get("dict.issue_tags")); $f3->set("cloud", $cloud); $this->_render("tag/index.html"); }
public function tag($f3) { $tag = new \Model\Issue\Tag(); $tags = $tag->cloud(); $this->_printJson($tags); }