Exemplo n.º 1
0
 /**
  * Set 'inline' CSS. This will add CSS files from outside of public HTML
  * to be added to a template.
  * @param   string   $css file path of the css
  * @param   int      $order the loading order of css 0 is first > 0 is
  *                   later
  * @param array $options array ('no_cache' => 0)
  */
 public static function setInlineCss($css, $order = null, $options = array())
 {
     $str = file::getCachedFile($css);
     if (isset(self::$inlineCss[$order])) {
         self::setInlineCss($css, $order + 1);
     } else {
         self::$inlineCss[] = $str;
     }
 }