aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/FullTextSearch
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-10 16:54:27 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-10 16:54:27 +0200
commit28f8eb5dba60a75f7e22debbdc26f1d3164deb18 (patch)
tree5bb8a104ec6b5af821b81cf392c69167deca4c0a /lib/public/FullTextSearch
parent1584c9ae9c23d2a7915750ef9203cba0bcebf766 (diff)
downloadnextcloud-server-28f8eb5dba60a75f7e22debbdc26f1d3164deb18.tar.gz
nextcloud-server-28f8eb5dba60a75f7e22debbdc26f1d3164deb18.zip
Add visibility to all constants
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/public/FullTextSearch')
-rw-r--r--lib/public/FullTextSearch/Model/IIndex.php38
-rw-r--r--lib/public/FullTextSearch/Model/IIndexDocument.php4
-rw-r--r--lib/public/FullTextSearch/Model/IRunner.php6
-rw-r--r--lib/public/FullTextSearch/Model/ISearchOption.php6
-rw-r--r--lib/public/FullTextSearch/Model/ISearchRequestSimpleQuery.php22
5 files changed, 38 insertions, 38 deletions
diff --git a/lib/public/FullTextSearch/Model/IIndex.php b/lib/public/FullTextSearch/Model/IIndex.php
index fb279336c55..8272d7e78eb 100644
--- a/lib/public/FullTextSearch/Model/IIndex.php
+++ b/lib/public/FullTextSearch/Model/IIndex.php
@@ -45,25 +45,25 @@ namespace OCP\FullTextSearch\Model;
* @package OCP\FullTextSearch\Model
*/
interface IIndex {
- const INDEX_OK = 1;
- const INDEX_IGNORE = 2;
-
- const INDEX_META = 4;
- const INDEX_CONTENT = 8;
- const INDEX_PARTS = 16;
- const INDEX_FULL = 28;
- const INDEX_REMOVE = 32;
- const INDEX_DONE = 64;
- const INDEX_FAILED = 128;
-
- const ERROR_FAILED = 1;
- const ERROR_FAILED2 = 2;
- const ERROR_FAILED3 = 4;
-
- const ERROR_SEV_1 = 1;
- const ERROR_SEV_2 = 2;
- const ERROR_SEV_3 = 3;
- const ERROR_SEV_4 = 4;
+ public const INDEX_OK = 1;
+ public const INDEX_IGNORE = 2;
+
+ public const INDEX_META = 4;
+ public const INDEX_CONTENT = 8;
+ public const INDEX_PARTS = 16;
+ public const INDEX_FULL = 28;
+ public const INDEX_REMOVE = 32;
+ public const INDEX_DONE = 64;
+ public const INDEX_FAILED = 128;
+
+ public const ERROR_FAILED = 1;
+ public const ERROR_FAILED2 = 2;
+ public const ERROR_FAILED3 = 4;
+
+ public const ERROR_SEV_1 = 1;
+ public const ERROR_SEV_2 = 2;
+ public const ERROR_SEV_3 = 3;
+ public const ERROR_SEV_4 = 4;
/**
diff --git a/lib/public/FullTextSearch/Model/IIndexDocument.php b/lib/public/FullTextSearch/Model/IIndexDocument.php
index c7af11d7472..1858e5dc97c 100644
--- a/lib/public/FullTextSearch/Model/IIndexDocument.php
+++ b/lib/public/FullTextSearch/Model/IIndexDocument.php
@@ -43,8 +43,8 @@ namespace OCP\FullTextSearch\Model;
* @package OC\FullTextSearch\Model
*/
interface IIndexDocument {
- const NOT_ENCODED = 0;
- const ENCODED_BASE64 = 1;
+ public const NOT_ENCODED = 0;
+ public const ENCODED_BASE64 = 1;
diff --git a/lib/public/FullTextSearch/Model/IRunner.php b/lib/public/FullTextSearch/Model/IRunner.php
index 230e9932c46..3692400d1dc 100644
--- a/lib/public/FullTextSearch/Model/IRunner.php
+++ b/lib/public/FullTextSearch/Model/IRunner.php
@@ -41,9 +41,9 @@ namespace OCP\FullTextSearch\Model;
* @package OCP\FullTextSearch\Model
*/
interface IRunner {
- const RESULT_TYPE_SUCCESS = 1;
- const RESULT_TYPE_WARNING = 4;
- const RESULT_TYPE_FAIL = 9;
+ public const RESULT_TYPE_SUCCESS = 1;
+ public const RESULT_TYPE_WARNING = 4;
+ public const RESULT_TYPE_FAIL = 9;
/**
diff --git a/lib/public/FullTextSearch/Model/ISearchOption.php b/lib/public/FullTextSearch/Model/ISearchOption.php
index 7d57f9eb3f9..8e902296ff6 100644
--- a/lib/public/FullTextSearch/Model/ISearchOption.php
+++ b/lib/public/FullTextSearch/Model/ISearchOption.php
@@ -39,17 +39,17 @@ interface ISearchOption {
/**
* @since 16.0.0
*/
- const CHECKBOX = 'checkbox';
+ public const CHECKBOX = 'checkbox';
/**
* @since 16.0.0
*/
- const INPUT = 'input';
+ public const INPUT = 'input';
/**
* @since 16.0.0
*/
- const INPUT_SMALL = 'small';
+ public const INPUT_SMALL = 'small';
/**
diff --git a/lib/public/FullTextSearch/Model/ISearchRequestSimpleQuery.php b/lib/public/FullTextSearch/Model/ISearchRequestSimpleQuery.php
index f9ddde86a0d..e0868c260c2 100644
--- a/lib/public/FullTextSearch/Model/ISearchRequestSimpleQuery.php
+++ b/lib/public/FullTextSearch/Model/ISearchRequestSimpleQuery.php
@@ -39,17 +39,17 @@ namespace OCP\FullTextSearch\Model;
* @package OCP\FullTextSearch\Model
*/
interface ISearchRequestSimpleQuery {
- const COMPARE_TYPE_TEXT = 1;
- const COMPARE_TYPE_KEYWORD = 2;
- const COMPARE_TYPE_INT_EQ = 3;
- const COMPARE_TYPE_INT_GTE = 4;
- const COMPARE_TYPE_INT_GT = 5;
- const COMPARE_TYPE_INT_LTE = 6;
- const COMPARE_TYPE_INT_LT = 7;
- const COMPARE_TYPE_BOOL = 8;
- const COMPARE_TYPE_ARRAY = 9;
- const COMPARE_TYPE_REGEX = 10;
- const COMPARE_TYPE_WILDCARD = 11;
+ public const COMPARE_TYPE_TEXT = 1;
+ public const COMPARE_TYPE_KEYWORD = 2;
+ public const COMPARE_TYPE_INT_EQ = 3;
+ public const COMPARE_TYPE_INT_GTE = 4;
+ public const COMPARE_TYPE_INT_GT = 5;
+ public const COMPARE_TYPE_INT_LTE = 6;
+ public const COMPARE_TYPE_INT_LT = 7;
+ public const COMPARE_TYPE_BOOL = 8;
+ public const COMPARE_TYPE_ARRAY = 9;
+ public const COMPARE_TYPE_REGEX = 10;
+ public const COMPARE_TYPE_WILDCARD = 11;
/**