private function settingLable($identifire='support_email') { $settings=new Application_Model_GlobalSettings(); $row=$settings->fetchRow("identifire='$identifire'"); return $row->getLabel(); }
public function indexAction() { $this->view->title = "Url Rewrite Management"; $this->view->headTitle(" - " . $this->view->title); $model = new Application_Model_SeoUrl(); $settings = new Application_Model_GlobalSettings(); $page_size = $settings->settingValue('pagination_size'); $page = $this->_getParam('page', 1); $pageObj = new Base_Paginator(); $paginator = $pageObj->fetchPageData($model, $page, $page_size); $this->view->total = $pageObj->getTotalCount(); $this->view->paginator = $paginator; $this->view->msg = base64_decode($this->_getParam('msg', '')); }
private function setModel($row) { $model = new Application_Model_GlobalSettings(); $model->setId($row->id)->setLabel($row->label)->setIdentifire($row->identifire)->setValue($row->value); return $model; }