Motd
in package
Motd.
Tags
Table of Contents
- $motdauthor : int|null
- $motdbody : string|null
- $motddate : DateTimeInterface|null
- $motditem : int|null
- $motdtitle : string|null
- $motdtype : bool|null
- __construct() : mixed
- getMotdauthor() : int
- Get the value of Motdauthor.
- getMotdbody() : string
- Get the value of Motdbody.
- getMotddate() : DateTime|DateTimeImmutable
- Get the value of Motddate.
- getMotditem() : int|null
- Get the value of Motditem.
- getMotdtitle() : string
- Get the value of Motdtitle.
- getMotdtype() : bool
- Get the value of Motdtype.
- setMotdauthor() : self
- Set the value of Motdauthor.
- setMotdbody() : self
- Set the value of Motdbody.
- setMotddate() : self
- Set the value of Motddate.
- setMotditem() : self
- Set the value of Motditem.
- setMotdtitle() : self
- Set the value of Motdtitle.
- setMotdtype() : self
- Set the value of Motdtype.
Properties
$motdauthor
private
int|null
$motdauthor
= 0
Tags
$motdbody
private
string|null
$motdbody
= ''
Tags
$motddate
private
DateTimeInterface|null
$motddate
= null
Tags
$motditem
private
int|null
$motditem
= null
Tags
$motdtitle
private
string|null
$motdtitle
= ''
Tags
$motdtype
private
bool|null
$motdtype
= false
Tags
Methods
__construct()
public
__construct() : mixed
Return values
mixed —getMotdauthor()
Get the value of Motdauthor.
public
getMotdauthor() : int
Return values
int —getMotdbody()
Get the value of Motdbody.
public
getMotdbody() : string
Return values
string —getMotddate()
Get the value of Motddate.
public
getMotddate() : DateTime|DateTimeImmutable
Return values
DateTime|DateTimeImmutable —getMotditem()
Get the value of Motditem.
public
getMotditem() : int|null
Return values
int|null —getMotdtitle()
Get the value of Motdtitle.
public
getMotdtitle() : string
Return values
string —getMotdtype()
Get the value of Motdtype.
public
getMotdtype() : bool
Return values
bool —setMotdauthor()
Set the value of Motdauthor.
public
setMotdauthor(int $motdauthor) : self
Parameters
- $motdauthor : int
Return values
self —setMotdbody()
Set the value of Motdbody.
public
setMotdbody(string $motdbody) : self
Parameters
- $motdbody : string
Return values
self —setMotddate()
Set the value of Motddate.
public
setMotddate(DateTime|DateTimeImmutable $motddate) : self
Parameters
- $motddate : DateTime|DateTimeImmutable
Return values
self —setMotditem()
Set the value of Motditem.
public
setMotditem(int $motditem) : self
Parameters
- $motditem : int
Return values
self —setMotdtitle()
Set the value of Motdtitle.
public
setMotdtitle(string $motdtitle) : self
Parameters
- $motdtitle : string
Return values
self —setMotdtype()
Set the value of Motdtype.
public
setMotdtype(bool $motdtype) : self
Parameters
- $motdtype : bool