コード例 #1
0
 /**
  * @return accessControlScope
  */
 public static function partialInit()
 {
     $scope = new accessControlScope();
     $scope->setIp(requestUtils::getRemoteAddress());
     $scope->setReferrer(isset($_SERVER["HTTP_REFERER"]) ? $_SERVER["HTTP_REFERER"] : null);
     return $scope;
 }