Legend of the Green Dragon

Commentary
in package
implements EntityInterface Uses IdTrait, Author, Comment

Commentary.

Tags
ORM\Table

(name="commentary", indexes={ @ORM\Index(name="section", columns={"section"}), @ORM\Index(name="postdate", columns={"postdate"}), @ORM\Index(name="hidden", columns={"hidden"}) } )

ORM\Entity

(repositoryClass="Lotgd\Core\Repository\CommentaryRepository")

Interfaces, Classes, Traits and Enums

EntityInterface

Table of Contents

$id  : int|null
$author  : int
$authorName  : string
$clanId  : int
$clanName  : string
$clanNameShort  : string
$clanRank  : int
$command  : string
$comment  : string
$commentRaw  : string
$extra  : array<string|int, mixed>
$hidden  : bool
$hiddenBy  : string
$hiddenByName  : string
$hiddenComment  : string
$postdate  : DateTime
$section  : string
$translatable  : mixed
__construct()  : mixed
getAuthor()  : int
Get the value of Author.
getAuthorName()  : string
Get the value of AuthorName.
getClanId()  : int
Get the value of clanId.
getClanName()  : string
Get the value of clanName.
getClanNameShort()  : string
Get the value of clanNameShort.
getClanRank()  : int
Get the value of clanRank.
getCommand()  : string
Get the value of command.
getComment()  : string
Get the value of Comment.
getCommentRaw()  : string
Get the value of commentRaw.
getExtra()  : array<string|int, mixed>
Get the value of Extra.
getHidden()  : bool
Get the value of hidden.
getHiddenBy()  : string
Get the value of hiddenBy.
getHiddenByName()  : string
Get the value of hiddenByName.
getHiddenComment()  : string
Get the value of hiddenComment.
getId()  : int|null
getPostdate()  : DateTime|DateTimeImmutable
Get the value of Postdate.
getSection()  : string
Get the value of Section.
getTranslatable()  : bool|null
setAuthor()  : self
Set the value of Author.
setAuthorName()  : self
Set the value of AuthorName.
setClanId()  : self
Set the value of clanId.
setClanName()  : self
Set the value of clanName.
setClanNameShort()  : self
Set the value of clanNameShort.
setClanRank()  : self
Set the value of clanRank.
setCommand()  : self
Set the value of command.
setComment()  : self
Set the value of Comment.
setCommentRaw()  : self
Set the value of commentRaw.
setExtra()  : self
Set the value of Extra.
setHidden()  : self
Set the value of hidden.
setHiddenBy()  : self
Set the value of hiddenBy.
setHiddenByName()  : self
Set the value of hiddenByName.
setHiddenComment()  : self
Set the value of hiddenComment.
setId()  : mixed
setPostdate()  : self
Set the value of Postdate.
setSection()  : self
Set the value of Section.
setTranslatable()  : self

Properties

$id

protected int|null $id = null
Tags
ORM\Column

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

ORM\Id
ORM\GeneratedValue

(strategy="IDENTITY")

$author

private int $author = 0
Tags
ORM\Column

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

$authorName

private string $authorName = ''
Tags
ORM\Column

(type="string", length=100, nullable=false)

$clanId

private int $clanId = 0
Tags
ORM\Column

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

$clanName

private string $clanName = ''
Tags
ORM\Column

(type="string", length=255, nullable=false)

$clanNameShort

private string $clanNameShort = ''
Tags
ORM\Column

(type="string", length=50, nullable=false)

$clanRank

private int $clanRank = 0
Tags
ORM\Column

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

$command

private string $command = ''
Tags
ORM\Column

(type="string", length=20, nullable=false)

$comment

private string $comment
Tags
ORM\Column

(type="string", length=1000, nullable=false)

$commentRaw

private string $commentRaw
Tags
ORM\Column

(type="string", length=1000, nullable=false)

$extra

private array<string|int, mixed> $extra = []
Tags
ORM\Column

(type="array", nullable=false)

$hidden

private bool $hidden = 0
Tags
ORM\Column

(type="boolean", nullable=false, options={"default": 0})

$hiddenBy

private string $hiddenBy = ''
Tags
ORM\Column

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

$hiddenByName

private string $hiddenByName = ''
Tags
ORM\Column

(type="string", length=100, nullable=false)

$hiddenComment

private string $hiddenComment = ''
Tags
ORM\Column

(type="string", length=500, nullable=false)

