QuerySearchHelper

class OC\Files\Cache\QuerySearchHelper
Tools for transforming search queries into database queries
Source:lib/private/Files/Cache/QuerySearchHelper.php#39

Constants

TAG_FAVORITE = _$!<Favorite>!$_
Source:lib/private/Files/Cache/QuerySearchHelper.php#58

Properties

protected property OC\Files\Cache\QuerySearchHelper::$searchOperatorMap
Source:lib/private/Files/Cache/QuerySearchHelper.php#40
protected property OC\Files\Cache\QuerySearchHelper::$searchOperatorNegativeMap
Source:lib/private/Files/Cache/QuerySearchHelper.php#49

Methods

public OC\Files\Cache\QuerySearchHelper::__construct($mimetypeLoader)
QuerySearchUtil constructor.
Source:

lib/private/Files/Cache/QuerySearchHelper.php#68

Parameters:
public OC\Files\Cache\QuerySearchHelper::shouldJoinTags($operator)
Whether or not the tag tables should be joined to complete the search
Source:

lib/private/Files/Cache/QuerySearchHelper.php#78

Parameters:
Returns:

bool

public OC\Files\Cache\QuerySearchHelper::searchOperatorArrayToDBExprArray($builder, $operators)
Source:

lib/private/Files/Cache/QuerySearchHelper.php#93

Parameters:
public OC\Files\Cache\QuerySearchHelper::searchOperatorToDBExpr($builder, $operator)
Source:lib/private/Files/Cache/QuerySearchHelper.php#99
public OC\Files\Cache\QuerySearchHelper::addSearchOrdersToQuery($query, $orders)
Source:

lib/private/Files/Cache/QuerySearchHelper.php#226

Parameters: