summaryrefslogtreecommitdiffstats
path: root/management-interface/api/models/Util.php
diff options
context:
space:
mode:
Diffstat (limited to 'management-interface/api/models/Util.php')
-rw-r--r--management-interface/api/models/Util.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/management-interface/api/models/Util.php b/management-interface/api/models/Util.php
new file mode 100644
index 0000000..d97cfe2
--- /dev/null
+++ b/management-interface/api/models/Util.php
@@ -0,0 +1,11 @@
+<?php
+
+class Util {
+
+ public static function firstCap($string) {
+ return strtoupper(substr($string, 0, 1)) . substr($string, 1, strlen($string));
+ }
+
+}
+
+?>