Legend of the Green Dragon

ArmorTranslation extends AbstractPersonalTranslation
in package

Armor translations.

Tags
ORM\Table

( uniqueConstraints={ @ORM\UniqueConstraint(name="lookup_unique_idx", columns={"locale", "object_id", "field"}) } )

ORM\Entity

Table of Contents

$content  : string|null
$id  : int|null
$object  : Armor|null
__construct()  : mixed
Convenient constructor.
__toString()  : mixed

Properties

$content

protected string|null $content = null
Tags
ORM\Column

(type="text", nullable=true, options={"collation": "utf8mb4_unicode_ci"})

$id

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

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

ORM\Id
ORM\GeneratedValue

(strategy="IDENTITY")

$object

protected Armor|null $object = null
Tags
ORM\ManyToOne

(targetEntity="Armor", inversedBy="translations", cascade={"all"})

ORM\JoinColumn

(name="object_id", referencedColumnName="armorid", onDelete="CASCADE")

Methods

__construct()

Convenient constructor.

public __construct(string $locale, string $field, string $value) : mixed
Parameters
$locale : string
$field : string
$value : string
Return values
mixed

Search results