PHP Class Neos\FluidAdaptor\ViewHelpers\Widget\UriViewHelper

= Examples = {f:widget.uri(action: 'widgetAction')} --widget[@action]=widgetAction (depending on routing setup and current widget)
Inheritance: extends Neos\FluidAdaptor\Core\ViewHelper\AbstractViewHelper
Exibir arquivo Open project: neos/flow-development-collection

Protected Properties

Property Type Description
$hashService Neos\Flow\Security\Cryptography\HashService

Public Methods

Method Description
render ( string $action = null, array $arguments = [], string $section = '', string $format = '', boolean $ajax = false, boolean $includeWidgetContext = false ) : string Render the Uri.

Protected Methods

Method Description
getAjaxUri ( ) : string Get the URI for an AJAX Request.
getWidgetUri ( ) : string Get the URI for a non-AJAX Request.

Method Details

getAjaxUri() protected method

Get the URI for an AJAX Request.
protected getAjaxUri ( ) : string
return string the AJAX URI

getWidgetUri() protected method

Get the URI for a non-AJAX Request.
protected getWidgetUri ( ) : string
return string the Widget URI

render() public method

Render the Uri.
public render ( string $action = null, array $arguments = [], string $section = '', string $format = '', boolean $ajax = false, boolean $includeWidgetContext = false ) : string
$action string Target action
$arguments array Arguments
$section string The anchor to be added to the URI
$format string The requested format, e.g. ".html"
$ajax boolean TRUE if the URI should be to an AJAX widget, FALSE otherwise.
$includeWidgetContext boolean TRUE if the URI should contain the serialized widget context (only useful for stateless AJAX widgets)
return string The rendered link

Property Details

$hashService protected_oe property

protected HashService,Neos\Flow\Security\Cryptography $hashService
return Neos\Flow\Security\Cryptography\HashService