NodeUriImplementation
class NodeUriImplementation extends AbstractFusionObject (View source)
Create a link to a node
Properties
protected Runtime | $runtime | from AbstractFusionObject | |
protected string | $path | The Fusion path currently being rendered |
from AbstractFusionObject |
protected string | $fusionObjectName | Name of this Fusion object, like Neos.Neos:Text |
from AbstractFusionObject |
protected array | $fusionValueCache | from AbstractFusionObject | |
protected LinkingService | $linkingService |
Methods
Render the Uri.
Return the Fusion value relative to this Fusion object (with processors etc applied).
Dummy implementation of ArrayAccess to allow this.XXX access in processors.
Dummy implementation of ArrayAccess to allow this.XXX access in processors.
Dummy implementation of ArrayAccess to allow this.XXX access in processors.
Dummy implementation of ArrayAccess to allow this.XXX access in processors.
No description
No description
A node object or a string node path or NULL to resolve the current document node
The requested format, for example "html"
The anchor to be appended to the URL
Additional query parameters that won't be prefixed like $arguments (overrule $arguments)
Arguments to be removed from the URI. Only active if addQueryString = true
If true, the current query parameters will be kept in the URI
If true, an absolute URI is rendered
The name of the base node inside the Fusion context to use for resolving relative paths.
Details
__construct(Runtime $runtime, string $path, string $fusionObjectName)
Constructor
mixed
evaluate()
Render the Uri.
Runtime
getRuntime()
Get the Fusion runtime this object was created in.
protected mixed
fusionValue(string $path)
Return the Fusion value relative to this Fusion object (with processors etc applied).
Note that subsequent calls of fusionValue() with the same Fusion path will return the same values since the first evaluated value will be cached in memory.
bool
offsetExists(mixed $offset)
Dummy implementation of ArrayAccess to allow this.XXX access in processors.
mixed
offsetGet(mixed $offset)
Dummy implementation of ArrayAccess to allow this.XXX access in processors.
void
offsetSet(mixed $offset, mixed $value)
Dummy implementation of ArrayAccess to allow this.XXX access in processors.
void
offsetUnset(mixed $offset)
Dummy implementation of ArrayAccess to allow this.XXX access in processors.
injectLogger(LoggerInterface $logger)
No description
injectThrowableStorage(ThrowableStorageInterface $throwableStorage)
No description
mixed
getNode()
A node object or a string node path or NULL to resolve the current document node
string
getFormat()
The requested format, for example "html"
string
getSection()
The anchor to be appended to the URL
array
getAdditionalParams()
Additional query parameters that won't be prefixed like $arguments (overrule $arguments)
array
getArgumentsToBeExcludedFromQueryString()
Arguments to be removed from the URI. Only active if addQueryString = true
bool
getAddQueryString()
If true, the current query parameters will be kept in the URI
bool
isAbsolute()
If true, an absolute URI is rendered
string
getBaseNodeName()
The name of the base node inside the Fusion context to use for resolving relative paths.