Utils.class.php added

This commit is contained in:
Dima Malishev 2011-09-03 18:32:59 +03:00
commit 52a8ae065b

View file

@ -0,0 +1,13 @@
<?php
class Utils
{
public static function getCheckboxBooleanValue($checkbox_value)
{
return $checkbox_value == 'on' ? true : false;
}
}
?>