function uniqueId($referrer) { $search = $this->getSearchEngine($referrer); if ($search === array()) { return array('search_engine_id' => 0, 'keywords' => null); } return array('search_engine_id' => parent::uniqueId(array('search_engine' => $search['search_engine'])), 'keywords' => $search['keywords']); }
function uniqueId($array) { if (env('HTTP_HOST') === parse_url($array['referrer'], PHP_URL_HOST)) { return 0; } else { return parent::uniqueId($array); } }
function uniqueId($useragent) { $OS = $this->getOS($useragent); return parent::uniqueId($OS); }
function uniqueId($useragent) { $browser = $this->getBrowser($useragent); return parent::uniqueId($browser); }
function uniqueId($useragent) { $spider = $this->getSpider($useragent); return parent::uniqueId($spider); }