TeamSpeak 3 PHP Framework
Modern use-at-will framework that provides individual components to manage TeamSpeak 3 Server instances
|
Helper class for char handling. More...
Public Member Functions | |
__construct ($char) | |
The TeamSpeak3_Helper_Char constructor. More... | |
__toString () | |
Returns the character as a standard string. More... | |
isControl () | |
Returns true if the character is a control character (i.e. More... | |
isDigit () | |
Returns true if the character is a decimal digit. More... | |
isLetter () | |
Returns true if the character is a letter. More... | |
isLower () | |
Returns true if the character is a lowercase letter. More... | |
isMark () | |
Returns true if the character is a mark. More... | |
isNull () | |
Returns true if the character is the Unicode character 0x0000 ("\0"). More... | |
isPrintable () | |
Returns true if the character is a printable character. More... | |
isSpace () | |
Returns true if the character is a space. More... | |
isUpper () | |
Returns true if the character is an uppercase letter. More... | |
toAscii () | |
Returns the ascii value of the character. More... | |
toHex () | |
Returns the hexadecimal value of the char. More... | |
toInt () | |
Returns the integer value of the character. More... | |
toLower () | |
Returns the lowercase equivalent if the character is uppercase. More... | |
toString () | |
Returns the character as a standard string. More... | |
toUnicode () | |
Returns the Unicode value of the character. More... | |
toUpper () | |
Returns the uppercase equivalent if the character is lowercase. More... | |
Static Public Member Functions | |
static | fromHex ($hex) |
Returns the TeamSpeak3_Helper_Char based on a given hex value. More... | |
Helper class for char handling.
__construct | ( | $char | ) |
The TeamSpeak3_Helper_Char constructor.
string | $var |
TeamSpeak3_Helper_Exception |
__toString | ( | ) |
|
static |
Returns the TeamSpeak3_Helper_Char based on a given hex value.
string | $hex |
TeamSpeak3_Helper_Exception |
isControl | ( | ) |
isDigit | ( | ) |
isLetter | ( | ) |
isLower | ( | ) |
isMark | ( | ) |
isNull | ( | ) |
isPrintable | ( | ) |
isSpace | ( | ) |
isUpper | ( | ) |
toAscii | ( | ) |
toHex | ( | ) |
Returns the hexadecimal value of the char.
toInt | ( | ) |
toLower | ( | ) |
Returns the lowercase equivalent if the character is uppercase.
toString | ( | ) |
toUnicode | ( | ) |
toUpper | ( | ) |
Returns the uppercase equivalent if the character is lowercase.