/** * Lists all models. */ public function actionIndex() { $this->render('index', array('dataTree' => Category::dataTree(true))); }