Ejemplo n.º 1
0
 /**
  * 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');
 }
Ejemplo n.º 2
0
 /**
  * [__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');
 }