1: <?php
2:
3: namespace webfilesframework\core\time;
4:
5: use webfilesframework\core\datasystem\file\format\MWebfile;
6:
7: 8: 9: 10: 11: 12:
13: class MWeekday extends MWebfile
14: {
15:
16: private $m_sName;
17:
18: public function __construct($id, $name)
19: {
20: $this->m_iId = $id;
21: $this->m_sName = $name;
22: }
23:
24: public function getName()
25: {
26: return $this->m_sName;
27: }
28:
29: public function setName($name)
30: {
31: $this->m_sName = $name;
32: }
33:
34: public function __toString()
35: {
36: return $this->m_sName;
37: }
38:
39: }