mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
Utils.class.php added
This commit is contained in:
parent
f72d1fdf46
commit
52a8ae065b
1 changed files with 13 additions and 0 deletions
13
web/vesta/core/utils/Utils.class.php
Normal file
13
web/vesta/core/utils/Utils.class.php
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
|
||||
class Utils
|
||||
{
|
||||
|
||||
public static function getCheckboxBooleanValue($checkbox_value)
|
||||
{
|
||||
return $checkbox_value == 'on' ? true : false;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue