Public Member Functions | |
__construct (IpAddress $ip, $mask) | |
getMask () | |
getStart () | |
| |
getEnd () | |
| |
contains ($probe) | |
Static Public Member Functions | |
static | create (IpAddress $ip, $mask) |
| |
Public Attributes | |
const | MASK_MAX_SIZE = 31 |
Private Attributes | |
$ip = null | |
$end = null | |
$mask = null | |
$longMask = null |
Definition at line 16 of file IpNetwork.class.php.
IpNetwork::__construct | ( | IpAddress $ | ip, | |
$ | mask | |||
) |
static IpNetwork::create | ( | IpAddress $ | ip, | |
$ | mask | |||
) | [static] |
IpNetwork::getMask | ( | ) |
Definition at line 50 of file IpNetwork.class.php.
IpNetwork::getStart | ( | ) |
IpNetwork::getEnd | ( | ) |
Implements SingleRange.
Definition at line 66 of file IpNetwork.class.php.
References IpAddress::create().
IpNetwork::contains | ( | $ | probe | ) |
const IpNetwork::MASK_MAX_SIZE = 31 |
Definition at line 18 of file IpNetwork.class.php.
IpNetwork::$ip = null [private] |
Definition at line 20 of file IpNetwork.class.php.
IpNetwork::$end = null [private] |
Definition at line 21 of file IpNetwork.class.php.
IpNetwork::$mask = null [private] |
IpNetwork::$longMask = null [private] |
Definition at line 23 of file IpNetwork.class.php.