1 | <?php |
||
13 | class DataWithVersion extends Data |
||
14 | { |
||
15 | /** |
||
16 | * @return string |
||
17 | */ |
||
18 | public function getVersion() |
||
19 | { |
||
20 | return $this->Version; |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * @param string $Version |
||
25 | */ |
||
26 | public function setVersion($Version) |
||
27 | { |
||
28 | $this->Version = $Version; |
||
29 | } |
||
30 | /** |
||
31 | * @var string Version |
||
32 | */ |
||
33 | protected $Version = D_NA; |
||
34 | |||
35 | /** |
||
36 | * DataWithVersion constructor. |
||
37 | * @param \SimpleXMLElement $xmlData Xml data from file |
||
38 | */ |
||
39 | public function __construct(\SimpleXMLElement $xmlData) |
||
43 | |||
44 | public static function initEmpty() |
||
45 | { |
||
48 | } |
||
49 |