PHP Class eZ\Publish\Core\FieldType\Country\Value

Inheritance: extends eZ\Publish\Core\FieldType\Value
Mostra file Open project: ezsystems/ezpublish-kernel

Public Properties

Property Type Description
$countries array[] Example: array( "JP" => array( "Name" => "Japan", "Alpha2" => "JP", "Alpha3" => "JPN", "IDC" => 81 ) )

Public Methods

Method Description
__construct ( array $countries = [] ) Construct a new Value object and initialize it with given $data.
__toString ( )

Method Details

__construct() public method

Construct a new Value object and initialize it with given $data.
public __construct ( array $countries = [] )
$countries array

__toString() public method

See also: eZ\Publish\Core\FieldType\Value
public __toString ( )

Property Details

$countries public_oe property

Example: array( "JP" => array( "Name" => "Japan", "Alpha2" => "JP", "Alpha3" => "JPN", "IDC" => 81 ) )
public array[] $countries
return array[]