Legend of the Green Dragon

Petitions
in package

Petitions.

Tags
ORM\Table

(name="petitions")

ORM\Entity

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

Table of Contents

$author  : int|null
$body  : array<string|int, mixed>
$closedate  : DateTimeInterface|null
$closeuserid  : int|null
$date  : DateTimeInterface|null
$id  : string|null
$ip  : string|null
$pageinfo  : array<string|int, mixed>
$petitionid  : int|null
$status  : int|null
__construct()  : mixed
getAuthor()  : int
Get the value of Author.
getBody()  : array<string|int, mixed>
Get the value of Body.
getClosedate()  : DateTime|DateTimeImmutable
Get the value of Closedate.
getCloseuserid()  : int
Get the value of Closeuserid.
getDate()  : DateTime|DateTimeImmutable
Get the value of Date.
getId()  : string
Get the value of Id.
getIp()  : string
Get the value of Ip.
getPageinfo()  : array<string|int, mixed>
Get the value of Pageinfo.
getPetitionid()  : int|null
Get the value of Petitionid.
getStatus()  : int
Get the value of Status.
setAuthor()  : self
Set the value of Author.
setBody()  : self
Set the value of Body.
setClosedate()  : self
Set the value of Closedate.
setCloseuserid()  : self
Set the value of Closeuserid.
setDate()  : self
Set the value of Date.
setId()  : self
Set the value of Id.
setIp()  : self
Set the value of Ip.
setPageinfo()  : self
Set the value of Pageinfo.
setPetitionid()  : self
Set the value of Petitionid.
setStatus()  : self
Set the value of Status.

Properties

$author

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

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

$body

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

(name="body", type="array")

$closedate

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

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

$closeuserid

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

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

Assert\DivisibleBy

(1)

$date

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

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

$id

private string|null $id = ''
Tags
ORM\Column

(name="id", type="string", length=32)

$ip

private string|null $ip = ''
Tags
ORM\Column

(name="ip", type="string", length=40)

$pageinfo

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

(name="pageinfo", type="array")

$petitionid

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

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

ORM\Id
ORM\GeneratedValue

(strategy="IDENTITY")

$status

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

(name="status", type="smallint", options={"unsigned"=true})

Methods

__construct()

public __construct() : mixed
Return values
mixed

getAuthor()

Get the value of Author.

public getAuthor() : int
Return values
int

getBody()

Get the value of Body.

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

getClosedate()

Get the value of Closedate.

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

getCloseuserid()

Get the value of Closeuserid.

public getCloseuserid() : int
Return values
int

getDate()

Get the value of Date.

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

getId()

Get the value of Id.

public getId() : string
Return values
string

getIp()

Get the value of Ip.

public getIp() : string
Return values
string

getPageinfo()

Get the value of Pageinfo.

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

getPetitionid()

Get the value of Petitionid.

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

getStatus()

Get the value of Status.

public getStatus() : int
Return values
int

setAuthor()

Set the value of Author.

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

setBody()

Set the value of Body.

public setBody(string $body) : self
Parameters
$body : string
Return values
self

setClosedate()

Set the value of Closedate.

public setClosedate(DateTime|DateTimeImmutable $closedate) : self
Parameters
$closedate : DateTime|DateTimeImmutable
Return values
self

setCloseuserid()

Set the value of Closeuserid.

public setCloseuserid(int $closeuserid) : self
Parameters
$closeuserid : int
Return values
self

setDate()

Set the value of Date.

public setDate(DateTime|DateTimeImmutable $date) : self
Parameters
$date : DateTime|DateTimeImmutable
Return values
self

setId()

Set the value of Id.

public setId(string $id) : self
Parameters
$id : string
Return values
self

setIp()

Set the value of Ip.

public setIp(string $ip) : self
Parameters
$ip : string
Return values
self

setPageinfo()

Set the value of Pageinfo.

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

setPetitionid()

Set the value of Petitionid.

public setPetitionid(int $petitionid) : self
Parameters
$petitionid : int
Return values
self

setStatus()

Set the value of Status.

public setStatus(int $status) : self
Parameters
$status : int
Return values
self

Search results