Ir al contenido
Docs

Referencia de clases y funciones

IpFilter

Lista de métodos públicos de la clase Zittme\Framework\Filters\IpFilter. Este documento se generó automáticamente a partir del código fuente del núcleo de Zittme.

Fuente: common/framework/filters/IpFilter.php

Métodos públicos

  • static function inRange(string $ip, string $range)
  • Check whether the given IP address belongs to a range.
  • static function inRanges(string $ip, array $ranges)
  • Check whether the given IP address belongs to a set of ranges.
  • static function validateRange(string $range)
  • Check whether a range definition is valid.
  • static function validateRanges(array $ranges)
  • Check whether a set of range definitions is valid.
  • static function getCloudFlareRealIP()
  • Get real IP from CloudFlare headers.