public static function wordsFromUnderscore($strName)
    {
        $strToReturn = trim(str_replace('_', ' ', $strName));
        if (strtolower($strToReturn) == $strToReturn) {
            return ucwords($strToReturn);
        }
        return $strToReturn;
    }