PHP Class Transport\Entity\Schedule\Section

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

Méthodes publiques

Свойство Type Description
$arrival Stop The arrival checkpoint of the connection.
$departure Stop The departure checkpoint of the connection.
$journey Journey A journey, the transportation used by this section, can be null.
$walk Walk Information about walking distance, if available, can be null.

Méthodes publiques

Méthode Description
createFromXml ( SimpleXMLElement $xml, DateTime $date, Section $obj = null )

Method Details

createFromXml() public static méthode

public static createFromXml ( SimpleXMLElement $xml, DateTime $date, Section $obj = null )
$xml SimpleXMLElement
$date DateTime
$obj Section

Property Details

$arrival public_oe property

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

$departure public_oe property

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

$journey public_oe property

A journey, the transportation used by this section, can be null.
public Journey,Transport\Entity\Schedule $journey
Résultat Journey

$walk public_oe property

Information about walking distance, if available, can be null.
public Walk,Transport\Entity\Schedule $walk
Résultat Walk