public static function registerApplication() { /** * Register Module */ Error::registerModule(); Support::registerModule(); /** * Register Route */ Main::getDispatcher()->registerRoute(Main::getDispatcher()->createRoute(__NAMESPACE__, 'Assistance::frontendAssistance')); }
public static function registerApplication() { /** * Register Module */ Error::registerModule(); Support::registerModule(); /** * Register Navigation */ Main::getDisplay()->addServiceNavigation(new Link(new Link\Route(__NAMESPACE__), new Link\Name('Hilfe'), new Link\Icon(new Question()))); // Main::getDisplay()->addApplicationNavigation( // new Link( new Link\Route( __NAMESPACE__ ), new Link\Name( 'Hilfe' ), new Link\Icon( new Question() ) ) // ); /** * Register Route */ Main::getDispatcher()->registerRoute(Main::getDispatcher()->createRoute(__NAMESPACE__, 'Assistance::frontendAssistance')); }