Свойство | Тип | Описание | |
---|---|---|---|
$counties | |||
$towns |
Метод | Описание | |
---|---|---|
__construct ( ) | ||
countyForOuterPostCode ( string $_code ) : string | Returns county for an outer post code. | |
isCounty ( string $_string ) : boolean | Is the passed string a county? | |
isTown ( $_string ) : boolean | Returns county for an outer post code. | |
parsePostCode ( string $_string ) : array | false | Cleans string, tests that is is postcode, return associative array with components, or false if not valid. | |
townForOuterPostCode ( string $_code ) : string | Returns town for an outer post code. |
public countyForOuterPostCode ( string $_code ) : string | ||
$_code | string | Outer postcode |
Результат | string | County name |
public parsePostCode ( string $_string ) : array | false | ||
$_string | string | Possible postcode string |
Результат | array | false |
public townForOuterPostCode ( string $_code ) : string | ||
$_code | string | Outer postcode |
Результат | string | Town name |