protected function getListCurrency($count = false)
    {
        $currencies = $this->currency->getList();

        $allowed = $this->getAllowedFiltersCurrency();
        $this->filterList($currencies, $allowed, $this->query_filter);
        $this->sortList($currencies, $allowed, $this->query_filter, array('modified' => 'desc'));

        if ($count) {
            return count($currencies);
        }

        $this->limitList($currencies, $this->data_limit);
        return $currencies;
    }
protected function getListCurrency($count = false)
    {
        $currencies = $this->currency->getList();

        $allowed = $this->getAllowedFiltersCurrency();
        $this->filterList($currencies, $allowed, $this->query_filter);
        $this->sortList($currencies, $allowed, $this->query_filter, array('modified' => 'desc'));

        if ($count) {
            return count($currencies);
        }

        $this->limitList($currencies, $this->data_limit);
        return $currencies;
    }
protected function getListCurrency ( $ count = false ) { $ currencies = $ this -> currency -> getList ( ) ; $ allowed = $ this -> getAllowedFiltersCurrency ( ) ; $ this -> filterList ( $ currencies , $ allowed , $ this -> query_filter ) ; $ this -> sortList ( $ currencies , $ allowed , $ this -> query_filter , array ( 'modified' => 'desc' ) ) ; if ( $ count ) { return count ( $ currencies ) ; } $ this -> limitList ( $ currencies , $ this -> data_limit ) ; return $ currencies ; }
Returns an array of sorted currencies
@param bool $count
@return array|int
Returns an array of sorted currencies