protected function addExtraFieldInternal($extraField, $condition, $refValue) { $extraFieldParams = array($extraField, $condition, $refValue); if (in_array($extraFieldParams, $this->_extraFields)) { return; } // already added $this->_extraFields[] = $extraFieldParams; if ($extraField != self::ECF_REFERRER || self::$_usesHttpReferrer) { self::$_hasExtraFields = true; } $this->addExtraFieldsToCacheParams($extraField, $condition, $refValue); }