PHP Class KGzocha\Searcher\Criteria\Adapter\MappedOrderByAdapter
Fields map key should be a value that will be visible to end-user.
Fields map value will be visible to developer.
To get "mapped" value (for end-user) just use getOrderBy()
To get "real" value (for developer) use getMappedOrderBy().
Mostra file
Open project: krzysztof-gzocha/searcher
Public Methods
Private Methods
Method Details
__construct()
public method
public __construct ( KGzocha\Searcher\Criteria\OrderByCriteriaInterface $orderBy, array | ArrayAccess $fieldsMap ) |
$orderBy |
KGzocha\Searcher\Criteria\OrderByCriteriaInterface |
|
$fieldsMap |
array | ArrayAccess |
keys will be visible to user,
values to CriteriaBuilder |
getFieldsMap()
public method
getMappedOrderBy()
public method
getOrderBy()
public method
setOrderBy()
public method
shouldBeApplied()
public method