/** * Creates a custom form element. * * @param mixed $parent */ public function __construct($parent = null) { parent::__construct($parent); $this->_template = KService::get('com:base.template.default'); $this->_template->addFilter(array('shorttag', 'alias')); $this->_template->getFilter('alias')->append(array('@route(' => 'JRoute::_(', '@html(\'' => '$this->renderHelper(\'com:base.template.helper.html.')); }