Documentation

SceneProperty
in package
Uses Properties

A place for modules to store per-module private data.

Tags
Entity
Table

(name="scene_properties")

Table of Contents

$owner  : Scene
$propertyName  : mixed
$propertyValue  : mixed
getName()  : string
Returns the name of the property.
getOwner()  : Scene
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 Scene $owner
Tags
Id

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

JoinColumn

(name="owner", referencedColumnName="id")

$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

getOwner()

Returns the owner.

public getOwner() : Scene
Return values
Scene

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

setOwner()

Sets the owner.

public setOwner(Scene $owner) : mixed
Parameters
$owner : Scene
Return values
mixed

setValue()

Sets the stored property.

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

Search results