/**
  * @param MvcEvent $event
  *
  * @return mixed|void
  */
 public function onDispatch(MvcEvent $event)
 {
     $this->addBreadcrumb(['reference' => '/admin/administrator', 'name' => $this->translate('ADMINISTRATORS')]);
     $this->administratorTable = $this->getTable('SD\\Admin\\Model\\AdministratorTable');
     $this->userTable = $this->getTable('SD\\Admin\\Model\\UserTable');
     parent::onDispatch($event);
 }
Esempio n. 2
0
 /**
  * @param MvcEvent $event
  *
  * @return mixed|void
  */
 public function onDispatch(MvcEvent $event)
 {
     $this->addBreadcrumb(['reference' => '/admin/category', 'name' => $this->translate('CATEGORIES')]);
     $this->categoryTable = $this->getTable('SD\\Admin\\Model\\CategoryTable');
     parent::onDispatch($event);
 }
Esempio n. 3
0
 /**
  * @param MvcEvent $event
  *
  * @return mixed|void
  */
 public function onDispatch(MvcEvent $event)
 {
     $this->addBreadcrumb(['reference' => '/admin/language', 'name' => $this->translate('LANGUAGE')]);
     $this->languageTable = $this->getTable('SD\\Admin\\Model\\LanguageTable');
     parent::onDispatch($event);
 }
Esempio n. 4
0
 /**
  * @param MvcEvent $event
  *
  * @return mixed|void
  */
 public function onDispatch(MvcEvent $event)
 {
     $this->addBreadcrumb(['reference' => '/admin/admin-menu', 'name' => $this->translate('ADMIN_MENUS')]);
     $this->adminMenuTable = $this->getTable('SD\\Admin\\Model\\AdminMenuTable');
     parent::onDispatch($event);
 }
Esempio n. 5
0
 /**
  * @param MvcEvent $event
  *
  * @return mixed|void
  */
 public function onDispatch(MvcEvent $event)
 {
     $this->addBreadcrumb(['reference' => '/admin/content', 'name' => $this->translate('CONTENTS')]);
     $this->contentTable = $this->getTable('SD\\Admin\\Model\\ContentTable');
     parent::onDispatch($event);
 }
Esempio n. 6
0
 /**
  * @param MvcEvent $event
  *
  * @return mixed|void
  */
 public function onDispatch(MvcEvent $event)
 {
     parent::onDispatch($event);
     $this->addBreadcrumb(['reference' => '/admin/settings', 'name' => $this->translate('SETTINGS')]);
 }