Legend of the Green Dragon

Moderatedcomments

Moderatedcomments.

Tags
ORM\Table

(name="moderatedcomments")

ORM\Entity

Table of Contents

$comment  : string
$moddate  : DateTime
$moderator  : int
$modid  : int
getComment()  : string
Get the value of Comment.
getModdate()  : DateTime
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 $comment
Tags
ORM\Column

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

$moddate

private DateTime $moddate = '0000-00-00 00:00:00'
Tags
ORM\Column

(name="moddate", type="datetime", nullable=false, options={"default": "0000-00-00 00:00:00"})

$moderator

private int $moderator = 0
Tags
ORM\Column

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

$modid

private int $modid
Tags
ORM\Column

(name="modid", type="integer", nullable=false, 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
Return values
DateTime

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 $moddate) : self
Parameters
$moddate : DateTime
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