protected function sortOrderString()
    {
        $sortOrderComponents = [];
        foreach ($this->getSortOrder() as $sortCriterion) {
            $sortOrderComponents[] = $sortCriterion['fieldName'] . ':'
                    . (($sortCriterion['direction'] === 'descending') ? '0' : '1');
        }
        $sortOrderString = implode(',', $sortOrderComponents);

        return $sortOrderString;
    }
protected function sortOrderString()
    {
        $sortOrderComponents = [];
        foreach ($this->getSortOrder() as $sortCriterion) {
            $sortOrderComponents[] = $sortCriterion['fieldName'] . ':'
                    . (($sortCriterion['direction'] === 'descending') ? '0' : '1');
        }
        $sortOrderString = implode(',', $sortOrderComponents);

        return $sortOrderString;
    }
protected function sortOrderString ( ) { $ sortOrderComponents = [ ] ; foreach ( $ this -> getSortOrder ( ) as $ sortCriterion ) { $ sortOrderComponents [ ] = $ sortCriterion [ 'fieldName' ] . ':' . ( ( $ sortCriterion [ 'direction' ] === 'descending' ) ? '0' : '1' ) ; } $ sortOrderString = implode ( ',' , $ sortOrderComponents ) ; return $ sortOrderString ; }
Returns a string encoding the sort order formatted for use by pazpar2.

@return string
Returns a string encoding the sort order formatted for use by pazpar2 .