Browse Source

Utils.class.php added

Dima Malishev 14 years ago
parent
commit
52a8ae065b
1 changed files with 13 additions and 0 deletions
  1. 13 0
      web/vesta/core/utils/Utils.class.php

+ 13 - 0
web/vesta/core/utils/Utils.class.php

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