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
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
getStylesheets() getStylesheets() don't forget to call $stylesheets = parent::$this->getStylesheets(); when reimplementing this method!!
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