Exemplo n.º 1
0
 /**
  * Class init.
  *
  * @param string     $layoutId
  * @param \JDocument $template
  * @param string     $basePath
  * @param array      $options
  */
 public function __construct($layoutId, \JDocument $template = null, $basePath = null, $options = null)
 {
     $this->tpl = $template ?: \JFactory::getDocument();
     parent::__construct($layoutId, $basePath, $options);
 }