PHP 클래스 Alcohol\ISO3166\ISO3166

상속: implements IteratorAggregate, implements Alcohol\ISO3166\DataProvider
파일 보기 프로젝트 열기: alcohol/iso3166

보호된 프로퍼티들

프로퍼티 타입 설명
$countries array

공개 메소드들

메소드 설명
getAll ( ) : array
getByAlpha2 ( string $alpha2 ) : array Lookup ISO3166-1 data by alpha2 identifier.
getByAlpha3 ( string $alpha3 ) : array Lookup ISO3166-1 data by alpha3 identifier.
getByCode ( string $code ) : array
getByNumeric ( string $numeric ) : array Lookup ISO3166-1 data by numeric identifier (numerical string, that is).
getIterator ( ) : Generator
listBy ( string $listBy = self::KEY_ALPHA2 ) : Generator

보호된 메소드들

메소드 설명
get ( string $id ) : array Lookup ISO3166-1 data by given identifier.

메소드 상세

get() 보호된 메소드

Looks for a match against all known identifying keys of each entry in the dataset.
protected get ( string $id ) : array
$id string
리턴 array

getAll() 공개 메소드

public getAll ( ) : array
리턴 array

getByAlpha2() 공개 메소드

Lookup ISO3166-1 data by alpha2 identifier.
public getByAlpha2 ( string $alpha2 ) : array
$alpha2 string
리턴 array

getByAlpha3() 공개 메소드

Lookup ISO3166-1 data by alpha3 identifier.
public getByAlpha3 ( string $alpha3 ) : array
$alpha3 string
리턴 array

getByCode() 공개 메소드

사용 중단:
public getByCode ( string $code ) : array
$code string
리턴 array

getByNumeric() 공개 메소드

Lookup ISO3166-1 data by numeric identifier (numerical string, that is).
public getByNumeric ( string $numeric ) : array
$numeric string
리턴 array

getIterator() 공개 메소드

public getIterator ( ) : Generator
리턴 Generator

listBy() 공개 메소드

public listBy ( string $listBy = self::KEY_ALPHA2 ) : Generator
$listBy string
리턴 Generator

프로퍼티 상세

$countries 보호되어 있는 프로퍼티

protected array $countries
리턴 array