PHP Класс PMA\libraries\Charsets

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$mysql_charset_map array MySQL charsets map

Открытые методы

Метод Описание
getCharsetDropdownBox ( string $name = null, string $id = null, null | string $default = null, boolean $label = true, boolean $submitOnChange = false ) : string Generate charset dropdown box
getCollationDescr ( string $collation ) : string returns description for given collation
getCollationDropdownBox ( string $name = null, string $id = null, null | string $default = null, boolean $label = true, boolean $submitOnChange = false ) : string Generate collation dropdown box
getMySQLCharsets ( )
getMySQLCharsetsDescriptions ( )
getMySQLCollations ( )
getMySQLCollationsDefault ( )
loadCharsets ( ) : void Loads charset data from the MySQL server.
loadCollations ( ) : void Loads collation data from the MySQL server.

Описание методов

getCharsetDropdownBox() публичный статический Метод

Generate charset dropdown box
public static getCharsetDropdownBox ( string $name = null, string $id = null, null | string $default = null, boolean $label = true, boolean $submitOnChange = false ) : string
$name string Element name
$id string Element id
$default null | string Default value
$label boolean Label
$submitOnChange boolean Submit on change
Результат string

getCollationDescr() публичный статический Метод

returns description for given collation
public static getCollationDescr ( string $collation ) : string
$collation string MySQL collation string
Результат string collation description

getCollationDropdownBox() публичный статический Метод

Generate collation dropdown box
public static getCollationDropdownBox ( string $name = null, string $id = null, null | string $default = null, boolean $label = true, boolean $submitOnChange = false ) : string
$name string Element name
$id string Element id
$default null | string Default value
$label boolean Label
$submitOnChange boolean Submit on change
Результат string

getMySQLCharsets() публичный статический Метод

public static getMySQLCharsets ( )

getMySQLCharsetsDescriptions() публичный статический Метод

public static getMySQLCharsetsDescriptions ( )

getMySQLCollations() публичный статический Метод

public static getMySQLCollations ( )

getMySQLCollationsDefault() публичный статический Метод

public static getMySQLCollationsDefault ( )

loadCharsets() публичный статический Метод

Loads charset data from the MySQL server.
public static loadCharsets ( ) : void
Результат void

loadCollations() публичный статический Метод

Loads collation data from the MySQL server.
public static loadCollations ( ) : void
Результат void

Описание свойств

$mysql_charset_map публичное статическое свойство

MySQL charsets map
public static array $mysql_charset_map
Результат array