public function listAction()
 {
     $menuId = $this->setMenuId();
     $viewModel = parent::listAction();
     $viewModel->setVariable('menuId', $menuId);
     return $viewModel;
 }
 public function indexAction()
 {
     try {
         $viewModel = parent::indexAction();
     } catch (\Exception $e) {
         $model = new ViewModel();
         $model->setTemplate('uthando-session-manager/session-manager/not-implemented');
     }
     return $viewModel;
 }
 public function editAction()
 {
     $id = (int) $this->params('id', 0);
     $this->getService()->setFormOptions(['subscriber_id' => $id]);
     return parent::editAction();
 }
Exemplo n.º 4
0
 public function addAction()
 {
     $this->getService()->setFormOptions(['include_password' => true]);
     return parent::addAction();
 }