Gets all the champions in the given region.

@return ChampionList
179827
public function all()
	{
		$params = [
			'freeToPlay' => $this->free,
		];

		$info = $this->request('champion', $params);

		// set up the champions
		$championList = new ChampionList($info);

		return $this->attachStaticDataToDto($championList);
	}
316542
public function fetchAll() {
		if ($this->selection) {
			/** @var ActiveRow $entity */
			foreach ($this->selection as $entity) {
				$this->createEntity($entity);
			}
		}

		return $this->rows;
	}
104640
protected function getBasketDeliveryCountries()
    {
        $countries = [];

        foreach ($this->basket->getBasketElements() as $basketElement) {
            $product = $basketElement->getProduct();

            foreach ($product->getDeliveries() as $delivery) {
                $code = $delivery->getCountryCode();

                if (!isset($countries[$code])) {
                    $countries[$code] = Intl::getRegionBundle()->getCountryName($code);
                }
            }
        }

        return $countries;
    }
140852
public function getCitiesList(){
        if(!isset($this->cities_list) || is_null($this->cities_list)){
            $certdir = $this->getRealCertificatesDirectory();
            $this->cities_list = array();
    
            $dir = opendir($certdir);
            
            while($entry = readdir($dir)){
                if($entry != '.' && $entry != '..' && is_dir($certdir.$entry)){
                    $this->cities_list[]= Functions::encodeFileSystemToUtf8($entry);
                }
            }
            sort($this->cities_list);
        }
        return $this->cities_list;
    }
424529
private function getCountries()
    {
        $countries = [];
        foreach (Intl::getRegionBundle()->getCountryNames() as $countryCode => $countryName) {
            $countries[strtolower($countryCode)] = new PropertyParameter(strtolower($countryCode), $countryName);
        }

        return $countries;
    }
1165862
public static function countriesLocaleCodes()
    {
        static $list;

        if ($list === null) {
            $list = [];
            foreach (static::codes() as $localeCode) {
                if ($countryCode = \Locale::getRegion($localeCode)) {
                    $list[$countryCode][] = $localeCode;
                }
            }
        }

        return $list;
    }
1190947
public function getRuleList()
    {
        $rows = (new Query())
            ->select(['name'])
            ->from($this->manager->ruleTable)
            ->all();

        return ArrayHelper::map($rows, 'name', 'name');
    }
738444
public function getRolesIdList() {

		$roles		= $this->roleMappingList;
		$rolesList	= array();

		foreach ( $roles as $role ) {

			array_push( $rolesList, $role->roleId );
		}

		return $rolesList;
	}
661716
@Override
	public List<CommerceCountry> findAll() {
		return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
	}
162506
protected function getListCountry()
    {
        $code = $this->getParam(0);

        if (!isset($code)) {
            return $this->country->getList(array('limit' => $this->getLimit()));
        }

        $country = $this->country->get($code);

        if (empty($country)) {
            $this->errorAndExit($this->text('Unexpected result'));
        }

        return array($country);
    }
76918
public static function getRegionNames()
    {
        if (is_null(self::$regionNames)) {
            $GEOIP_REGION_NAME = array();
            require_once PIWIK_INCLUDE_PATH . '/libs/MaxMindGeoIP/geoipregionvars.php';
            self::$regionNames = $GEOIP_REGION_NAME;
        }

        return self::$regionNames;
    }
985636
public function getList()
    {
        $result = $this->repo->findAll();
        $comparer = new Comparer();
        usort($result, function (Geolocator $a, Geolocator $b) use ($comparer) {
            return $comparer->compare($a->getGeolocatorDisplayName('text'), $b->getGeolocatorDisplayName('text'));
        });

        return $result;
    }
35294
public static function getCountries()
    {
        // Put frequently country at the top
        $countries = array();
        $frequently = array();

        foreach (Convert::$aCountries as $k => $country) {
            //echo strtolower($k) . '<br />';
            if (in_array(strtolower($k), ['be', 'fr', 'gb'])) {
                $frequently[strtolower($k)] = $country;
            } else {
                $countries[strtolower($k)] = $country;
            }
        }

        return array_merge($frequently, $countries);
    }
764299
public function getMasterList()
    {
        $list = array();
        foreach ($this->getCriteria() as $c) {
            if ($c instanceof ValidationLogicCriteria) {
                $list += $c->getMasterList();
            } else {
                $list[] = $c->getMaster();
            }
        }
        return $list;
    }
800302
public function getWinners()
    {
        $outcomes = $this->getOutcomes();

        foreach ($outcomes as $outcome)
        {
            $winners[] = $outcome['winners'];
        }

        return $winners;
    }
730175
public function getAllStatesByName(){
        return array("Acre" ,"Alagoas","Amazonas","Amapá","Bahia","Ceará","Distrito Federal","Espírito Santo","Goiás","Maranhão","Mato Grosso","Mato Grosso do Sul","Minas Gerais","Pará","Paraíba","Paraná","Pernambuco","Piauí","Rio de Janeiro","Rio Grande do Norte","Rondônia","Rio Grande do Sul","Roraima","Santa Catarina","Sergipe","São Paulo","Tocantins");
    }
1094393
private function getRegionUrls()
    {
        $regionObject = new Regions();
        $this->mwsServiceUrls = $regionObject->mwsServiceUrls;
        $this->regionMappings = $regionObject->regionMappings;
        $this->profileEndpointUrls = $regionObject->profileEndpointUrls;
    }