PHP Class Transport\Entity\Location\LocationQuery

Inheritance: extends Transport\Entity\Query
ファイルを表示 Open project: opendatach/transport Class Usage Examples

Public Properties

Property Type Description
$query array
$type

Public Methods

Method Description
__construct ( string | array $query, string $type = null ) Finds all stations, locations and poi matching the search query.
getLocationTypes ( ) : array
toXml ( )

Method Details

__construct() public method

Finds all stations, locations and poi matching the search query.
public __construct ( string | array $query, string $type = null )
$query string | array Search query (e.g. Ber)
$type string Location types to return (all, station, address, poi)

getLocationTypes() public method

public getLocationTypes ( ) : array
return array

toXml() public method

public toXml ( )

Property Details

$query public_oe property

public array $query
return array

$type public_oe property

public $type