/** * Show the style */ public function show() { // check if the style is already loaded if (!isset(self::$loaded[$this->name])) { $style = $this->getContent(); TPage::register_css($this->name, $style); // mark the style as loaded self::$loaded[$this->name] = TRUE; self::$styles[$this->name] = $this; } }