![]() |
TYPO3
7.6
|
Public Member Functions | |
initializeArguments () | |
render ($action=null, $arguments=array(), $section= '', $format= '', $ajax=false) | |
![]() | |
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 Member Functions | |
getAjaxUri () | |
getWidgetUri () | |
![]() | |
registerArgument ($name, $type, $description, $required=false, $defaultValue=null) | |
overrideArgument ($name, $type, $description, $required=false, $defaultValue=null) | |
callRenderMethod () | |
getLogger () | |
buildRenderChildrenClosure () | |
hasArgument ($argumentName) | |
Additional Inherited Members | |
![]() | |
static | renderStatic (array $arguments,\Closure $renderChildrenClosure,\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) |
![]() | |
$arguments | |
$templateVariableContainer | |
$controllerContext | |
$renderingContext | |
$renderChildrenClosure = null | |
$viewHelperVariableContainer | |
$objectManager | |
$escapingInterceptorEnabled = true | |
A view helper for creating URIs to extbase actions within widgets.
= Examples =
<f:widget.uri action="show" />
<output> index.php?id=123&tx_myextension_plugin[widgetIdentifier][action]=show&tx_myextension_plugin[widgetIdentifier][controller]=Standard&cHash=xyz (depending on the current page, widget and your TS configuration) </output>
Definition at line 38 of file UriViewHelper.php.
|
protected |
Get the URI for an AJAX Request.
Definition at line 76 of file UriViewHelper.php.
References AbstractViewHelper\$arguments, and $GLOBALS.
Referenced by UriViewHelper\render().
|
protected |
Get the URI for a non-AJAX Request.
Definition at line 96 of file UriViewHelper.php.
References AbstractViewHelper\$arguments, and AbstractViewHelper\hasArgument().
Referenced by UriViewHelper\render().
initializeArguments | ( | ) |
Initialize arguments
Definition at line 46 of file UriViewHelper.php.
References AbstractViewHelper\registerArgument().
render | ( | $action = null , |
|
$arguments = array() , |
|||
$section = '' , |
|||
$format = '' , |
|||
$ajax = false |
|||
) |
Render the Uri.
string | $action | Target action |
array | $arguments | Arguments |
string | $section | The anchor to be added to the URI |
string | $format | The requested format, e.g. ".html |
bool | $ajax | TRUE if the URI should be to an AJAX widget, FALSE otherwise. |
Definition at line 62 of file UriViewHelper.php.
References UriViewHelper\getAjaxUri(), and UriViewHelper\getWidgetUri().