/** * Get all defined tags * * Returns a JSON array with all defined tags, used for typeahead * **/ public function all_tags($add_count = FALSE) { $Tag = new Tag_model(); $obj = new View(); $obj->view('json', array('msg' => $Tag->all_tags($add_count))); }
/** * Get all defined tags * * Returns a JSON array with all defined tags, used for typeahead * **/ public function all_tags() { $Tag = new Tag_model(); $obj = new View(); $obj->view('json', array('msg' => $Tag->all_tags())); }