Beta version

class NodesSources extends AbstractEntity

NodesSources store Node content according to a translation and a NodeType.

Methods

int
getId()

Get entity unique identifier.

setId(int $id)

No description

getNode()

No description

$this
setNode(Node $node)

No description

preUpdate()

No description

getTranslation()

No description

$this
setTranslation(Translation $translation)

No description

ArrayCollection
getUrlAliases()

No description

ArrayCollection
getDocumentsByFields()

No description

ArrayCollection
getLogs()

Logs related to this node-source.

$this
setLogs(ArrayCollection|array $logs)

No description

string
getTitle()

No description

$this
setTitle(string $title)

No description

DateTime|null
getPublishedAt()

No description

setPublishedAt(DateTime $publishedAt = null)

No description

string
getMetaTitle()

No description

$this
setMetaTitle(string $metaTitle)

No description

string
getMetaKeywords()

No description

$this
setMetaKeywords(string $metaKeywords)

No description

string
getMetaDescription()

No description

$this
setMetaDescription(String $metaDescription)

No description

getHandler()

No description

__construct(Node $node, Translation $translation)

Create a new NodeSource with its Node and Translation.

__toString()

No description

__clone()

Before clone method.

Details

in AbstractEntity at line 51
int getId()

Get entity unique identifier.

Return Value

int

in AbstractEntity at line 60
AbstractEntity setId(int $id)

Parameters

int $id

Return Value

AbstractEntity

at line 64
Node getNode()

Return Value

Node

at line 74
$this setNode(Node $node)

Parameters

Node $node

Return Value

$this

at line 84
preUpdate()

at line 99
Translation getTranslation()

Return Value

Translation

at line 108
$this setTranslation(Translation $translation)

Parameters

Translation $translation

Return Value

$this

at line 122
ArrayCollection getUrlAliases()

Return Value

ArrayCollection

at line 135
ArrayCollection getDocumentsByFields()

Return Value

ArrayCollection

at line 151
ArrayCollection getLogs()

Logs related to this node-source.

Return Value

ArrayCollection

at line 160
$this setLogs(ArrayCollection|array $logs)

Parameters

ArrayCollection|array $logs

Return Value

$this

at line 175
string getTitle()

Return Value

string

at line 185
$this setTitle(string $title)

Parameters

string $title

Return Value

$this

at line 201
DateTime|null getPublishedAt()

Return Value

DateTime|null

at line 210
NodesSources setPublishedAt(DateTime $publishedAt = null)

Parameters

DateTime $publishedAt

Return Value

NodesSources

at line 224
string getMetaTitle()

Return Value

string

at line 234
$this setMetaTitle(string $metaTitle)

Parameters

string $metaTitle

Return Value

$this

at line 248
string getMetaKeywords()

Return Value

string

at line 258
$this setMetaKeywords(string $metaKeywords)

Parameters

string $metaKeywords

Return Value

$this

at line 272
string getMetaDescription()

Return Value

string

at line 282
$this setMetaDescription(String $metaDescription)

Parameters

String $metaDescription

Return Value

$this

at line 292
NodesSourcesHandler getHandler()

Return Value

NodesSourcesHandler

at line 306
__construct(Node $node, Translation $translation)

Create a new NodeSource with its Node and Translation.

Parameters

Node $node
Translation $translation

at line 315
__toString()

at line 329
__clone()

Before clone method.

Be carful not to persist nor flush current entity after calling clone as it empties its relations.