aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/FullTextSearch
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2019-03-04 09:49:29 -0100
committerMaxence Lange <maxence@artificial-owl.com>2019-03-04 09:54:45 -0100
commitadfadf821b88d1a704a05a9eeded7f4e9b81066a (patch)
treea6bf860ef0ed53b5d657dea8baa8fa7c8d295877 /lib/public/FullTextSearch
parent3bdc78e981576b4c965cd9f6965d26f9b3b68292 (diff)
downloadnextcloud-server-adfadf821b88d1a704a05a9eeded7f4e9b81066a.tar.gz
nextcloud-server-adfadf821b88d1a704a05a9eeded7f4e9b81066a.zip
fixing phpdoc
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/public/FullTextSearch')
-rw-r--r--lib/public/FullTextSearch/Model/IDocumentAccess.php40
-rw-r--r--lib/public/FullTextSearch/Model/ISearchOption.php32
-rw-r--r--lib/public/FullTextSearch/Model/ISearchTemplate.php22
3 files changed, 52 insertions, 42 deletions
diff --git a/lib/public/FullTextSearch/Model/IDocumentAccess.php b/lib/public/FullTextSearch/Model/IDocumentAccess.php
index 66697340a8c..848e2200f60 100644
--- a/lib/public/FullTextSearch/Model/IDocumentAccess.php
+++ b/lib/public/FullTextSearch/Model/IDocumentAccess.php
@@ -47,7 +47,7 @@ namespace OCP\FullTextSearch\Model;
*
* @see IIndexDocument::setAccess
*
- * @since 15.0.0
+ * @since 16.0.0
*
* @package OCP\FullTextSearch\Model
*/
@@ -57,7 +57,7 @@ interface IDocumentAccess {
/**
* Owner of the document can be set at the init of the object.
*
- * @since 15.0.0
+ * @since 16.0.0
*
* IDocumentAccess constructor.
*
@@ -69,7 +69,7 @@ interface IDocumentAccess {
/**
* Set the Owner of the document.
*
- * @since 15.0.0
+ * @since 16.0.0
*
* @param string $ownerId
*
@@ -80,7 +80,7 @@ interface IDocumentAccess {
/**
* Get the Owner of the document.
*
- * @since 15.0.0
+ * @since 16.0.0
*
* @return string
*/
@@ -90,7 +90,7 @@ interface IDocumentAccess {
/**
* Set the viewer of the document.
*
- * @since 15.0.0
+ * @since 16.0.0
*
* @param string $viewerId
*
@@ -101,7 +101,7 @@ interface IDocumentAccess {
/**
* Get the viewer of the document.
*
- * @since 15.0.0
+ * @since 16.0.0
*
* @return string
*/
@@ -111,7 +111,7 @@ interface IDocumentAccess {
/**
* Set the list of users that have read access to the document.
*
- * @since 15.0.0
+ * @since 16.0.0
*
* @param array $users
*
@@ -122,7 +122,7 @@ interface IDocumentAccess {
/**
* Add an entry to the list of users that have read access to the document.
*
- * @since 15.0.0
+ * @since 16.0.0
*
* @param string $user
*
@@ -134,7 +134,7 @@ interface IDocumentAccess {
* Add multiple entries to the list of users that have read access to the
* document.
*
- * @since 15.0.0
+ * @since 16.0.0
*
* @param array $users
*
@@ -145,7 +145,7 @@ interface IDocumentAccess {
/**
* Get the complete list of users that have read access to the document.
*
- * @since 15.0.0
+ * @since 16.0.0
*
* @return array
*/
@@ -155,7 +155,7 @@ interface IDocumentAccess {
/**
* Set the list of groups that have read access to the document.
*
- * @since 15.0.0
+ * @since 16.0.0
*
* @param array $groups
*
@@ -166,7 +166,7 @@ interface IDocumentAccess {
/**
* Add an entry to the list of groups that have read access to the document.
*
- * @since 15.0.0
+ * @since 16.0.0
*
* @param string $group
*
@@ -178,7 +178,7 @@ interface IDocumentAccess {
* Add multiple entries to the list of groups that have read access to the
* document.
*
- * @since 15.0.0
+ * @since 16.0.0
*
* @param array $groups
*
@@ -189,7 +189,7 @@ interface IDocumentAccess {
/**
* Get the complete list of groups that have read access to the document.
*
- * @since 15.0.0
+ * @since 16.0.0
*
* @return array
*/
@@ -199,7 +199,7 @@ interface IDocumentAccess {
/**
* Set the list of circles that have read access to the document.
*
- * @since 15.0.0
+ * @since 16.0.0
*
* @param array $circles
*
@@ -210,7 +210,7 @@ interface IDocumentAccess {
/**
* Add an entry to the list of circles that have read access to the document.
*
- * @since 15.0.0
+ * @since 16.0.0
*
* @param string $circle
*
@@ -222,7 +222,7 @@ interface IDocumentAccess {
* Add multiple entries to the list of groups that have read access to the
* document.
*
- * @since 15.0.0
+ * @since 16.0.0
*
* @param array $circles
*
@@ -233,7 +233,7 @@ interface IDocumentAccess {
/**
* Get the complete list of circles that have read access to the document.
*
- * @since 15.0.0
+ * @since 16.0.0
*
* @return array
*/
@@ -243,7 +243,7 @@ interface IDocumentAccess {
/**
* Set the list of links that have read access to the document.
*
- * @since 15.0.0
+ * @since 16.0.0
*
* @param array $links
*
@@ -254,7 +254,7 @@ interface IDocumentAccess {
/**
* Get the list of links that have read access to the document.
*
- * @since 15.0.0
+ * @since 16.0.0
*
* @return array
*/
diff --git a/lib/public/FullTextSearch/Model/ISearchOption.php b/lib/public/FullTextSearch/Model/ISearchOption.php
index 33802028547..4ac995ad75f 100644
--- a/lib/public/FullTextSearch/Model/ISearchOption.php
+++ b/lib/public/FullTextSearch/Model/ISearchOption.php
@@ -32,7 +32,7 @@ namespace OCP\FullTextSearch\Model;
/**
- * @since 15.0.0
+ * @since 16.0.0
*
* Interface ISearchOption
*
@@ -41,9 +41,19 @@ namespace OCP\FullTextSearch\Model;
interface ISearchOption {
+ /**
+ * @since 16.0.0
+ */
const CHECKBOX = 'checkbox';
+
+ /**
+ * @since 16.0.0
+ */
const INPUT = 'input';
+ /**
+ * @since 16.0.0
+ */
const INPUT_SMALL = 'small';
@@ -54,7 +64,7 @@ interface ISearchOption {
*
* @see ISearchRequest::getOption
*
- * @since 15.0.0
+ * @since 16.0.0
*
* @param string $name
*
@@ -65,7 +75,7 @@ interface ISearchOption {
/**
* Get the name/key of the option.
*
- * @since 15.0.0
+ * @since 16.0.0
*
* @return string
*/
@@ -75,7 +85,7 @@ interface ISearchOption {
/**
* Set the title/display name of the option.
*
- * @since 15.0.0
+ * @since 16.0.0
*
* @param string $title
*
@@ -86,7 +96,7 @@ interface ISearchOption {
/**
* Get the title of the option.
*
- * @since 15.0.0
+ * @since 16.0.0
*
* @return string
*/
@@ -97,7 +107,7 @@ interface ISearchOption {
* Set the type of the option.
* $type can be ISearchOption::CHECKBOX or ISearchOption::INPUT
*
- * @since 15.0.0
+ * @since 16.0.0
*
* @param string $type
*
@@ -108,7 +118,7 @@ interface ISearchOption {
/**
* Get the type of the option.
*
- * @since 15.0.0
+ * @since 16.0.0
*
* @return string
*/
@@ -119,7 +129,7 @@ interface ISearchOption {
* In case of Type is INPUT, set the size of the input field.
* Value can be ISearchOption::INPUT_SMALL or not defined.
*
- * @since 15.0.0
+ * @since 16.0.0
*
* @param string $size
*
@@ -130,7 +140,7 @@ interface ISearchOption {
/**
* Get the size of the INPUT.
*
- * @since 15.0.0
+ * @since 16.0.0
*
* @return string
*/
@@ -141,7 +151,7 @@ interface ISearchOption {
* In case of Type is , set the placeholder to be displayed in the input
* field.
*
- * @since 15.0.0
+ * @since 16.0.0
*
* @param string $placeholder
*
@@ -152,7 +162,7 @@ interface ISearchOption {
/**
* Get the placeholder.
*
- * @since 15.0.0
+ * @since 16.0.0
*
* @return string
*/
diff --git a/lib/public/FullTextSearch/Model/ISearchTemplate.php b/lib/public/FullTextSearch/Model/ISearchTemplate.php
index e0140b23252..9cd6753f2a7 100644
--- a/lib/public/FullTextSearch/Model/ISearchTemplate.php
+++ b/lib/public/FullTextSearch/Model/ISearchTemplate.php
@@ -55,7 +55,7 @@ use OCP\FullTextSearch\IFullTextSearchProvider;
*
* @see IFullTextSearchProvider::getSearchTemplate
*
- * @since 15.0.0
+ * @since 16.0.0
*
* @package OCP\FullTextSearch\Model
*/
@@ -66,7 +66,7 @@ interface ISearchTemplate {
* Set the class of the icon to be displayed in the left panel of the
* FullTextSearch navigation page, in front of the related Content Provider.
*
- * @since 15.0.0
+ * @since 16.0.0
*
* @param string $class
*
@@ -77,7 +77,7 @@ interface ISearchTemplate {
/**
* Get the class of the icon.
*
- * @since 15.0.0
+ * @since 16.0.0
*
* @return string
*/
@@ -87,7 +87,7 @@ interface ISearchTemplate {
/**
* Set the path of a CSS file that will be loaded when needed.
*
- * @since 15.0.0
+ * @since 16.0.0
*
* @param string $css
*
@@ -98,7 +98,7 @@ interface ISearchTemplate {
/**
* Get the path of the CSS file.
*
- * @since 15.0.0
+ * @since 16.0.0
*
* @return string
*/
@@ -111,7 +111,7 @@ interface ISearchTemplate {
* This should only be used if your Content Provider needs to set options in
* a way not generated by FullTextSearch
*
- * @since 15.0.0
+ * @since 16.0.0
*
* @param string $template
*
@@ -122,7 +122,7 @@ interface ISearchTemplate {
/**
* Get the path of the template file.
*
- * @since 15.0.0
+ * @since 16.0.0
*
* @return string
*/
@@ -135,7 +135,7 @@ interface ISearchTemplate {
*
* @see ISearchOption
*
- * @since 15.0.0
+ * @since 16.0.0
*
* @param ISearchOption $option
*
@@ -146,7 +146,7 @@ interface ISearchTemplate {
/**
* Get all options to be displayed in the Panel.
*
- * @since 15.0.0
+ * @since 16.0.0
*
* @return ISearchOption[]
*/
@@ -158,7 +158,7 @@ interface ISearchTemplate {
*
* @see ISearchOption
*
- * @since 15.0.0
+ * @since 16.0.0
*
* @param ISearchOption $option
*
@@ -169,7 +169,7 @@ interface ISearchTemplate {
/**
* Get all options to be displayed in the FullTextSearch navigation page.
*
- * @since 15.0.0
+ * @since 16.0.0
*
* @return array
*/