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