public function __construct() { $this->_table_prefix = '#__' . TABLE_PREFIX . '_'; $this->_db = JFactory::getDbo(); statistic::reshop_visitors(); statistic::reshop_pageview(); }