Add examples for styling and testing
This commit is contained in:
parent
d99e13849e
commit
d1b5046a42
500
php/LDB-Tests/example_return.php
Normal file
500
php/LDB-Tests/example_return.php
Normal file
@ -0,0 +1,500 @@
|
||||
stdClass Object
|
||||
(
|
||||
[GetBoardResult] => stdClass Object
|
||||
(
|
||||
[generatedAt] => 2022-11-05T21:47:01.9993579+00:00
|
||||
[locationName] => London Paddington
|
||||
[crs] => PAD
|
||||
[stationManager] => Network Rail
|
||||
[stationManagerCode] => RT
|
||||
[isTruncated] => 1
|
||||
[trainServices] => stdClass Object
|
||||
(
|
||||
[service] => Array
|
||||
(
|
||||
[0] => stdClass Object
|
||||
(
|
||||
[rid] => 202211057051479
|
||||
[uid] => F51479
|
||||
[trainid] => 9U02
|
||||
[rsid] => XR134200
|
||||
[sdd] => 2022-11-05
|
||||
[operator] => Elizabeth Line
|
||||
[operatorCode] => XR
|
||||
[std] => 2022-11-05T21:48:00
|
||||
[etd] => 2022-11-05T21:48:00
|
||||
[departureType] => Forecast
|
||||
[departureSource] => Darwin
|
||||
[platform] => A
|
||||
[origin] => stdClass Object
|
||||
(
|
||||
[location] => Array
|
||||
(
|
||||
[0] => stdClass Object
|
||||
(
|
||||
[locationName] => London Paddington
|
||||
[crs] => PAD
|
||||
[tiploc] => PADTLL
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
[destination] => stdClass Object
|
||||
(
|
||||
[location] => Array
|
||||
(
|
||||
[0] => stdClass Object
|
||||
(
|
||||
[locationName] => Abbey Wood
|
||||
[crs] => ABW
|
||||
[tiploc] => ABWDXR
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
[category] => OO
|
||||
[activities] => TB
|
||||
)
|
||||
|
||||
[1] => stdClass Object
|
||||
(
|
||||
[rid] => 202211057919346
|
||||
[uid] => O19346
|
||||
[trainid] => 1T91
|
||||
[sdd] => 2022-11-05
|
||||
[operator] => Great Western Railway
|
||||
[operatorCode] => GW
|
||||
[std] => 2022-11-05T21:55:00
|
||||
[etd] => 2022-11-05T21:55:00
|
||||
[departureType] => Forecast
|
||||
[departureSource] => TD
|
||||
[platform] => 7
|
||||
[origin] => stdClass Object
|
||||
(
|
||||
[location] => Array
|
||||
(
|
||||
[0] => stdClass Object
|
||||
(
|
||||
[locationName] => London Paddington
|
||||
[crs] => PAD
|
||||
[tiploc] => PADTON
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
[destination] => stdClass Object
|
||||
(
|
||||
[location] => Array
|
||||
(
|
||||
[0] => stdClass Object
|
||||
(
|
||||
[locationName] => Heathrow Airport T5
|
||||
[crs] => HWV
|
||||
[tiploc] => HTRWTM5
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
[category] => OO
|
||||
[activities] => TB
|
||||
)
|
||||
|
||||
[2] => stdClass Object
|
||||
(
|
||||
[rid] => 202211057051484
|
||||
[uid] => F51484
|
||||
[trainid] => 9U04
|
||||
[rsid] => XR134700
|
||||
[sdd] => 2022-11-05
|
||||
[operator] => Elizabeth Line
|
||||
[operatorCode] => XR
|
||||
[std] => 2022-11-05T21:58:00
|
||||
[etd] => 2022-11-05T21:58:00
|
||||
[departureType] => Forecast
|
||||
[departureSource] => Darwin
|
||||
[platform] => A
|
||||
[origin] => stdClass Object
|
||||
(
|
||||
[location] => Array
|
||||
(
|
||||
[0] => stdClass Object
|
||||
(
|
||||
[locationName] => London Paddington
|
||||
[crs] => PAD
|
||||
[tiploc] => PADTLL
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
[destination] => stdClass Object
|
||||
(
|
||||
[location] => Array
|
||||
(
|
||||
[0] => stdClass Object
|
||||
(
|
||||
[locationName] => Abbey Wood
|
||||
[crs] => ABW
|
||||
[tiploc] => ABWDXR
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
[category] => OO
|
||||
[activities] => TB
|
||||
)
|
||||
|
||||
[3] => stdClass Object
|
||||
(
|
||||
[rid] => 202211057051488
|
||||
[uid] => F51488
|
||||
[trainid] => 9U06
|
||||
[rsid] => XR135100
|
||||
[sdd] => 2022-11-05
|
||||
[operator] => Elizabeth Line
|
||||
[operatorCode] => XR
|
||||
[std] => 2022-11-05T22:08:00
|
||||
[etd] => 2022-11-05T22:08:00
|
||||
[departureType] => Forecast
|
||||
[departureSource] => Darwin
|
||||
[platform] => A
|
||||
[origin] => stdClass Object
|
||||
(
|
||||
[location] => Array
|
||||
(
|
||||
[0] => stdClass Object
|
||||
(
|
||||
[locationName] => London Paddington
|
||||
[crs] => PAD
|
||||
[tiploc] => PADTLL
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
[destination] => stdClass Object
|
||||
(
|
||||
[location] => Array
|
||||
(
|
||||
[0] => stdClass Object
|
||||
(
|
||||
[locationName] => Abbey Wood
|
||||
[crs] => ABW
|
||||
[tiploc] => ABWDXR
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
[category] => OO
|
||||
[activities] => TB
|
||||
)
|
||||
|
||||
[4] => stdClass Object
|
||||
(
|
||||
[rid] => 202211057919347
|
||||
[uid] => O19347
|
||||
[trainid] => 1T92
|
||||
[sdd] => 2022-11-05
|
||||
[operator] => Great Western Railway
|
||||
[operatorCode] => GW
|
||||
[std] => 2022-11-05T22:10:00
|
||||
[etd] => 2022-11-05T22:10:00
|
||||
[departureType] => Forecast
|
||||
[departureSource] => TD
|
||||
[platform] => 6
|
||||
[platformIsHidden] => 1
|
||||
[origin] => stdClass Object
|
||||
(
|
||||
[location] => Array
|
||||
(
|
||||
[0] => stdClass Object
|
||||
(
|
||||
[locationName] => London Paddington
|
||||
[crs] => PAD
|
||||
[tiploc] => PADTON
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
[destination] => stdClass Object
|
||||
(
|
||||
[location] => Array
|
||||
(
|
||||
[0] => stdClass Object
|
||||
(
|
||||
[locationName] => Heathrow Airport T5
|
||||
[crs] => HWV
|
||||
[tiploc] => HTRWTM5
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
[category] => OO
|
||||
[activities] => TB
|
||||
)
|
||||
|
||||
[5] => stdClass Object
|
||||
(
|
||||
[rid] => 202211057051492
|
||||
[uid] => F51492
|
||||
[trainid] => 9U08
|
||||
[rsid] => XR135500
|
||||
[sdd] => 2022-11-05
|
||||
[operator] => Elizabeth Line
|
||||
[operatorCode] => XR
|
||||
[std] => 2022-11-05T22:18:00
|
||||
[etd] => 2022-11-05T22:18:00
|
||||
[departureType] => Forecast
|
||||
[departureSource] => Darwin
|
||||
[platform] => A
|
||||
[origin] => stdClass Object
|
||||
(
|
||||
[location] => Array
|
||||
(
|
||||
[0] => stdClass Object
|
||||
(
|
||||
[locationName] => London Paddington
|
||||
[crs] => PAD
|
||||
[tiploc] => PADTLL
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
[destination] => stdClass Object
|
||||
(
|
||||
[location] => Array
|
||||
(
|
||||
[0] => stdClass Object
|
||||
(
|
||||
[locationName] => Abbey Wood
|
||||
[crs] => ABW
|
||||
[tiploc] => ABWDXR
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
[category] => OO
|
||||
[activities] => TB
|
||||
)
|
||||
|
||||
[6] => stdClass Object
|
||||
(
|
||||
[rid] => 202211057919350
|
||||
[uid] => O19350
|
||||
[trainid] => 1T93
|
||||
[sdd] => 2022-11-05
|
||||
[operator] => Great Western Railway
|
||||
[operatorCode] => GW
|
||||
[std] => 2022-11-05T22:25:00
|
||||
[etd] => 2022-11-05T22:25:00
|
||||
[departureType] => Forecast
|
||||
[departureSource] => Darwin
|
||||
[platform] => 7
|
||||
[platformIsHidden] => 1
|
||||
[origin] => stdClass Object
|
||||
(
|
||||
[location] => Array
|
||||
(
|
||||
[0] => stdClass Object
|
||||
(
|
||||
[locationName] => London Paddington
|
||||
[crs] => PAD
|
||||
[tiploc] => PADTON
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
[destination] => stdClass Object
|
||||
(
|
||||
[location] => Array
|
||||
(
|
||||
[0] => stdClass Object
|
||||
(
|
||||
[locationName] => Heathrow Airport T5
|
||||
[crs] => HWV
|
||||
[tiploc] => HTRWTM5
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
[category] => OO
|
||||
[activities] => TB
|
||||
)
|
||||
|
||||
[7] => stdClass Object
|
||||
(
|
||||
[rid] => 202211057051497
|
||||
[uid] => F51497
|
||||
[trainid] => 9U10
|
||||
[rsid] => XR136000
|
||||
[sdd] => 2022-11-05
|
||||
[operator] => Elizabeth Line
|
||||
[operatorCode] => XR
|
||||
[std] => 2022-11-05T22:28:00
|
||||
[etd] => 2022-11-05T22:28:00
|
||||
[departureType] => Forecast
|
||||
[departureSource] => Darwin
|
||||
[platform] => A
|
||||
[origin] => stdClass Object
|
||||
(
|
||||
[location] => Array
|
||||
(
|
||||
[0] => stdClass Object
|
||||
(
|
||||
[locationName] => London Paddington
|
||||
[crs] => PAD
|
||||
[tiploc] => PADTLL
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
[destination] => stdClass Object
|
||||
(
|
||||
[location] => Array
|
||||
(
|
||||
[0] => stdClass Object
|
||||
(
|
||||
[locationName] => Abbey Wood
|
||||
[crs] => ABW
|
||||
[tiploc] => ABWDXR
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
[category] => OO
|
||||
[activities] => TB
|
||||
)
|
||||
|
||||
[8] => stdClass Object
|
||||
(
|
||||
[rid] => 202211057051502
|
||||
[uid] => F51502
|
||||
[trainid] => 9U12
|
||||
[rsid] => XR136500
|
||||
[sdd] => 2022-11-05
|
||||
[operator] => Elizabeth Line
|
||||
[operatorCode] => XR
|
||||
[std] => 2022-11-05T22:38:00
|
||||
[etd] => 2022-11-05T22:38:00
|
||||
[departureType] => Forecast
|
||||
[departureSource] => Darwin
|
||||
[platform] => A
|
||||
[origin] => stdClass Object
|
||||
(
|
||||
[location] => Array
|
||||
(
|
||||
[0] => stdClass Object
|
||||
(
|
||||
[locationName] => London Paddington
|
||||
[crs] => PAD
|
||||
[tiploc] => PADTLL
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
[destination] => stdClass Object
|
||||
(
|
||||
[location] => Array
|
||||
(
|
||||
[0] => stdClass Object
|
||||
(
|
||||
[locationName] => Abbey Wood
|
||||
[crs] => ABW
|
||||
[tiploc] => ABWDXR
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
[category] => OO
|
||||
[activities] => TB
|
||||
)
|
||||
|
||||
[9] => stdClass Object
|
||||
(
|
||||
[rid] => 202211057919351
|
||||
[uid] => O19351
|
||||
[trainid] => 1T94
|
||||
[sdd] => 2022-11-05
|
||||
[operator] => Great Western Railway
|
||||
[operatorCode] => GW
|
||||
[std] => 2022-11-05T22:40:00
|
||||
[etd] => 2022-11-05T22:40:00
|
||||
[departureType] => Forecast
|
||||
[departureSource] => Darwin
|
||||
[platform] => 6
|
||||
[platformIsHidden] => 1
|
||||
[origin] => stdClass Object
|
||||
(
|
||||
[location] => Array
|
||||
(
|
||||
[0] => stdClass Object
|
||||
(
|
||||
[locationName] => London Paddington
|
||||
[crs] => PAD
|
||||
[tiploc] => PADTON
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
[destination] => stdClass Object
|
||||
(
|
||||
[location] => Array
|
||||
(
|
||||
[0] => stdClass Object
|
||||
(
|
||||
[locationName] => Heathrow Airport T5
|
||||
[crs] => HWV
|
||||
[tiploc] => HTRWTM5
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
[category] => OO
|
||||
[activities] => TB
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
)
|
Reference in New Issue
Block a user