/** * * gibt einen Array mit HTML Tags zurück die REL-Tags sind und jeweils ein CSS File laden * @return HTMLTag[] */ public function getHTML() { $html = array(); foreach ($this->enqueued as $alias) { $file = $this->files[$alias]['name']; $html[] = Helper::load(mb_strpos($file, '/') === 0 ? $file : $this->url . ltrim($file, '/')); } return $html; }
/** * @return Psc\HTML\Tag */ public function loadConditionalCSS($url, $condition, $media = 'all') { $this->head->content[$url] = '<!--[if ' . $condition . ']>' . ($css = css::load($url, $media)) . '<![endif]-->'; return $css; }