25 lines
833 B
PHP
25 lines
833 B
PHP
<?php
|
|
/**
|
|
* @version $Id: RokNavMenu2XRenderer.php 4585 2012-10-27 01:44:54Z btowles $
|
|
* @author RocketTheme http://www.rockettheme.com
|
|
* @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
|
|
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
|
|
*/
|
|
class RokNavMenu2XRenderer extends RokMenuDefaultRenderer
|
|
{
|
|
public function renderHeader(){
|
|
parent::renderHeader();
|
|
$doc = JFactory::getDocument();
|
|
|
|
foreach($this->layout->getScriptFiles() as $script){
|
|
$doc->addScript($script['relative']);
|
|
}
|
|
|
|
foreach($this->layout->getStyleFiles() as $style){
|
|
$doc->addStyleSheet($style['relative']);
|
|
}
|
|
$doc->addScriptDeclaration($this->layout->getInlineScript());
|
|
$doc->addStyleDeclaration($this->layout->getInlineStyle());
|
|
}
|
|
}
|