[Pkg-owncloud-commits] [owncloud] 66/165: IUrlGenerator - document linkTo properly

David Prévot taffit at moszumanska.debian.org
Thu Apr 23 04:06:29 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch stable8
in repository owncloud.

commit eb62e7cc275eef590dded9602e25051b11009364
Author: Morris Jobke <hey at morrisjobke.de>
Date:   Sat Apr 18 16:03:37 2015 +0200

    IUrlGenerator - document linkTo properly
    
    * parameter $args was there since 6.0.0
    * see 61a9098b7d88656d0297a18c1b7685c04d1c64dc
---
 lib/public/iurlgenerator.php | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lib/public/iurlgenerator.php b/lib/public/iurlgenerator.php
index 4324a4b..3be27d8 100644
--- a/lib/public/iurlgenerator.php
+++ b/lib/public/iurlgenerator.php
@@ -59,10 +59,12 @@ interface IURLGenerator {
 	 * Returns an URL for an image or file
 	 * @param string $appName the name of the app
 	 * @param string $file the name of the file
+	 * @param array $args array with param=>value, will be appended to the returned url
+	 *    The value of $args will be urlencoded
 	 * @return string the url
 	 * @since 6.0.0
 	 */
-	public function linkTo($appName, $file);
+	public function linkTo($appName, $file, $args = array());
 
 	/**
 	 * Returns the link to an image, like linkTo but only with prepending img/

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list