public function indexAction() { $this->_helper->layout()->disableLayout(); $points = new Admin_Model_DbTable_Points(); $points_data = $points->fetchAll('status="1"', 'sort_order asc'); $this->view->pointsdata = $points_data; }
public function purchasepointsAction() { $points = new Admin_Model_DbTable_Points(); $points_data = $points->fetchAll('status="1"', 'sort_order asc'); $this->view->pointsdata = $points_data; }