PHP Класс Transport\Entity\Schedule\Prognosis

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$arrival string The departure time prognosis to the checkpoint, date format: ISO 8601 (e.g. 2012-03-31T08:58:00+02:00).
$capacity1st integer The estimated occupation load of 1st class coaches (e.g. 1).
$capacity2nd integer The estimated occupation load of 2nd class coaches (e.g. 2).
$departure string The arrival time prognosis to the checkpoint, date format: ISO 8601 (e.g. 2012-03-31T09:35:00+02:00).
$platform string The estimated arrival/departure platform (e.g. 8).

Открытые методы

Метод Описание
createFromXml ( SimpleXMLElement $xml, DateTime $date, $isArrival, Prognosis $obj = null )

Описание методов

createFromXml() публичный статический Метод

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

Описание свойств

$arrival публичное свойство

The departure time prognosis to the checkpoint, date format: ISO 8601 (e.g. 2012-03-31T08:58:00+02:00).
public string $arrival
Результат string

$capacity1st публичное свойство

The estimated occupation load of 1st class coaches (e.g. 1).
public int $capacity1st
Результат integer

$capacity2nd публичное свойство

The estimated occupation load of 2nd class coaches (e.g. 2).
public int $capacity2nd
Результат integer

$departure публичное свойство

The arrival time prognosis to the checkpoint, date format: ISO 8601 (e.g. 2012-03-31T09:35:00+02:00).
public string $departure
Результат string

$platform публичное свойство

The estimated arrival/departure platform (e.g. 8).
public string $platform
Результат string