class NodesSourcesDocuments extends AbstractEntity (View source)

Describes a complexe ManyToMany relation between NodesSources, Documents and NodeTypeFields.

Traits

Trait which describe a positioned entity

Properties

protected $id from AbstractEntity
protected $position from PositionedTrait
protected NodesSources $nodeSource
protected Document $document
protected NodeTypeField $field

Methods

int
getId()

No description

setId(int $id)

No description

float
getPosition()

No description

$this
setPosition(float $newPosition)

Set position as a float to enable increment and decrement by O.5 to insert a node between two others.

__construct(NodesSources $nodeSource, Document $document, NodeTypeField $field)

Create a new relation between NodeSource, a Document and a NodeTypeField.

__clone()

No description

getNodeSource()

Gets the value of nodeSource.

setNodeSource(NodesSources $nodeSource)

Sets the value of nodeSource.

getDocument()

Gets the value of document.

setDocument(Document $document)

Sets the value of document.

getField()

Gets the value of field.

setField(NodeTypeField $field)

Sets the value of field.

Details

int getId()

Return Value

int

AbstractEntity setId(int $id)

Parameters

int $id

Return Value

AbstractEntity

float getPosition()

Return Value

float

$this setPosition(float $newPosition)

Set position as a float to enable increment and decrement by O.5 to insert a node between two others.

Parameters

float $newPosition

Return Value

$this

__construct(NodesSources $nodeSource, Document $document, NodeTypeField $field)

Create a new relation between NodeSource, a Document and a NodeTypeField.

Parameters

NodesSources $nodeSource NodesSources and inherited types
Document $document Document to link
NodeTypeField $field NodeTypeField

__clone()

NodesSources getNodeSource()

Gets the value of nodeSource.

Return Value

NodesSources

NodesSourcesDocuments setNodeSource(NodesSources $nodeSource)

Sets the value of nodeSource.

Parameters

NodesSources $nodeSource the node source

Return Value

NodesSourcesDocuments

Document getDocument()

Gets the value of document.

Return Value

Document

NodesSourcesDocuments setDocument(Document $document)

Sets the value of document.

Parameters

Document $document the document

Return Value

NodesSourcesDocuments

NodeTypeField getField()

Gets the value of field.

Return Value

NodeTypeField

NodesSourcesDocuments setField(NodeTypeField $field)

Sets the value of field.

Parameters

NodeTypeField $field the field

Return Value

NodesSourcesDocuments