$postdate

private DateTime $postdate
Tags
ORM\Column

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

$section

private string $section
Tags
ORM\Column

(type="string", length=50, nullable=false)

$translatable

private mixed $translatable = false
Tags
ORM\Column

(type="boolean")

Methods

__construct()

public __construct() : mixed
Return values
mixed

getAuthor()

Get the value of Author.

public getAuthor() : int
Return values
int

getAuthorName()

Get the value of AuthorName.

public getAuthorName() : string
Return values
string

getClanId()

Get the value of clanId.

public getClanId() : int
Return values
int

getClanName()

Get the value of clanName.

public getClanName() : string
Return values
string

getClanNameShort()

Get the value of clanNameShort.

public getClanNameShort() : string
Return values
string

getClanRank()

Get the value of clanRank.

public getClanRank() : int
Return values
int

getCommand()

Get the value of command.

public getCommand() : string
Return values
string

getComment()

Get the value of Comment.

public getComment() : string
Return values
string

getCommentRaw()

Get the value of commentRaw.

public getCommentRaw() : string
Return values
string

getExtra()

Get the value of Extra.

public getExtra() : array<string|int, mixed>
Return values
array<string|int, mixed>

getHidden()

Get the value of hidden.

public getHidden() : bool
Return values
bool

getHiddenBy()

Get the value of hiddenBy.

public getHiddenBy() : string
Return values
string

getHiddenByName()

Get the value of hiddenByName.

public getHiddenByName() : string
Return values
string

getHiddenComment()

Get the value of hiddenComment.

public getHiddenComment() : string
Return values
string

getId()

public getId() : int|null
Return values
int|null

getPostdate()

Get the value of Postdate.

public getPostdate() : DateTime|DateTimeImmutable
Return values
DateTime|DateTimeImmutable

getSection()

Get the value of Section.

public getSection() : string
Return values
string

getTranslatable()

public getTranslatable() : bool|null
Return values
bool|null

setAuthor()

Set the value of Author.

public setAuthor(int $author) : self
Parameters
$author : int
Return values
self

setAuthorName()

Set the value of AuthorName.

public setAuthorName(string $authorName) : self
Parameters
$authorName : string
Return values
self

setClanId()

Set the value of clanId.

public setClanId(int $clanId) : self
Parameters
$clanId : int
Return values
self

setClanName()

Set the value of clanName.

public setClanName(string $clanName) : self
Parameters
$clanName : string
Return values
self

setClanNameShort()

Set the value of clanNameShort.

public setClanNameShort(string $clanNameShort) : self
Parameters
$clanNameShort : string
Return values
self

setClanRank()

Set the value of clanRank.

public setClanRank(int $clanRank) : self
Parameters
$clanRank : int
Return values
self

setCommand()

Set the value of command.

public setCommand(string $command) : self
Parameters
$command : string
Return values
self

setComment()

Set the value of Comment.

public setComment(string $comment) : self
Parameters
$comment : string
Return values
self

setCommentRaw()

Set the value of commentRaw.

public setCommentRaw(string $commentRaw) : self
Parameters
$commentRaw : string
Return values
self

setExtra()

Set the value of Extra.

public setExtra(array<string|int, mixed> $extra) : self
Parameters
$extra : array<string|int, mixed>
Return values
self

setHidden()

Set the value of hidden.

public setHidden(bool $hidden) : self
Parameters
$hidden : bool
Return values
self

setHiddenBy()

Set the value of hiddenBy.

public setHiddenBy(string $hiddenBy) : self
Parameters
$hiddenBy : string
Return values
self

setHiddenByName()

Set the value of hiddenByName.

public setHiddenByName(string $hiddenByName) : self
Parameters
$hiddenByName : string
Return values
self

setHiddenComment()

Set the value of hiddenComment.

public setHiddenComment(string $hiddenComment) : self
Parameters
$hiddenComment : string
Return values
self

setId()

public setId(int|null $id) : mixed
Parameters
$id : int|null
Return values
mixed

setPostdate()

Set the value of Postdate.

public setPostdate(DateTime|DateTimeImmutable $postdate) : self
Parameters
$postdate : DateTime|DateTimeImmutable
Return values
self

setSection()

Set the value of Section.

public setSection(string $section) : self
Parameters
$section : string
Return values
self

setTranslatable()

public setTranslatable(bool $translatable) : self
Parameters
$translatable : bool
Return values
self

Search results