SearchQuery¶
-
class
OC\Search\
SearchQuery
¶ Source: lib/private/Search/SearchQuery.php#33 Implements: OCP\Search\ISearchQuery
Constants¶
-
LIMIT_DEFAULT = 5
Source: lib/private/Search/SearchQuery.php#34
Properties¶
Methods¶
-
public
OC\Search\SearchQuery::
__construct
($term, $sortOrder=\OCP\Search\ISearchQuery::SORT_DATE_DESC, $limit=self::LIMIT_DEFAULT, $cursor=null, $route="", $routeParameters=[])¶ Source: Parameters: - $term (string)
- $sortOrder (int)
- $limit (int)
- $cursor (int | string | null)
- $route (string)
- $routeParameters (array)
-
public
OC\Search\SearchQuery::
getTerm
()¶ Source: lib/private/Search/SearchQuery.php#79
-
public
OC\Search\SearchQuery::
getSortOrder
()¶ Source: lib/private/Search/SearchQuery.php#86
-
public
OC\Search\SearchQuery::
getLimit
()¶ Source: lib/private/Search/SearchQuery.php#93
-
public
OC\Search\SearchQuery::
getCursor
()¶ Source: lib/private/Search/SearchQuery.php#100
-
public
OC\Search\SearchQuery::
getRoute
()¶ Source: lib/private/Search/SearchQuery.php#107
-
public
OC\Search\SearchQuery::
getRouteParameters
()¶ Source: lib/private/Search/SearchQuery.php#114