function viewAction() { parent::viewAction(); $obj = new CateModel(); $this->data['category'] = $obj->getTree($this->data['data']->category); return $this->view($this->view, $this->data); }