Example #1
0
 /**
  * Constructor.
  *
  * @param   object  An optional KConfig object with configuration options
  */
 public function __construct(KConfig $config)
 {
     parent::__construct($config);
     $this->_alias_read = array_merge($this->_alias_read, array('@previous(' => '$this->loadParent(', '@template(' => '$this->loadTemplate(', '@route(' => 'KService::get(\'com:base.helper.url\')->getRoute(', '@html(\'' => '$this->renderHelper(\'com:base.template.helper.html.'));
 }
Example #2
0
 /**
  * Constructor.
  *
  * @param 	object 	An optional KConfig object with configuration options
  */
 public function __construct(KConfig $config)
 {
     parent::__construct($config);
     $this->_alias_read = array_merge($this->_alias_read, array('@title(' => 'JFactory::getDocument()->setTitle(', '@description(' => 'JFactory::getDocument()->setDescription(', '@controller(' => '$this->renderHelper(\'controller.getController\',', '@view(' => '$this->renderHelper(\'controller.getView\',', '@previous(' => '$this->getHelper(\'previous\')->load(', '@template(' => '$this->getView()->load(', '@route(' => '$this->getView()->getRoute(', '@html(\'' => '$this->renderHelper(\'com:base.template.helper.html.'));
 }