Свойство | Тип | Описание | |
---|---|---|---|
$children | The children. | ||
$code | string | The subdivision code. | |
$countryCode | string | The country code. | |
$isoCode | string | The subdivision iso code. | |
$localCode | string | The local subdivision code. | |
$localName | string | The local subdivision name. | |
$locale | string | The locale. | |
$name | string | The subdivision name. | |
$parent | The parent. | ||
$postalCodePattern | string | The postal code pattern. | |
$postalCodePatternType | string | The postal code pattern type. |
Метод | Описание | |
---|---|---|
__construct ( array $definition ) | Creates a new Subdivision instance. | |
getChildren ( ) : |
Gets the subdivision children. | |
getCode ( ) : string | Gets the subdivision code. | |
getCountryCode ( ) : string | Gets the subdivision country code. | |
getIsoCode ( ) : string | Gets the subdivision ISO 3166-2 code. | |
getLocalCode ( ) : string | null | Gets the subdivision local code. | |
getLocalName ( ) : string | null | Gets the subdivision local name. | |
getLocale ( ) : string | null | Gets the subdivision locale. | |
getName ( ) : string | Gets the subdivision name. | |
getParent ( ) : |
Gets the subdivision parent. | |
getPostalCodePattern ( ) : string | null | Gets the postal code pattern. | |
getPostalCodePatternType ( ) : string | null | Gets the postal code pattern type. | |
hasChildren ( ) : boolean | Checks whether the subdivision has children. |
public __construct ( array $definition ) | ||
$definition | array | The definition array. |
public getChildren ( ) : |
||
Результат | The subdivision children. |
public getCountryCode ( ) : string | ||
Результат | string | The two-letter country code. |
public getIsoCode ( ) : string | ||
Результат | string | The subdivision ISO 3166-2 code. |
public getLocalCode ( ) : string | null | ||
Результат | string | null | The subdivision local code, if defined. |
public getLocalName ( ) : string | null | ||
Результат | string | null | The subdivision local name, if defined. |
public getPostalCodePattern ( ) : string | null | ||
Результат | string | null | The postal code pattern. |
public getPostalCodePatternType ( ) : string | null | ||
Результат | string | null | The postal code pattern type. |
public hasChildren ( ) : boolean | ||
Результат | boolean | TRUE if the subdivision has children, FALSE otherwise. |
protected string $localCode | ||
Результат | string |
protected string $localName | ||
Результат | string |
protected Subdivision,CommerceGuys\Addressing\Subdivision $parent | ||
Результат |
protected string $postalCodePattern | ||
Результат | string |
protected string $postalCodePatternType | ||
Результат | string |