/** * Creates all Admin View Modifications * * @throws Exception */ private function _applyAdminViewModifications() { try { $parent = $this->_bootstrap->Menu()->findOneBy('label', 'logfile'); $this->_bootstrap->createMenuItem(array('label' => 'Sofort AG Log', 'class' => 'sprite-cards-stack', 'active' => 1, 'controller' => 'SofortLogView', 'action' => 'index', 'parent' => $parent)); $parent = $this->_bootstrap->Menu()->findOneBy('label', 'Zahlungen'); $this->_bootstrap->createMenuItem(array('label' => 'Sofort AG Orders', 'class' => 'sprite-cards-stack', 'active' => 1, 'controller' => 'SofortOrderView', 'action' => 'index', 'parent' => $parent)); } catch (Exception $exception) { throw new Exception("can not create menuentry." . $exception->getMessage()); } }