X-Git-Url: http://git.typo3.org/Packages/TYPO3.CMS.git/blobdiff_plain/cc468faa601121872c8cec381b2d2d3381206ecb..66e556b6576c8d3c7b58d3d616a53a5df7569a46:/typo3/sysext/frontend/Classes/Plugin/AbstractPlugin.php
diff --git a/typo3/sysext/frontend/Classes/Plugin/AbstractPlugin.php b/typo3/sysext/frontend/Classes/Plugin/AbstractPlugin.php
index ac9098609a7a..d9d809fe43d2 100644
--- a/typo3/sysext/frontend/Classes/Plugin/AbstractPlugin.php
+++ b/typo3/sysext/frontend/Classes/Plugin/AbstractPlugin.php
@@ -279,9 +279,10 @@ class AbstractPlugin {
*
* @param integer $id Page id
* @param string $target Target value to use. Affects the &type-value of the URL, defaults to current.
- * @param array $urlParameters Additional URL parameters to set (key/value pairs)
+ * @param array|string $urlParameters As an array key/value pairs represent URL parameters to set. Values NOT URL-encoded yet, keys should be URL-encoded if needed. As a string the parameter is expected to be URL-encoded already.
* @return string The resulting URL
* @see pi_linkToPage()
+ * @see \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->getTypoLink()
* @todo Define visibility
*/
public function pi_getPageLink($id, $target = '', $urlParameters = array()) {
@@ -296,7 +297,7 @@ class AbstractPlugin {
* @param string $str The content string to wrap in tags
* @param integer $id Page id
* @param string $target Target value to use. Affects the &type-value of the URL, defaults to current.
- * @param array $urlParameters Additional URL parameters to set (key/value pairs)
+ * @param array|string $urlParameters As an array key/value pairs represent URL parameters to set. Values NOT URL-encoded yet, keys should be URL-encoded if needed. As a string the parameter is expected to be URL-encoded already.
* @return string The input string wrapped in tags with the URL and target set.
* @see pi_getPageLink(), \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::getTypoLink()
* @todo Define visibility