You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Classes/ViewHelpers/Uri/AjaxActionViewHelper.php
+43-30Lines changed: 43 additions & 30 deletions
Original file line number
Diff line number
Diff line change
@@ -38,38 +38,51 @@ class AjaxActionViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractView
38
38
protected$configurationManager;
39
39
40
40
/**
41
-
* @param string $action Target action
42
-
* @param array $arguments Arguments
43
-
* @param string $controller Target controller in UpperCamelCase. If null, current controllerName is used.
44
-
* @param string $extensionName Target Extension Name (without "tx_" prefix and no underscores). If NULL the current extension name is used
45
-
* @param string $pluginName Target plugin. If empty, the current plugin name is used
46
-
* @param int $pageUid target page. See TypoLink destination
47
-
* @param string $section the anchor to be added to the URI
48
-
* @param string $format The requested format, e.g. ".html
49
-
* @param bool $linkAccessRestrictedPages If set, links pointing to access restricted pages will still link to the page even though the page cannot be accessed.
50
-
* @param array $additionalParams additional query parameters that won't be prefixed like $arguments (overrule $arguments)
51
-
* @param bool $absolute If set, an absolute URI is rendered
52
-
* @param bool $addQueryString If set, the current query parameters will be kept in the URI
53
-
* @param array $argumentsToBeExcludedFromQueryString arguments to be removed from the URI. Only active if $addQueryString = TRUE
54
-
* @param string $addQueryStringMethod Set which parameters will be kept. Only active if $addQueryString = TRUE
55
-
* @param string $contextRecord The record that the rendering should depend upon. e.g. current (default: record is fetched from current Extbase plugin), tt_content:12 (tt_content record with uid 12), pages:15 (pages record with uid 15), 'currentPage' record of current page
$this->registerArgument('controller', 'string', 'Target controller. If NULL current controllerName is used');
50
+
$this->registerArgument('extensionName', 'string', 'Target Extension Name (without "tx_" prefix and no underscores). If NULL the current extension name is used');
51
+
$this->registerArgument('pluginName', 'string', 'Target plugin. If empty, the current plugin name is used');
52
+
$this->registerArgument('pageUid', 'int', 'Target page. See TypoLink destination');
53
+
$this->registerArgument('section', 'string', 'The anchor to be added to the URI', false, '');
54
+
$this->registerArgument('format', 'string', 'The requested format, e.g. ".html', false, '');
55
+
$this->registerArgument('linkAccessRestrictedPages', 'bool', 'If set, links pointing to access restricted pages will still link to the page even though the page cannot be accessed.', false, false);
56
+
$this->registerArgument('additionalParams', 'array', 'additional query parameters that won\'t be prefixed like $arguments (overrule $arguments)', false, []);
57
+
$this->registerArgument('absolute', 'bool', 'If set, an absolute URI is rendered', false, false);
58
+
$this->registerArgument('addQueryString', 'bool', 'If set, the current query parameters will be kept in the URI', false, false);
59
+
$this->registerArgument('argumentsToBeExcludedFromQueryString', 'array', 'arguments to be removed from the URI. Only active if $addQueryString = TRUE', false, []);
60
+
$this->registerArgument('addQueryStringMethod', 'string', 'Set which parameters will be kept. Only active if $addQueryString = TRUE');
61
+
$this->registerArgument('contextRecord', 'string', 'The record that the rendering should depend upon. e.g. current (default: record is fetched from current Extbase plugin), tt_content:12 (tt_content record with uid 12), pages:15 (pages record with uid 15), \'currentPage\' record of current page', false, 'current');
0 commit comments