Total Complexity | 8 |
Total Lines | 76 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
13 | class SelectModel extends ColumnModel |
||
14 | { |
||
15 | |||
16 | private $options; |
||
17 | private $options_from_table; |
||
18 | private $options_from_query; |
||
19 | private $foreign_key; |
||
20 | |||
21 | /** |
||
22 | * @return mixed |
||
23 | */ |
||
24 | public function getOptionsFromQuery() |
||
25 | { |
||
26 | return $this->options_from_query; |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * @param mixed $options_from_query |
||
31 | */ |
||
32 | public function setOptionsFromQuery($options_from_query) |
||
33 | { |
||
34 | $this->options_from_query = $options_from_query; |
||
35 | } |
||
36 | |||
37 | |||
38 | |||
39 | /** |
||
40 | * @return mixed |
||
41 | */ |
||
42 | public function getForeignKey() |
||
43 | { |
||
44 | return $this->foreign_key; |
||
45 | } |
||
46 | |||
47 | /** |
||
48 | * @param mixed $foreign_key |
||
49 | */ |
||
50 | public function setForeignKey($foreign_key) |
||
53 | } |
||
54 | |||
55 | |||
56 | |||
57 | /** |
||
58 | * @return mixed |
||
59 | */ |
||
60 | public function getOptionsFromTable() |
||
61 | { |
||
62 | return $this->options_from_table; |
||
63 | } |
||
64 | |||
65 | /** |
||
66 | * @param mixed $options_from_table |
||
67 | */ |
||
68 | public function setOptionsFromTable($options_from_table) |
||
71 | } |
||
72 | |||
73 | |||
74 | |||
75 | /** |
||
76 | * @return mixed |
||
77 | */ |
||
78 | public function getOptions() |
||
79 | { |
||
80 | return $this->options; |
||
81 | } |
||
82 | |||
83 | /** |
||
84 | * @param mixed $options |
||
85 | */ |
||
86 | public function setOptions($options) |
||
89 | } |
||
90 | |||
91 | |||
92 | } |