/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<? class inflector extends inflector_Core { public static function titlize($rawTitle) { } else { } } } echo inflector::titlize("news_items"); // News Items echo inflector::titlize("id"); // ID ?>