diff options
| author | Nils Schwabe | 2014-05-19 16:54:33 +0200 |
|---|---|---|
| committer | Nils Schwabe | 2014-05-19 16:54:33 +0200 |
| commit | cf58c1bf8213221545e9ec55b651189117fdfc17 (patch) | |
| tree | 20eaa13fa8c72607409dbc565ffcba82b4b3c71a /management-interface/api/models/Util.php | |
| parent | Add new webinterface with f3 (framework) (diff) | |
| download | masterserver-cf58c1bf8213221545e9ec55b651189117fdfc17.tar.gz masterserver-cf58c1bf8213221545e9ec55b651189117fdfc17.tar.xz masterserver-cf58c1bf8213221545e9ec55b651189117fdfc17.zip | |
Add login functionallity
Diffstat (limited to 'management-interface/api/models/Util.php')
| -rw-r--r-- | management-interface/api/models/Util.php | 11 |
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)); + } + +} + +?> |
