1 | <?php |
||
31 | class WsMessageUtility |
||
32 | { |
||
33 | /** |
||
34 | * Check if any parameter to the current function is not empty |
||
35 | * |
||
36 | * @param mixed |
||
37 | * @return boolean true if at least 1 parameter is not empty |
||
38 | */ |
||
39 | 84 | protected function checkAnyNotEmpty() |
|
54 | |||
55 | /** |
||
56 | * Check if all parameters to the current function are not empty |
||
57 | * |
||
58 | * @param mixed |
||
59 | * @return boolean true if all parameters are not empty |
||
60 | */ |
||
61 | 34 | protected function checkAllNotEmpty() |
|
76 | |||
77 | /** |
||
78 | * Check if all parameters to the current function are integers |
||
79 | * |
||
80 | * @param mixed |
||
81 | * @return boolean true if all parameters are integers |
||
82 | */ |
||
83 | 7 | protected function checkAllIntegers() |
|
98 | |||
99 | /** |
||
100 | * Check if any parameter to the current function is true |
||
101 | * |
||
102 | * @param mixed |
||
103 | * @return boolean true if at least 1 parameter is true |
||
104 | */ |
||
105 | 5 | protected function checkAnyTrue() |
|
120 | } |
||
121 |