aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/bookmark/LinkDB.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/bookmark/LinkDB.php')
-rw-r--r--application/bookmark/LinkDB.php26
1 files changed, 13 insertions, 13 deletions
diff --git a/application/bookmark/LinkDB.php b/application/bookmark/LinkDB.php
index 3b77422a..6041c088 100644
--- a/application/bookmark/LinkDB.php
+++ b/application/bookmark/LinkDB.php
@@ -6,8 +6,8 @@ use ArrayAccess;
6use Countable; 6use Countable;
7use DateTime; 7use DateTime;
8use Iterator; 8use Iterator;
9use LinkFilter; 9use Shaarli\Bookmark\LinkFilter;
10use LinkNotFoundException; 10use Shaarli\Bookmark\Exception\LinkNotFoundException;
11use Shaarli\Exceptions\IOException; 11use Shaarli\Exceptions\IOException;
12use Shaarli\FileUtils; 12use Shaarli\FileUtils;
13 13
@@ -107,10 +107,10 @@ class LinkDB implements Iterator, Countable, ArrayAccess
107 * 107 *
108 * Checks if the datastore exists; else, attempts to create a dummy one. 108 * Checks if the datastore exists; else, attempts to create a dummy one.
109 * 109 *
110 * @param string $datastore datastore file path. 110 * @param string $datastore datastore file path.
111 * @param boolean $isLoggedIn is the user logged in? 111 * @param boolean $isLoggedIn is the user logged in?
112 * @param boolean $hidePublicLinks if true all links are private. 112 * @param boolean $hidePublicLinks if true all links are private.
113 * @param string $redirector link redirector set in user settings. 113 * @param string $redirector link redirector set in user settings.
114 * @param boolean $redirectorEncode Enable urlencode on redirected urls (default: true). 114 * @param boolean $redirectorEncode Enable urlencode on redirected urls (default: true).
115 */ 115 */
116 public function __construct( 116 public function __construct(
@@ -426,12 +426,12 @@ You use the community supported version of the original Shaarli project, by Seba
426 /** 426 /**
427 * Filter links according to search parameters. 427 * Filter links according to search parameters.
428 * 428 *
429 * @param array $filterRequest Search request content. Supported keys: 429 * @param array $filterRequest Search request content. Supported keys:
430 * - searchtags: list of tags 430 * - searchtags: list of tags
431 * - searchterm: term search 431 * - searchterm: term search
432 * @param bool $casesensitive Optional: Perform case sensitive filter 432 * @param bool $casesensitive Optional: Perform case sensitive filter
433 * @param string $visibility return only all/private/public links 433 * @param string $visibility return only all/private/public links
434 * @param string $untaggedonly return only untagged links 434 * @param bool $untaggedonly return only untagged links
435 * 435 *
436 * @return array filtered links, all links if no suitable filter was provided. 436 * @return array filtered links, all links if no suitable filter was provided.
437 */ 437 */
@@ -457,8 +457,8 @@ You use the community supported version of the original Shaarli project, by Seba
457 /** 457 /**
458 * Returns the list tags appearing in the links with the given tags 458 * Returns the list tags appearing in the links with the given tags
459 * 459 *
460 * @param array $filteringTags tags selecting the links to consider 460 * @param array $filteringTags tags selecting the links to consider
461 * @param string $visibility process only all/private/public links 461 * @param string $visibility process only all/private/public links
462 * 462 *
463 * @return array tag => linksCount 463 * @return array tag => linksCount
464 */ 464 */
@@ -500,7 +500,7 @@ You use the community supported version of the original Shaarli project, by Seba
500 * Rename or delete a tag across all links. 500 * Rename or delete a tag across all links.
501 * 501 *
502 * @param string $from Tag to rename 502 * @param string $from Tag to rename
503 * @param string $to New tag. If none is provided, the from tag will be deleted 503 * @param string $to New tag. If none is provided, the from tag will be deleted
504 * 504 *
505 * @return array|bool List of altered links or false on error 505 * @return array|bool List of altered links or false on error
506 */ 506 */