Skip to content

Commit 52a8ae0

Browse files
committed
Utils.class.php added
1 parent f72d1fd commit 52a8ae0

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)