function serveCSS($clear = true) { if ($this->_css != '') { if ($this->_echo) { parent::serveCSS($clear); } else { $document = JFactory::getDocument(); $document->addStyleDeclaration($this->_css); if ($clear) { $this->_css = ''; } } } }
function serveCSS($clear = true) { if ($this->_css != '') { if ($this->_echo) { parent::serveCSS($clear); } else { $document = JFactory::getDocument(); $document->addStyleDeclaration($this->_css); if ($clear) { $this->_css = ''; } } } }