/** * Constructor */ function __construct() { parent::__construct(); $this->type = JRequest::getVar('type', 1, 'default', 'int'); $this->setUserState('type', $this->type); $this->typeconf = BabioonAdHelper::getTypeConf($this->type); $this->systemconfobj = JComponentHelper::getParams('com_babioonad'); }
/** * [__construct description] * * @param array $config [description] */ function __construct($config = array()) { parent::__construct($config); $this->type = JRequest::getVar('type', 1, 'default', 'int'); $this->typeconf = BabioonAdHelper::getTypeConf($this->type); // Get system parameters $this->systemconfobj = JComponentHelper::getParams('com_babioonad'); $this->addTemplatePath(dirname(__FILE__) . '/../legacy'); }