We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f72d1fd commit 52a8ae0Copy full SHA for 52a8ae0
1 file changed
web/vesta/core/utils/Utils.class.php
@@ -0,0 +1,13 @@
1
+<?php
2
+
3
+class Utils
4
+{
5
6
+ public static function getCheckboxBooleanValue($checkbox_value)
7
+ {
8
+ return $checkbox_value == 'on' ? true : false;
9
+ }
10
11
+}
12
13
+?>
0 commit comments