public function __construct(BackendController $moduleController, $moduleName)
 {
     parent::__construct($moduleController, $moduleName);
     $this->controllerRoutes = array('/' => array('*' => 'getModuleOverview'), '/page/(\\d+)' => array('GET' => 'getPageDetails'), '/page/(\\d+)/edit' => array('GET' => 'getPageEdit', 'POST' => 'postPageEdit'), '/page/create' => array('GET' => 'getPageEdit', 'POST' => 'postPageEdit'), '/page/(\\d+)/delete' => array('GET' => 'deleteNewsEntry'), '/page/(\\d+)/right-add' => array('GET' => 'getPageRightEdit', 'POST' => 'processPageRightEdit'));
     $this->pageModel = new PageModel($this->cmsController->getDB());
     $this->routeModel = new RouteModel($this->cmsController->getDB());
 }
 public function __construct(BackendController $moduleController, $moduleName)
 {
     parent::__construct($moduleController, $moduleName);
     $this->controllerRoutes = array('/' => array('GET' => 'getModuleOverview'), '/account/(\\d+)/view' => array('GET' => 'getViewAccount', 'POST' => 'postViewAccount'), '/account/add' => array('GET' => 'getEditAccount', 'POST' => 'postEditAccount'), '/account/(\\d+)/edit' => array('GET' => 'getEditAccount', 'POST' => 'postEditAccount'), '/rightgroup/add' => array('GET' => 'getEditRightGroup', 'POST' => 'postEditRightGroup'), '/rightgroup/(\\d+)/edit' => array('GET' => 'getEditRightGroup', 'POST' => 'postEditRightGroup'));
     $localePath = __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'locale' . DIRECTORY_SEPARATOR;
     $this->translator = $this->cmsController->getTranslator($localePath);
     $this->translator->bindTextDomain('backend', 'UTF-8');
     $this->loginModel = new LoginModel($this->cmsController->getDB());
     $this->rightGroupModel = new RightGroupModel($this->cmsController->getDB());
 }
 public function __construct(BackendController $moduleController, $moduleName)
 {
     parent::__construct($moduleController, $moduleName);
     $this->controllerRoutes = array('/' => array('GET' => 'getModuleOverview'), '/http-errors' => array('*' => 'viewHttpErrors'), '/http-errors/view/(\\d+)' => array('GET' => 'viewHttpErrorDetail'));
 }
 public function __construct(BackendController $moduleController, $moduleName)
 {
     parent::__construct($moduleController, $moduleName);
     $this->controllerRoutes = array('/' => array('*' => 'getModuleOverview'), '/entry/(\\d+)/edit' => array('GET' => 'getEditNavEntry', 'POST' => 'postEditNavEntry'), '/entry/add' => array('GET' => 'getEditNavEntry', 'POST' => 'postEditNavEntry'), '/entry/(\\d+)/delete' => array('GET' => 'deleteNavEntry'), '/nav/(\\d+)/edit' => array('GET' => 'getEditNav', 'POST' => 'postEditNav'), '/nav/add' => array('GET' => 'getEditNav', 'POST' => 'postEditNav'), '/nav/(\\d+)/delete' => array('GET' => 'deleteNav'), '/nav/(\\d+)/entry/(\\d+)/edit' => array('GET' => 'getEditNavHasEntry', 'POST' => 'postEditNavHasEntry'), '/nav/(\\d+)/edit/update-order' => array('POST' => 'postUpdateNavEntries'));
     $this->navigationModel = new NavigationModel($this->cmsController->getDB());
 }
 public function __construct(BackendController $moduleController, $moduleName)
 {
     parent::__construct($moduleController, $moduleName);
     //$this->baseLink = '/backend/module/mod_search';
     $this->controllerRoutes = array('/' => array('GET' => 'getModuleOverview'), '/optimize' => array('GET' => 'optimizeSearchIndex'), '/rebuild' => array('GET' => 'rebuildSearchIndex'));
 }