getFlashNotice() getFlashNotice(bool $remove) : string Get flash notice message and remove from session if needed Parameters bool $remove True if message should be removed from session, false by default Returns string — Flash notice message
getFlashError() getFlashError(bool $remove) : string Get flash error message and remove from session if needed Parameters bool $remove True if message should be removed from session, false by default Returns string — Flash error message
addWidget() addWidget(\RoxWidget $widget) Widgets added this way will be asked for stylesheet and scriptfile information TODO: evtl not a good idea to do it this way. Parameters \RoxWidget $widget
getStylesheets() getStylesheets() don't forget to call $stylesheets = parent::$this->getStylesheets(); when reimplementing this method!!
getTopmenuItems() getTopmenuItems() Return a list of items to show in the sub menu. Each item is an array of keyword, url and translatable Word
getCallbackOutput() getCallbackOutput(string $controller, string $method) : string shortcut to get callback variables for form Parameters string $controller controller to callback to string $method method in controller Returns string
getRedirectedMem() getRedirectedMem(string $array) : array returns the redirected post vars, if any Parameters string $array which saved array to return from the redirected mem Returns array
getScriptfiles() getScriptfiles() : array returns all registered early load scripts these are the scripts to be loaded in the html head element Returns array
getLateLoadScriptfiles() getLateLoadScriptfiles() : array returns all registered late load scripts these are the scripts to be loaded at the end of the page Returns array
addEarlyLoadScriptFile() addEarlyLoadScriptFile(string $file) : void registers a script for early loading Parameters string $file js file to early load
addLateLoadScriptFile() addLateLoadScriptFile(string $file) : void registers a script for late loading Parameters string $file js file to early load
includeCustomElements() includeCustomElements() allows for outputting custom elements in the page <head> element
includeJsConfig() includeJsConfig() Inserts JavaScript configuration. Reads [javascript] section in rox.ini and makes it available via bwroxConfig object in JavaScript.
includeLateScriptfiles() includeLateScriptfiles() : void outputs script tags that include script files called at the end of pages
set_layoutkit() set_layoutkit(\unknown_type $layoutkit) called by the framework, to inject some essential values. . Parameters \unknown_type $layoutkit
logWrite() logWrite(string $string, string $type) wrapper for calls to MOD_log::get->write() Parameters string $string string $type
getVersionInfo() getVersionInfo() : string returns the revision number saved in revision.txt Returns string
getFlash() getFlash(string $type, bool $remove) : string Get flash message and remove from session if needed Parameters string $type Type of flash, i.e. "error" or "notice" bool $remove True if message should be removed from session, false by default Returns string — Flash message