class NodesCustomForms extends AbstractEntity (View source)

Describes a complexe ManyToMany relation between Nodes, CustomForms and NodeTypeFields.

Traits

Trait which describe a positioned entity

Properties

protected $id from AbstractEntity
protected $position from PositionedTrait
protected Node $node
protected CustomForm $customForm
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(Node $node, CustomForm $customForm, NodeTypeField $field)

Create a new relation between a Node, a CustomForm and a NodeTypeField.

__clone()

No description

getNode()

Gets the value of node.

setNode(Node $node)

Sets the value of node.

getCustomForm()

Gets the value of customForm.

setCustomForm(CustomForm $customForm)

Sets the value of customForm.

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(Node $node, CustomForm $customForm, NodeTypeField $field)

Create a new relation between a Node, a CustomForm and a NodeTypeField.

Parameters

Node $node
CustomForm $customForm
NodeTypeField $field NodeTypeField

__clone()

Node getNode()

Gets the value of node.

Return Value

Node

NodesCustomForms setNode(Node $node)

Sets the value of node.

Parameters

Node $node the node

Return Value

NodesCustomForms

CustomForm getCustomForm()

Gets the value of customForm.

Return Value

CustomForm

NodesCustomForms setCustomForm(CustomForm $customForm)

Sets the value of customForm.

Parameters

CustomForm $customForm the custom form

Return Value

NodesCustomForms

NodeTypeField getField()

Gets the value of field.

Return Value

NodeTypeField

NodesCustomForms setField(NodeTypeField $field)

Sets the value of field.

Parameters

NodeTypeField $field the field

Return Value

NodesCustomForms