protected function getListLanguage($count = false)
    {
        $list = $this->language->getList();

        $allowed = $this->getAllowedFiltersLanguage();
        $this->filterList($list, $allowed, $this->query_filter);
        $this->sortList($list, $allowed, $this->query_filter, array('code' => 'asc'));

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

        $this->limitList($list, $this->data_limit);
        $this->prepareListLanguage($list);
        return $list;
    }
protected function getListLanguage($count = false)
    {
        $list = $this->language->getList();

        $allowed = $this->getAllowedFiltersLanguage();
        $this->filterList($list, $allowed, $this->query_filter);
        $this->sortList($list, $allowed, $this->query_filter, array('code' => 'asc'));

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

        $this->limitList($list, $this->data_limit);
        $this->prepareListLanguage($list);
        return $list;
    }
protected function getListLanguage ( $ count = false ) { $ list = $ this -> language -> getList ( ) ; $ allowed = $ this -> getAllowedFiltersLanguage ( ) ; $ this -> filterList ( $ list , $ allowed , $ this -> query_filter ) ; $ this -> sortList ( $ list , $ allowed , $ this -> query_filter , array ( 'code' => 'asc' ) ) ; if ( $ count ) { return count ( $ list ) ; } $ this -> limitList ( $ list , $ this -> data_limit ) ; $ this -> prepareListLanguage ( $ list ) ; return $ list ; }
Returns an array of prepared languages
@param bool $count
@return array|int
Returns an array of prepared languages