Example #1
0
 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', ''));
 }
Example #2
0
 private function settingValue($identifire = 'support_email')
 {
     $settings = new Application_Model_GlobalSettings();
     $value = $settings->settingValue($identifire);
     return $value;
 }