/** * * @param type $scriptFile * @return \Zo2Template */ public function addStyleSheet($scriptFile) { $url = $this->path->getUrl($key); if ($url) { $document = JFactory::getDocument(); $document->addStyleSheet($url); } return $this; }