PHP 클래스 Neos\FluidAdaptor\ViewHelpers\Uri\ActionViewHelper

= Examples = some link currentpackage/currentcontroller (depending on routing setup and current package/controller/action) some link mypackage/mycontroller/mysubpackage/myaction?key1=value1&key2=value2 (depending on routing setup)
상속: extends Neos\FluidAdaptor\Core\ViewHelper\AbstractViewHelper
파일 보기 프로젝트 열기: neos/flow-development-collection

공개 메소드들

메소드 설명
render ( string $action, array $arguments = [], string $controller = null, string $package = null, string $subpackage = null, string $section = '', string $format = '', array $additionalParams = [], boolean $absolute = false, boolean $addQueryString = false, array $argumentsToBeExcludedFromQueryString = [], boolean $useParentRequest = false, boolean $useMainRequest = false ) : string Render the Uri.

메소드 상세

render() 공개 메소드

Render the Uri.
public render ( string $action, array $arguments = [], string $controller = null, string $package = null, string $subpackage = null, string $section = '', string $format = '', array $additionalParams = [], boolean $absolute = false, boolean $addQueryString = false, array $argumentsToBeExcludedFromQueryString = [], boolean $useParentRequest = false, boolean $useMainRequest = false ) : string
$action string Target action
$arguments array Arguments
$controller string Target controller. If NULL current controllerName is used
$package string Target package. if NULL current package is used
$subpackage string Target subpackage. if NULL current subpackage is used
$section string The anchor to be added to the URI
$format string The requested format, e.g. ".html"
$additionalParams array additional query parameters that won't be prefixed like $arguments (overrule $arguments)
$absolute boolean If set, an absolute URI is rendered
$addQueryString boolean If set, the current query parameters will be kept in the URI
$argumentsToBeExcludedFromQueryString array arguments to be removed from the URI. Only active if $addQueryString = TRUE
$useParentRequest boolean If set, the parent Request will be used instead of the current one. Note: using this argument can be a sign of undesired tight coupling, use with care
$useMainRequest boolean If set, the main Request will be used instead of the current one. Note: using this argument can be a sign of undesired tight coupling, use with care
리턴 string The rendered link