示例#1
0
 /**
  * Конструктор класса
  *
  */
 function __construct()
 {
     $this->_setEngine(self::ENGINE_CLICK);
     parent::__construct();
     $this->CI =& get_instance();
     // Инициализируем storage
     $this->_initStorage();
     // Сохраняем, если нужно, данные по пользователю
     if (!$this->_isStoredVisitorData()) {
         $this->_storeVisitorData();
     } else {
         $this->_restoreVisitorData();
     }
 }
示例#2
0
 /**
  * Конструктор класса
  *
  */
 function __construct()
 {
     $this->_setEngine(self::ENGINE_SEARCH);
     parent::__construct();
 }