Function __global->_css_tempcode

Definitions

sources/web_resources.php

  • Get Tempcode to tie in (to the HTML, in <head>) for an individual CSS file.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: N/A

Parameters

Name Type Default Set Range Description
$c ID_TEXT required parameter N/A N/A The CSS file required
$css Tempcode required parameter N/A N/A Main Tempcode object (will be written into if appropriate)
$css_need_inline Tempcode required parameter N/A N/A Inline Tempcode object (will be written into if appropriate)
$inline boolean False N/A N/A Only do global CSS
$context ?string Null N/A N/A HTML context for which we filter (minimise) any CSS we spit out as inline (null: none)
$theme ?ID_TEXT Null N/A N/A The name of the theme (null: current theme) (null: from what is cached)
$_seed ?ID_TEXT Null N/A N/A The seed colour (null: previous cached) (blank: none) (null: from what is cached)
$_minify ?boolean Null N/A N/A Whether minifying (null: from what is cached)
$_https ?boolean Null N/A N/A Whether doing HTTPS (null: from what is cached)
$_mobile ?boolean Null N/A N/A Whether operating in mobile mode (null: from what is cached)
$do_enforce boolean True N/A N/A Whether to generate the cached file if not already cached