Commentary
in package
implements
EntityInterface
Uses
IdTrait, Author, Comment
Commentary.
Tags
Interfaces, Classes, Traits and Enums
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
$author
private
int
$author
= 0
Tags
$authorName
private
string
$authorName
= ''
Tags
$clanId
private
int
$clanId
= 0
Tags
$clanName
private
string
$clanName
= ''
Tags
$clanNameShort
private
string
$clanNameShort
= ''
Tags
$clanRank
private
int
$clanRank
= 0
Tags
$command
private
string
$command
= ''
Tags
$comment
private
string
$comment
Tags
$commentRaw
private
string
$commentRaw
Tags
$extra
private
array<string|int, mixed>
$extra
= []
Tags
$hidden
private
bool
$hidden
= 0
Tags
$hiddenBy
private
string
$hiddenBy
= ''
Tags
$hiddenByName
private
string
$hiddenByName
= ''
Tags
$hiddenComment
private
string
$hiddenComment
= ''
Tags
$postdate
private
DateTime
$postdate
Tags
$section
private
string
$section
Tags
$translatable
private
mixed
$translatable
= false
Tags
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