function get_category_3() { $category_2 = get_post_value('category_2'); $m = new Category(); $data = $m->getCategory_3($category_2); $this->assign('json', $data); $this->setReturnType('json'); }
function get_category_3() { $m = new Category(); $data = $m->getCategory_3(); return $data; }