class IpAccessControlEvent (View source)

Represent an IP Access Control Event.

Properties

protected int|null $ipAccessControlEventID

The IP Access Control Event identifier.

protected IpAccessControlCategory $category

The associated IP Access Control Category.

protected Site|null $site

The Site where this event occurred (if applicable).

protected string $ip

The IP address associated to this event.

protected DateTime $dateTime

The date/time when this event occurred.

private AddressInterface|null $ipAddress

the IP address associated to this event.

Methods

int|null
getIpAccessControlEventID()

Get the IP Access Control Event 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 event occurred (if applicable).

$this
setSite(Site $value = null)

Set the Site where this event occurred (if applicable).

AddressInterface
getIpAddress()

Get the IP address associated to this event.

$this
setIpAddress(AddressInterface $value)

Set the IP address associated to this event.

getDateTime()

Get the date/time when this event occurred.

$this
setDateTime(DateTime $value)

Set the date/time when this event occurred.

string
getIp()

Get the IP address associated to this event.

$this
setIp(string $value)

Set the IP address associated to this event.

Details

int|null getIpAccessControlEventID()

Get the IP Access Control Event 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 event occurred (if applicable).

Return Value

Site|null

$this setSite(Site $value = null)

Set the Site where this event occurred (if applicable).

Parameters

Site $value

Return Value

$this

AddressInterface getIpAddress()

Get the IP address associated to this event.

Return Value

AddressInterface

$this setIpAddress(AddressInterface $value)

Set the IP address associated to this event.

Parameters

AddressInterface $value

Return Value

$this

DateTime getDateTime()

Get the date/time when this event occurred.

Return Value

DateTime

$this setDateTime(DateTime $value)

Set the date/time when this event occurred.

Parameters

DateTime $value

Return Value

$this

protected string getIp()

Get the IP address associated to this event.

Return Value

string

protected $this setIp(string $value)

Set the IP address associated to this event.

Parameters

string $value

Return Value

$this