1 | <?php |
||
7 | class AdminComment extends Comment { |
||
8 | private $values = []; |
||
9 | |||
10 | //-------------------------- BUILDER ----------------------------------------------------------------------------// |
||
11 | //-------------------------- END BUILDER ----------------------------------------------------------------------------// |
||
12 | |||
13 | |||
14 | //-------------------------- GETTER ----------------------------------------------------------------------------// |
||
15 | /** |
||
16 | * @return array |
||
17 | * function to get values out of the class |
||
18 | */ |
||
19 | public function getValues(){ |
||
22 | |||
23 | /** |
||
24 | * function that get a list of all table_name wich are in comment module |
||
25 | */ |
||
26 | public function getAllTableComment() { |
||
44 | |||
45 | /** |
||
46 | * @param $table_name |
||
47 | * @param $checked |
||
48 | * @return int |
||
49 | * function that get number of checked or unchecked comment for a table_name |
||
50 | */ |
||
51 | private function getNbCheckedComment($table_name, $checked) { |
||
59 | //-------------------------- END GETTER ----------------------------------------------------------------------------// |
||
60 | |||
61 | |||
62 | //-------------------------- SETTER ----------------------------------------------------------------------------// |
||
63 | /** |
||
64 | * @param $values |
||
65 | * function to set all values and sort it in future |
||
66 | */ |
||
67 | public function setValues($values) { |
||
70 | //-------------------------- END SETTER ----------------------------------------------------------------------------// |
||
71 | } |