mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
Merge pull request #15728 from owncloud/update-iurlgenerator-doc
IUrlGenerator - document linkTo properly
This commit is contained in:
commit
b7a4972218
1 changed files with 3 additions and 1 deletions
|
|
@ -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/
|
||||
|
|
|
|||
Loading…
Reference in a new issue