[ Index ] |
PHP Cross Reference of DokuWiki |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 193 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
StyleUtils:: (5 methods):
__construct()
cssStyleini()
getValidatedStyles()
getWebbase()
cssFixreplacementurls()
Class: StyleUtils - X-Ref
Class StyleUtils__construct($tpl = '', $preview = false, $reinit = false) X-Ref |
StyleUtils constructor. param: string $tpl template name: if not passed as argument, the default value from $conf will be used param: bool $preview param: bool $reinit whether static style conf should be reinitialized |
cssStyleini() X-Ref |
Load style ini contents Loads and merges style.ini files from template and config and prepares the stylesheet modes return: array with keys 'stylesheets' and 'replacements' author: Andreas Gohr <andi@splitbrain.org> author: Anna Dabrowska <info@cosmocode.de> |
getValidatedStyles($stylesheets, $file, $mode, $incbase, $webbase) X-Ref |
Checks if configured style files exist and, if necessary, adjusts file extensions in config param: array $stylesheets param: string $file param: string $mode param: string $incbase param: string $webbase return: mixed |
getWebbase($config_group) X-Ref |
Returns the web base path for the given level/group in config cascade. Style resources are relative to the template directory for the main (default) styles but relative to DOKU_BASE for everything else" param: string $config_group return: string |
cssFixreplacementurls($replacements, $location) X-Ref |
Amend paths used in replacement relative urls, refer FS#2879 param: array $replacements with key-value pairs param: string $location return: array author: Chris Smith <chris@jalakai.co.uk> |