Groups

Groups

ORM\Table

(name="groups", uniqueConstraints={@ORM\UniqueConstraint(name="name_UNIQUE", columns={"name"})})

ORM\Entity
package

App\Entity

Methods

Groups constructor to load Doctrine Array Collections for FK relationships

__construct() 
see https://www.doctrine-project.org/projects/doctrine-collections/en/latest/index.html https://github.com/doctrine/collections

Sets the Doctrine array collection of $filters

addFilter(\App\Entity\Filters $filter) : \App\Entity\Groups

Arguments

Response

\App\Entity\Groups

Adds a header record to the Doctrine array collection $headers

addHeader(\App\Entity\Headers $header) : \App\Entity\Groups

Arguments

Response

\App\Entity\Groups

Adds a source record to the Doctrine array collection $sources

addSource(\App\Entity\Sources $source) : \App\Entity\Groups

Arguments

Response

\App\Entity\Groups

Adds a target record to the Doctrine array collection $targets

addTarget(\App\Entity\Targets $target) : \App\Entity\Groups

Arguments

Response

\App\Entity\Groups

Adds a user record to the Doctrine array collection $users

addUser(\App\Entity\Users $user) : \App\Entity\Groups

Arguments

Response

\App\Entity\Groups

Return the created Epoch UNIX timestamp string

getCreated() : integer

Response

integer

$created

Return the description for this group

getDescription() : null|string

Response

null|string

$description

Gets the Doctrine array collection of $filters

getFilters() : \Doctrine\Common\Collections\Collection|array<mixed,\App\Entity\Filters>

Response

\Doctrine\Common\Collections\Collection|array<mixed,\App\Entity\Filters>

Gets the Doctrine array collection of $headers

getHeaders() : \Doctrine\Common\Collections\Collection|array<mixed,\App\Entity\Headers>

Response

\Doctrine\Common\Collections\Collection|array<mixed,\App\Entity\Headers>

Generate an auto-incremented ID for the record

getId() : integer|null

Response

integer|null

$id

Return the record name for this group

getName() : null|string

Response

null|string

$name

Gets the Doctrine array collection of $sources

getSources() : \Doctrine\Common\Collections\Collection|array<mixed,\App\Entity\Sources>

Response

\Doctrine\Common\Collections\Collection|array<mixed,\App\Entity\Sources>

Gets the Doctrine collection array $targets

getTargets() : \Doctrine\Common\Collections\Collection|array<mixed,\App\Entity\Targets>

Response

\Doctrine\Common\Collections\Collection|array<mixed,\App\Entity\Targets>

Return the updated Epoch UNIX timestamp string

getUpdated() : integer|null

Response

integer|null

$updated

Gets the Doctrine array collection of $users

getUsers() : \Doctrine\Common\Collections\Collection|array<mixed,\App\Entity\Users>

Response

\Doctrine\Common\Collections\Collection|array<mixed,\App\Entity\Users>

Removes a filter from array collection of $filters

removeFilter(\App\Entity\Filters $filter) : \App\Entity\Groups

Arguments

Response

\App\Entity\Groups

Removes a header record from the Doctrine array collection $headers

removeHeader(\App\Entity\Headers $header) : \App\Entity\Groups

Arguments

Response

\App\Entity\Groups

Removes a source record from the Doctrine array collection $sources

removeSource(\App\Entity\Sources $source) : \App\Entity\Groups

Arguments

Response

\App\Entity\Groups

Removes a target record from the Doctrine array collection $targets

removeTarget(\App\Entity\Targets $target) : \App\Entity\Groups

Arguments

Response

\App\Entity\Groups

Removes a user record from the Doctrine array collection $users

removeUser(\App\Entity\Users $user) : \App\Entity\Groups

Arguments

Response

\App\Entity\Groups

Set the created Epoch UNIX timestamp string

setCreated(integer $created) : \App\Entity\Groups

Arguments

$created

integer

Response

\App\Entity\Groups

Set the description for this group

setDescription(string $description) : \App\Entity\Groups

Arguments

$description

string

Response

\App\Entity\Groups

Set the record name for this group

setName(string $name) : \App\Entity\Groups

Arguments

$name

string

Response

\App\Entity\Groups

Set the updated Epoch UNIX timestamp string

setUpdated(integer|null $updated) : \App\Entity\Groups

Arguments

$updated

integer|null

Response

\App\Entity\Groups

Properties

Auto-incremented and generated record ID - primary key

id : integer
var
ORM\Column

(name="id", type="integer", nullable=false)

ORM\Id
ORM\GeneratedValue

(strategy="IDENTITY")

Type(s)

integer

Group name for group items to be added to and referenced

name : string
var
ORM\Column

(name="name", type="string", length=45, nullable=false)

Type(s)

string

Group description - more details about this group

description : string
var
ORM\Column

(name="description", type="string", length=96, nullable=false)

Type(s)

string

Record created time in UNIX timestamp format - UTC

created : integer
var
Gedmo\Timestampable

(on="create")

ORM\Column

(name="created", type="integer", nullable=true)

Type(s)

integer

Record updated time in UNIX timestamp format - UTC

updated : integer|null
var
Gedmo\Timestampable

(on="update")

ORM\Column

(name="updated", type="integer", nullable=true)

Type(s)

integer|null

OneToMany inverse relationship of foreign key inside Targets Entity

targets : 
ORM\OneToMany

(targetEntity="App\Entity\Targets", mappedBy="group_id")

Type(s)

OneToMany inverse relationship of foreign key inside Sources Entity

sources : 
ORM\OneToMany

(targetEntity="App\Entity\Sources", mappedBy="group_id")

Type(s)

OneToMany inverse relationship of foreign key inside Headers Entity

headers : 
ORM\OneToMany

(targetEntity="App\Entity\Headers", mappedBy="group_id")

Type(s)

OneToMany inverse relationship of foreign key inside Users Entity

users : 
ORM\OneToMany

(targetEntity="App\Entity\Users", mappedBy="group_id")

Type(s)

OneToMany inverse relationship of foreign key inside Filters Entity

filters : 
ORM\OneToMany

(targetEntity="App\Entity\Filters", mappedBy="group_id")

Type(s)