public static function uppercase($string = false, $selector = false) {

        if ($string) {

            switch ($selector) {
                case 'first':
                    return ucfirst($string);
                case 'words':
                    return ucwords($string);
                default:
                    return strtoupper($string);
            }
        }

        return false;
    }
public static function uppercase($string = false, $selector = false) {

        if ($string) {

            switch ($selector) {
                case 'first':
                    return ucfirst($string);
                case 'words':
                    return ucwords($string);
                default:
                    return strtoupper($string);
            }
        }

        return false;
    }
public static function uppercase ( $ string = false , $ selector = false ) { if ( $ string ) { switch ( $ selector ) { case 'first' : return ucfirst ( $ string ) ; case 'words' : return ucwords ( $ string ) ; default : return strtoupper ( $ string ) ; } } return false ; }
Get string in uppercase.
@param string full string
@return string in uppercase
Get string in uppercase .