class IpAccessControlRange (View source)

Represent an IP Access Control Range.

Properties

protected int|null $ipAccessControlRangeID

The IP Access Control Range identifier.

protected IpAccessControlCategory $category

The associated IP Access Control Category.

protected Site|null $site

The Site where this range is defined occurred (if applicable).

protected string $ipFrom

The initial IP address of the range.

protected string $ipTo

The final IP address of the range.

protected int $type

The type of this range.

protected DateTime|null $expiration

The date/time when this range expires (NULL means no expiration).

private RangeInterface|null $ipRange

The RangeInterface instance associated to this range.

Methods

int|null
getIpAccessControlRangeID()

Get the IP Access Control Range identifier.

getCategory()

Get the associated IP Access Control Category.

$this
setCategory(IpAccessControlCategory $value)

Set the associated IP Access Control Category.

Site|null
getSite()

Get the Site where this range is defined occurred (if applicable).

$this
setSite(Site $value = null)

No description

RangeInterface
getIpRange()

Get the RangeInterface instance associated to this range.

$this
setIpRange(RangeInterface $value)

Set the RangeInterface instance associated to this range.

int
getType()

Get the type of this range.

$this
setType(int $value)

Set the type of this range.

DateTime|null
getExpiration()

Get the date/time when this range expires (NULL means no expiration).

setExpiration(DateTime $value = null)

No description

string
getIpFrom()

Get the initial IP address of the range.

$this
setIpFrom(string $value)

Set the initial IP address of the range.

string
getIpTo()

Get the final IP address of the range.

$this
setIpTo(string $value)

Set the final IP address of the range.

Details

int|null getIpAccessControlRangeID()

Get the IP Access Control Range identifier.

Return Value

int|null

returns NULL when the record has not been saved yet

IpAccessControlCategory getCategory()

Get the associated IP Access Control Category.

$this setCategory(IpAccessControlCategory $value)

Set the associated IP Access Control Category.

Parameters

IpAccessControlCategory $value

Return Value

$this

Site|null getSite()

Get the Site where this range is defined occurred (if applicable).

Return Value

Site|null

$this setSite(Site $value = null)

No description

Parameters

Site $value

Return Value

$this

RangeInterface getIpRange()

Get the RangeInterface instance associated to this range.

Return Value

RangeInterface

$this setIpRange(RangeInterface $value)

Set the RangeInterface instance associated to this range.

Parameters

RangeInterface $value

Return Value

$this

int getType()

Get the type of this range.

Return Value

int

$this setType(int $value)

Set the type of this range.

Parameters

int $value

Return Value

$this

DateTime|null getExpiration()

Get the date/time when this range expires (NULL means no expiration).

Return Value

DateTime|null

setExpiration(DateTime $value = null)

No description

Parameters

DateTime $value

protected string getIpFrom()

Get the initial IP address of the range.

Return Value

string

protected $this setIpFrom(string $value)

Set the initial IP address of the range.

Parameters

string $value

Return Value

$this

protected string getIpTo()

Get the final IP address of the range.

Return Value

string

protected $this setIpTo(string $value)

Set the final IP address of the range.

Parameters

string $value

Return Value

$this