Documentation

CharacterProperty
in package
Uses Properties

Properties for Characters.

Tags
Entity
Table

(name="character_properties")

Table of Contents

$owner  : mixed
$propertyName  : mixed
$propertyValue  : mixed
getName()  : string
Returns the name of the property.
getOwner()  : Character
Returns the owner.
getValue()  : mixed
Returns the stored property.
setName()  : mixed
Sets the name of the property.
setOwner()  : mixed
Sets the owner.
setValue()  : mixed
Sets the stored property.

Properties

$owner

private mixed $owner
Tags
Id

@ManyToOne(targetEntity="Character", inversedBy="properties")

$propertyName

private mixed $propertyName = ""
Tags
Id

@Column(type="string", length=255)

$propertyValue

private mixed $propertyValue = null
Tags
Column

(type="text")

Methods

getName()

Returns the name of the property.

public getName() : string
Return values
string

getValue()

Returns the stored property.

public getValue() : mixed
Return values
mixed

setName()

Sets the name of the property.

public setName(string $name) : mixed
Parameters
$name : string
Tags
throws
ArgumentEmptyException

If parameter $name is empty

Return values
mixed

setValue()

Sets the stored property.

public setValue(mixed $value) : mixed
Parameters
$value : mixed
Return values
mixed

Search results