Public Member Functions | |
__construct ($ip) | |
setIp ($ip) | |
getLongIp () | |
toString () | |
toSignedInt () | |
Static Public Member Functions | |
static | create ($ip) |
Private Attributes | |
$longIp = null |
Definition at line 15 of file IpAddress.class.php.
IpAddress::__construct | ( | $ | ip | ) |
Definition at line 27 of file IpAddress.class.php.
References setIp().
static IpAddress::create | ( | $ | ip | ) | [static] |
Definition at line 22 of file IpAddress.class.php.
IpAddress::getLongIp | ( | ) |
Definition at line 47 of file IpAddress.class.php.
Referenced by IpRange::__construct(), and IpNetwork::__construct().
IpAddress::setIp | ( | $ | ip | ) |
IpAddress::toSignedInt | ( | ) |
Definition at line 57 of file IpAddress.class.php.
References TypesUtils::unsignedToSigned().
IpAddress::toString | ( | ) |
Implements Stringable.
Definition at line 52 of file IpAddress.class.php.
IpAddress::$longIp = null [private] |
Definition at line 17 of file IpAddress.class.php.