use Shaarli\Bookmark\Exception\BookmarkNotFoundException;
use Shaarli\Bookmark\Exception\NotWritableDataStoreException;
use Shaarli\Config\ConfigManager;
-use Shaarli\Exceptions\IOException;
use Shaarli\History;
/**
* @param string $visibility
* @param bool $caseSensitive
* @param bool $untaggedOnly
+ * @param bool $ignoreSticky
*
* @return Bookmark[]
*/
- public function search($request = [], $visibility = null, $caseSensitive = false, $untaggedOnly = false);
+ public function search(
+ $request = [],
+ $visibility = null,
+ $caseSensitive = false,
+ $untaggedOnly = false,
+ bool $ignoreSticky = false
+ );
/**
* Get a single bookmark by its ID.
* Creates the default database after a fresh install.
*/
public function initialize();
-
- /**
- * Allow to write the datastore from anonymous session (not logged in).
- *
- * This covers a few specific use cases, such as datastore initialization,
- * but it should be used carefully as it can lead to security issues.
- */
- public function enableAnonymousPermission();
-
- /**
- * Disable anonymous permission.
- */
- public function disableAnonymousPermission();
}