PHP Class Transport\Entity\Schedule\Connection

Afficher le fichier Open project: opendatach/transport Class Usage Examples

Méthodes publiques

Свойство Type Description
$capacity1st integer The maximum estimated occupation load of 1st class coaches (e.g. 1).
$capacity2nd integer The maximum estimated occupation load of 2nd class coaches (e.g. 2).
$duration string Duration of the journey (e.g. 00d00:43:00).
$from Stop The departure checkpoint of the connection.
$products string[]
$sections Section[] A list of sections.
$service Service List of transport products (e.g. IR, S9).
$to Stop The arrival checkpoint of the connection.
$transfers integer Service information about how regular the connection operates.

Méthodes publiques

Méthode Description
createFromXml ( SimpleXMLElement $xml, Connection $obj = null )

Method Details

createFromXml() public static méthode

public static createFromXml ( SimpleXMLElement $xml, Connection $obj = null )
$xml SimpleXMLElement
$obj Connection

Property Details

$capacity1st public_oe property

The maximum estimated occupation load of 1st class coaches (e.g. 1).
public int $capacity1st
Résultat integer

$capacity2nd public_oe property

The maximum estimated occupation load of 2nd class coaches (e.g. 2).
public int $capacity2nd
Résultat integer

$duration public_oe property

Duration of the journey (e.g. 00d00:43:00).
public string $duration
Résultat string

$from public_oe property

The departure checkpoint of the connection.
public Stop,Transport\Entity\Schedule $from
Résultat Stop

$products public_oe property

public string[] $products
Résultat string[]

$sections public_oe property

A list of sections.
public Section[],Transport\Entity\Schedule $sections
Résultat Section[]

$service public_oe property

List of transport products (e.g. IR, S9).
public Service,Transport\Entity\Schedule $service
Résultat Service

$to public_oe property

The arrival checkpoint of the connection.
public Stop,Transport\Entity\Schedule $to
Résultat Stop

$transfers public_oe property

Service information about how regular the connection operates.
public int $transfers
Résultat integer