MariaDBCharacterSetInfo
in package
Contains information about the character set.
Tags
Table of Contents
Methods
- __construct() : MariaDBCharacterSetInfo
- Creates a new character set info instance.
- getCharacterSet() : string
- Returns the name of the current character set.
- getDefaultCollation() : string
- Returns the name of the default collation.
- getDirectory() : string
- Returns the path to the directory the charcter was read from.
- getId() : int
- Returns the internal numeric identifier for this character set.
- getMaximumWidth() : int
- Returns the maximum character width in bytes for this character set.
- getMinimumWidth() : int
- Returns the minimum character width in bytes for this character set.
- getState() : int
- Returns the character set status.
Methods
__construct()
Creates a new character set info instance.
public
__construct(object $charSet) : MariaDBCharacterSetInfo
Parameters
- $charSet : object
-
Anonymous object containing the information.
Return values
MariaDBCharacterSetInfo —Character set information class.
getCharacterSet()
Returns the name of the current character set.
public
getCharacterSet() : string
Return values
string —Character set name.
getDefaultCollation()
Returns the name of the default collation.
public
getDefaultCollation() : string
Return values
string —Default collation name.
getDirectory()
Returns the path to the directory the charcter was read from.
public
getDirectory() : string
May be empty for built-in character sets.
Return values
string —Source directory.
getId()
Returns the internal numeric identifier for this character set.
public
getId() : int
Return values
int —Character set identifier.
getMaximumWidth()
Returns the maximum character width in bytes for this character set.
public
getMaximumWidth() : int
Return values
int —Maximum character width in bytes.
getMinimumWidth()
Returns the minimum character width in bytes for this character set.
public
getMinimumWidth() : int
Return values
int —Minimum character width in bytes.
getState()
Returns the character set status.
public
getState() : int
Whatever that means. Given the (?) in the official documentation, not even they know.
Return values
int —Character set status.