ISearchComparison¶
-
interface
OCP\Files\Search\
ISearchComparison
¶ Implemented by: OC\Files\Search\SearchComparison
Source: lib/public/Files/Search/ISearchComparison.php#30 Parent: OCP\Files\Search\ISearchOperator
Constants¶
-
COMPARE_EQUAL = eq
Source: lib/public/Files/Search/ISearchComparison.php#31
-
COMPARE_GREATER_THAN = gt
Source: lib/public/Files/Search/ISearchComparison.php#32
-
COMPARE_GREATER_THAN_EQUAL = gte
Source: lib/public/Files/Search/ISearchComparison.php#33
-
COMPARE_LESS_THAN = lt
Source: lib/public/Files/Search/ISearchComparison.php#34
-
COMPARE_LESS_THAN_EQUAL = lte
Source: lib/public/Files/Search/ISearchComparison.php#35
-
COMPARE_LIKE = like
Source: lib/public/Files/Search/ISearchComparison.php#36
Methods¶
-
public
OCP\Files\Search\ISearchComparison::
getType
()¶ - Get the type of comparison, one of the ISearchComparison::COMPARE_* constants
Source: lib/public/Files/Search/ISearchComparison.php#44 Returns: string Since: 12.0.0
-
public
OCP\Files\Search\ISearchComparison::
getField
()¶ - Get the name of the field to compare withi.e. ‘size’, ‘name’ or ‘mimetype’
Source: lib/public/Files/Search/ISearchComparison.php#54 Returns: string Since: 12.0.0
-
public
OCP\Files\Search\ISearchComparison::
getValue
()¶ - Get the value to compare the field with
Source: lib/public/Files/Search/ISearchComparison.php#62 Returns: string | int | \DateTime
Since: 12.0.0