SearchOrder

class OC\Files\Search\SearchOrder
Source:lib/private/Files/Search/SearchOrder.php#29
Implements:OCP\Files\Search\ISearchOrder

Properties

Methods

public OC\Files\Search\SearchOrder::__construct($direction, $field)
SearchOrder constructor.
Source:

lib/private/Files/Search/SearchOrder.php#41

Parameters:
  • $direction (string)
  • $field (string)
public OC\Files\Search\SearchOrder::getDirection()
Source:lib/private/Files/Search/SearchOrder.php#49
Returns:string
public OC\Files\Search\SearchOrder::getField()
Source:lib/private/Files/Search/SearchOrder.php#56
Returns:string
public OC\Files\Search\SearchOrder::sortFileInfo($a, $b)
Source:lib/private/Files/Search/SearchOrder.php#60