Library/Bullhorn/FastRest/Api/Services/ControllerHelper/Index.php
protected function buildSortParameter() {
        $sorts = $this->getIndexCriteria()->getSorts();
        if(!empty($sorts)) {
            $orderBy = '';
            foreach($sorts as $sort) {
                $this->buildSortRecursive($this->getEntityFactory(), $sort->getFields(), $sort->isAsc(), $orderBy);
            }
            $this->getCriteria()->orderBy($orderBy);
        }
    }
protected function buildSortParameter() {
        $sorts = $this->getIndexCriteria()->getSorts();
        if(!empty($sorts)) {
            $orderBy = '';
            foreach($sorts as $sort) {
                $this->buildSortRecursive($this->getEntityFactory(), $sort->getFields(), $sort->isAsc(), $orderBy);
            }
            $this->getCriteria()->orderBy($orderBy);
        }
    }
protected function buildSortParameter ( ) { $ sorts = $ this -> getIndexCriteria ( ) -> getSorts ( ) ; if ( ! empty ( $ sorts ) ) { $ orderBy = '' ; foreach ( $ sorts as $ sort ) { $ this -> buildSortRecursive ( $ this -> getEntityFactory ( ) , $ sort -> getFields ( ) , $ sort -> isAsc ( ) , $ orderBy ) ; } $ this -> getCriteria ( ) -> orderBy ( $ orderBy ) ; } }
Gets sort parameters from the URL.

@return void
Gets sort parameters from the URL .