public static function toKey($input)
    {
        // Remove spaces and dashes, then convert to lower case.
        $input = self::toUnderscoreSeparated($input);
        $input = strtolower($input);

        return $input;
    }
public static function toKey($input)
    {
        // Remove spaces and dashes, then convert to lower case.
        $input = self::toUnderscoreSeparated($input);
        $input = strtolower($input);

        return $input;
    }
public static function toKey ( $ input ) { // Remove spaces and dashes, then convert to lower case. $ input = self :: toUnderscoreSeparated ( $ input ) ; $ input = strtolower ( $ input ) ; return $ input ; }
Method to convert a string into key form.

@param   string $input The string input (ASCII only).

@return  string  The key string.

@since   2.0
Method to convert a string into key form .