TYPO3
7.6
|
Public Member Functions | |
initializeArguments () | |
render ($action=null, array $arguments=array(), $controller=null, $extensionName=null, $pluginName=null, $pageUid=null, $pageType=0, $noCache=false, $noCacheHash=false, $section= '', $format= '', $linkAccessRestrictedPages=false, array $additionalParams=array(), $absolute=false, $addQueryString=false, array $argumentsToBeExcludedFromQueryString=array(), $addQueryStringMethod=null) | |
Public Member Functions inherited from AbstractTagBasedViewHelper | |
__construct () | |
initialize () | |
Public Member Functions inherited from AbstractViewHelper | |
setArguments (array $arguments) | |
setRenderingContext (\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) | |
injectReflectionService (\TYPO3\CMS\Extbase\Reflection\ReflectionService $reflectionService) | |
isEscapingInterceptorEnabled () | |
setViewHelperNode (\TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\ViewHelperNode $node) | |
setRenderChildrenClosure (\Closure $renderChildrenClosure) | |
initializeArgumentsAndRender () | |
initialize () | |
renderChildren () | |
prepareArguments () | |
validateArguments () | |
initializeArguments () | |
compile ($argumentsVariableName, $renderChildrenClosureVariableName, &$initializationPhpCode,\TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\AbstractNode $syntaxTreeNode,\TYPO3\CMS\Fluid\Core\Compiler\TemplateCompiler $templateCompiler) | |
resetState () | |
Protected Attributes | |
$tagName = 'a' | |
Protected Attributes inherited from AbstractTagBasedViewHelper | |
$tag = null | |
$tagName = 'div' | |
Protected Attributes inherited from AbstractViewHelper | |
$arguments | |
$templateVariableContainer | |
$controllerContext | |
$renderingContext | |
$renderChildrenClosure = null | |
$viewHelperVariableContainer | |
$objectManager | |
$escapingInterceptorEnabled = true | |
Additional Inherited Members | |
Static Public Member Functions inherited from AbstractViewHelper | |
static | renderStatic (array $arguments,\Closure $renderChildrenClosure,\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) |
Protected Member Functions inherited from AbstractTagBasedViewHelper | |
registerTagAttribute ($name, $type, $description, $required=false, $default=null) | |
registerUniversalTagAttributes () | |
A view helper for creating links to extbase actions.
= Examples =
<f:link.action action="show">action link</f:link.action>
<output> action link</f:link.action> (depending on the current page and your TS configuration)
Definition at line 29 of file Link/ActionViewHelper.php.
initializeArguments | ( | ) |
Arguments initialization
Definition at line 41 of file Link/ActionViewHelper.php.
References AbstractTagBasedViewHelper\registerTagAttribute(), and AbstractTagBasedViewHelper\registerUniversalTagAttributes().
render | ( | $action = null , |
|
array | $arguments = array() , |
||
$controller = null , |
|||
$extensionName = null , |
|||
$pluginName = null , |
|||
$pageUid = null , |
|||
$pageType = 0 , |
|||
$noCache = false , |
|||
$noCacheHash = false , |
|||
$section = '' , |
|||
$format = '' , |
|||
$linkAccessRestrictedPages = false , |
|||
array | $additionalParams = array() , |
||
$absolute = false , |
|||
$addQueryString = false , |
|||
array | $argumentsToBeExcludedFromQueryString = array() , |
||
$addQueryStringMethod = null |
|||
) |
string | $action | Target action |
array | $arguments | Arguments |
string | $controller | Target controller. If NULL current controllerName is used |
string | $extensionName | Target Extension Name (without "tx_" prefix and no underscores). If NULL the current extension name is used |
string | $pluginName | Target plugin. If empty, the current plugin name is used |
int | $pageUid | target page. See TypoLink destination |
int | $pageType | type of the target page. See typolink.parameter |
bool | $noCache | set this to disable caching for the target page. You should not need this. |
bool | $noCacheHash | set this to suppress the cHash query parameter created by TypoLink. You should not need this. |
string | $section | the anchor to be added to the URI |
string | $format | The requested format, e.g. ".html |
bool | $linkAccessRestrictedPages | If set, links pointing to access restricted pages will still link to the page even though the page cannot be accessed. |
array | $additionalParams | additional query parameters that won't be prefixed like $arguments (overrule $arguments) |
bool | $absolute | If set, the URI of the rendered link is absolute |
bool | $addQueryString | If set, the current query parameters will be kept in the URI |
array | $argumentsToBeExcludedFromQueryString | arguments to be removed from the URI. Only active if $addQueryString = TRUE |
string | $addQueryStringMethod | Set which parameters will be kept. Only active if $addQueryString = TRUE |
Definition at line 70 of file Link/ActionViewHelper.php.
References AbstractViewHelper\$arguments, and AbstractViewHelper\renderChildren().
|
protected |
Definition at line 34 of file Link/ActionViewHelper.php.