Property | 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 | The departure checkpoint of the connection. | ||
$products | string[] | ||
$sections | A list of sections. | ||
$service | List of transport products (e.g. IR, S9). | ||
$to | The arrival checkpoint of the connection. | ||
$transfers | integer | Service information about how regular the connection operates. |
Method | Description | |
---|---|---|
createFromXml ( SimpleXMLElement $xml, |
public static createFromXml ( SimpleXMLElement $xml, |
||
$xml | SimpleXMLElement | |
$obj |
public int $capacity1st | ||
return | integer |
public int $capacity2nd | ||
return | integer |
public string $duration | ||
return | string |
public Stop,Transport\Entity\Schedule $from | ||
return |
public Section[],Transport\Entity\Schedule $sections | ||
return |
public Service,Transport\Entity\Schedule $service | ||
return |
public Stop,Transport\Entity\Schedule $to | ||
return |
public int $transfers | ||
return | integer |