-
Notifications
You must be signed in to change notification settings - Fork 20
Customcontroller
The CustomController is the base class of all controllers. It contains following actions:
-
###init The init action initializes all Helper and it inits all users permissions.
-
###preDispatch Is called before sending a request of FlashMessanger
-
###postDispatch Is called after sending a request of FlashMessanger
-
###addFlashMessage($message, $redirect_url = null) This function adds a message to the FlashMessanger
-
###getUrl(array $urlOptions = array(), $name = null, $reset = true, $encode = true) Is called before sending a request of FlashMessanger
-
###changeLanguageAction() Gets the languagecode of the url and changes the language of the side
-
###setIdentity($identity) Saves the Identity of the logged in user in the storage
-
###getIdentity() Gets the identity of logged in user from the storage or null if no user is logged in
-
###hasIdentity() Checkes if the identity is not null
-
###getProfileImage() Gets the profile image of the logged in user from the database
-
###getSession() Gets the current Session context.
-
###getNavigationHelper() Gets a instance of the Navigationhelper class
-
###getSidebarHelper() Gets a instance of the Sidebarhelper class
-
###getActiveLanguage() Gets the selected language
-
###getTranslatedLanguages() Gets the language Translations from the csv files.