/** * @return ICWP_WPSF_DataProcessor */ public static function loadDataProcessor() { if (!isset(self::$oDp)) { require_once dirname(__FILE__) . ICWP_DS . 'icwp-data.php'; self::$oDp = ICWP_WPSF_DataProcessor::GetInstance(); } return self::$oDp; }
/** * @return bool|int|string */ public function getVisitorIpVersion() { if (empty(self::$nIpAddressVersion)) { self::$nIpAddressVersion = $this->getIpAddressVersion($this->getVisitorIpAddress(true)); } return self::$nIpAddressVersion; }