public function indexAction()
 {
     $this->view->Title = 'Chuyên mục :: Hỏi - Đáp :: Danh sách';
     $this->view->headTitle($this->view->Title, true);
     $tblItem = new Donga_Model_QuestionAnswer();
     $this->view->items = $tblItem->listItems($this->_arrParams, array('task' => 'admin-list'));
     $totalItem = $tblItem->countItem($this->_arrParams);
     $paginator = new Zendda_Paginator();
     $this->view->panigator = $paginator->createPaginator($totalItem, $this->_paginator);
 }
 public function answerAction()
 {
     $tbl_qa = new Donga_Model_QuestionAnswer();
     $title = 'Hỏi - Đáp | Mầm Non Kim Đồng | www.mamnonkimdong.edu.vn';
     $this->view->headTitle($title, true);
     $this->_arrParam['ssFilter']['is_answer'] = 1;
     $this->_arrParam['ssFilter']['status'] = 1;
     $this->_arrParam['ssFilter']['col'] = 'created';
     $this->_arrParam['ssFilter']['order'] = 'DESC';
     $this->view->items = $tbl_qa->listItems($this->_arrParam, array('task' => 'admin-list'));
     $totalItem = $tbl_qa->countItem($this->_arrParam, array('task' => 'public-qa'));
     $paginator = new Zendda_Paginator();
     $this->view->panigator = $paginator->createPaginator($totalItem, $this->_paginator);
 }