class LinkHelper implements ProtectedContextAwareInterface (View source)

Eel helper for the linking service

Properties

protected LinkingService $linkingService

Methods

bool
hasSupportedScheme(string|UriInterface $uri)

No description

string
getScheme(string|UriInterface $uri)

No description

string
resolveNodeUri(string|UriInterface $uri, NodeInterface $contextNode, ControllerContext $controllerContext)

No description

string
resolveAssetUri(string|UriInterface $uri)

No description

convertUriToObject(string|UriInterface $uri, NodeInterface $contextNode = null)

No description

bool
allowsCallOfMethod(string $methodName)

No description

Details

bool hasSupportedScheme(string|UriInterface $uri)

No description

Parameters

string|UriInterface $uri

Return Value

bool

string getScheme(string|UriInterface $uri)

No description

Parameters

string|UriInterface $uri

Return Value

string

string resolveNodeUri(string|UriInterface $uri, NodeInterface $contextNode, ControllerContext $controllerContext)

No description

Parameters

string|UriInterface $uri
NodeInterface $contextNode
ControllerContext $controllerContext

Return Value

string

string resolveAssetUri(string|UriInterface $uri)

No description

Parameters

string|UriInterface $uri

Return Value

string

NodeInterface|AssetInterface|null convertUriToObject(string|UriInterface $uri, NodeInterface $contextNode = null)

No description

Parameters

string|UriInterface $uri
NodeInterface $contextNode

Return Value

NodeInterface|AssetInterface|null

bool allowsCallOfMethod(string $methodName)

No description

Parameters

string $methodName

Return Value

bool