PHP Class Neos\FluidAdaptor\ViewHelpers\Widget\LinkViewHelper

= Examples = some link some link (depending on routing setup and current widget)
Inheritance: extends Neos\FluidAdaptor\Core\ViewHelper\AbstractTagBasedViewHelper
Mostra file Open project: neos/flow-development-collection

Protected Properties

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

Public Methods

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

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

initializeArguments() public method

Initialize arguments
public initializeArguments ( ) : void
return void

render() public method

Render the link.
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

$tagName protected_oe property

protected string $tagName
return string