Legend of the Green Dragon

Moderatedcomments
in package

Moderatedcomments.

Tags
ORM\Table

(name="moderatedcomments")

ORM\Entity

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
ORM\Column

(name="comment", type="text", length=65535)

$moddate

private DateTimeInterface|null $moddate = null
Tags
ORM\Column

(name="moddate", type="datetime")

$moderator

private int|null $moderator = 0
Tags
ORM\Column

(name="moderator", type="integer", options={"unsigned"=true, "default"="0"})

$modid

private int|null $modid = null
Tags
ORM\Column

(name="modid", type="integer", options={"unsigned"=true})

ORM\Id
ORM\GeneratedValue

(strategy="IDENTITY")

Methods

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
Return values
self

Search results