1 | <?php |
||
11 | class Instrument |
||
12 | { |
||
13 | /** |
||
14 | * DB ID |
||
15 | * |
||
16 | * @var int |
||
17 | */ |
||
18 | protected $id; |
||
19 | |||
20 | /** |
||
21 | * Full name |
||
22 | * |
||
23 | * @var string |
||
24 | */ |
||
25 | protected $name; |
||
26 | |||
27 | /** |
||
28 | * Short (single-letter?) name |
||
29 | * |
||
30 | * @var string |
||
31 | */ |
||
32 | protected $abbreviation; |
||
33 | |||
34 | /** |
||
35 | * HTML fragment for display icons |
||
36 | * |
||
37 | * @var string |
||
38 | */ |
||
39 | protected $iconHtml; |
||
40 | |||
41 | /** |
||
42 | * @return int |
||
43 | */ |
||
44 | public function getId() |
||
48 | |||
49 | /** |
||
50 | * @param int $id |
||
51 | * @return Instrument |
||
52 | */ |
||
53 | public function setId($id) |
||
58 | |||
59 | /** |
||
60 | * @return string |
||
61 | */ |
||
62 | public function getName() |
||
66 | |||
67 | /** |
||
68 | * @param string $name |
||
69 | * @return Instrument |
||
70 | */ |
||
71 | public function setName($name) |
||
76 | |||
77 | /** |
||
78 | * @return string |
||
79 | */ |
||
80 | public function getAbbreviation() |
||
84 | |||
85 | /** |
||
86 | * @param string $abbreviation |
||
87 | * @return Instrument |
||
88 | */ |
||
89 | public function setAbbreviation($abbreviation) |
||
94 | |||
95 | /** |
||
96 | * @return string |
||
97 | */ |
||
98 | public function getIconHtml() |
||
102 | |||
103 | /** |
||
104 | * @param string $iconHtml |
||
105 | * @return Instrument |
||
106 | */ |
||
107 | public function setIconHtml($iconHtml) |
||
112 | } |
||
113 |