Legend of the Green Dragon

Petitions

Petitions.

Tags
ORM\Table

(name="petitions")

ORM\Entity

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

Table of Contents

$author  : int
$body  : string
$closedate  : DateTime
$closeuserid  : int
$date  : DateTime
$id  : string
$ip  : string
$pageinfo  : string
$petitionid  : int
$status  : int
__construct()  : mixed
getAuthor()  : int
Get the value of Author.
getBody()  : string
Get the value of Body.
getClosedate()  : DateTime
Get the value of Closedate.
getCloseuserid()  : int
Get the value of Closeuserid.
getDate()  : DateTime
Get the value of Date.
getId()  : string
Get the value of Id.
getIp()  : string
Get the value of Ip.
getPageinfo()  : string
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 $author = 0
Tags
ORM\Column

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

$body

private string $body = ''
Tags
ORM\Column

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

$closedate

private DateTime $closedate
Tags
ORM\Column

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

$closeuserid

private int $closeuserid = 0
Tags
ORM\Column

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

Assert\DivisibleBy

(1)

$date

private DateTime $date
Tags
ORM\Column

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

$id

private string $id = ''
Tags
ORM\Column

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

$ip

private string $ip = ''
Tags
ORM\Column

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

$pageinfo

private string $pageinfo = []
Tags
ORM\Column

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

$petitionid

private int $petitionid
Tags
ORM\Column

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

ORM\Id
ORM\GeneratedValue

(strategy="IDENTITY")

$status

private int $status = 0
Tags
ORM\Column

(name="status", type="smallint", nullable=false, 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() : string
Return values
string

getClosedate()

Get the value of Closedate.

public getClosedate() : DateTime
Return values
DateTime

getCloseuserid()

Get the value of Closeuserid.

public getCloseuserid() : int
Return values
int

getDate()

Get the value of Date.

public getDate() : DateTime
Return values
DateTime

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() : string
Return values
string

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 $closedate) : self
Parameters
$closedate : DateTime
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 $date) : self
Parameters
$date : DateTime
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(string $pageinfo) : self
Parameters
$pageinfo : string
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