1 | <?php |
||
7 | class Park |
||
8 | { |
||
9 | /** |
||
10 | * @var SimpleXMLElement |
||
11 | */ |
||
12 | protected $parkXML; |
||
13 | |||
14 | /** |
||
15 | * Park constructor. |
||
16 | * |
||
17 | * @param SimpleXMLElement $simpleXMLElement |
||
18 | */ |
||
19 | public function __construct(SimpleXMLElement $simpleXMLElement) |
||
23 | |||
24 | /** |
||
25 | * @return string |
||
26 | */ |
||
27 | public function getParkFile() |
||
31 | |||
32 | /** |
||
33 | * @return string |
||
34 | */ |
||
35 | public function getAuthor() |
||
39 | |||
40 | /** |
||
41 | * @return string |
||
42 | */ |
||
43 | public function getDescription() |
||
47 | |||
48 | /** |
||
49 | * @return string |
||
50 | */ |
||
51 | public function getPreviewImage() |
||
55 | |||
56 | /** |
||
57 | * @return bool |
||
58 | */ |
||
59 | public function isEncrypted() |
||
63 | |||
64 | /** |
||
65 | * @return string |
||
66 | */ |
||
67 | public function getFilesPrefix() |
||
71 | |||
72 | /** |
||
73 | * @return int |
||
74 | */ |
||
75 | public function getCoasterCount() |
||
79 | } |
||
80 |