KGzocha\Searcher\Criteria\Adapter\MappedOrderByAdapter::getMappedOrderBy PHP Method

getMappedOrderBy() public method

public getMappedOrderBy ( ) : string | null
return string | null Returns null if user will enter value that is not in fieldsMap
    public function getMappedOrderBy()
    {
        if ($this->rawValueExistsInFieldsMap()) {
            return $this->fieldsMap[$this->getOrderBy()];
        }
        return;
    }