Moderatedcomments
in package
Moderatedcomments.
Tags
Table of Contents
- $comment : string|null
- $moddate : DateTimeInterface|null
- $moderator : int|null
- $modid : int|null
- __construct() : mixed
- getComment() : string
- Get the value of Comment.
- getModdate() : DateTime|DateTimeImmutable
- Get the value of Moddate.
- getModerator() : int
- Get the value of Moderator.
- getModid() : int
- Get the value of Modid.
- setComment() : self
- Set the value of Comment.
- setModdate() : self
- Set the value of Moddate.
- setModerator() : self
- Set the value of Moderator.
- setModid() : self
- Set the value of Modid.
Properties
$comment
private
string|null
$comment
= null
Tags
$moddate
private
DateTimeInterface|null
$moddate
= null
Tags
$moderator
private
int|null
$moderator
= 0
Tags
$modid
private
int|null
$modid
= null
Tags
Methods
__construct()
public
__construct() : mixed
Return values
mixed —getComment()
Get the value of Comment.
public
getComment() : string
Return values
string —getModdate()
Get the value of Moddate.
public
getModdate() : DateTime|DateTimeImmutable
Return values
DateTime|DateTimeImmutable —getModerator()
Get the value of Moderator.
public
getModerator() : int
Return values
int —getModid()
Get the value of Modid.
public
getModid() : int
Return values
int —setComment()
Set the value of Comment.
public
setComment(string $comment) : self
Parameters
- $comment : string
Return values
self —setModdate()
Set the value of Moddate.
public
setModdate(DateTime|DateTimeImmutable $moddate) : self
Parameters
- $moddate : DateTime|DateTimeImmutable
Return values
self —setModerator()
Set the value of Moderator.
public
setModerator(int $moderator) : self
Parameters
- $moderator : int
Return values
self —setModid()
Set the value of Modid.
public
setModid(int $modid) : self
Parameters
- $modid : int