PHP 클래스 Transport\Entity\Schedule\Connection

파일 보기 프로젝트 열기: opendatach/transport 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$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.

공개 메소드들

메소드 설명
createFromXml ( SimpleXMLElement $xml, Connection $obj = null )

메소드 상세

createFromXml() 공개 정적인 메소드

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

프로퍼티 상세

$capacity1st 공개적으로 프로퍼티

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

$capacity2nd 공개적으로 프로퍼티

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

$duration 공개적으로 프로퍼티

Duration of the journey (e.g. 00d00:43:00).
public string $duration
리턴 string

$from 공개적으로 프로퍼티

The departure checkpoint of the connection.
public Stop,Transport\Entity\Schedule $from
리턴 Stop

$products 공개적으로 프로퍼티

public string[] $products
리턴 string[]

$sections 공개적으로 프로퍼티

A list of sections.
public Section[],Transport\Entity\Schedule $sections
리턴 Section[]

$service 공개적으로 프로퍼티

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

$to 공개적으로 프로퍼티

The arrival checkpoint of the connection.
public Stop,Transport\Entity\Schedule $to
리턴 Stop

$transfers 공개적으로 프로퍼티

Service information about how regular the connection operates.
public int $transfers
리턴 integer