/** * 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'); }