class Index (View source)

PhpMyAdmin\Setup\Index class

Various checks and message functions used on index page.

Methods

static void
messagesBegin()

Initializes message list

static void
messagesSet(string $type, string $msgId, string $title, string $message)

Adds a new message to message list

static void
messagesEnd()

Cleans up message list

static array
messagesShowHtml()

Prints message list, must be called after self::messagesEnd()

static void
versionCheck()

Checks for newest phpMyAdmin version and sets result as a new notice

Details

static void messagesBegin()

Initializes message list

Return Value

void

static void messagesSet(string $type, string $msgId, string $title, string $message)

Adds a new message to message list

Parameters

string $type

one of: notice, error

string $msgId

unique message identifier

string $title

language string id (in $str array)

string $message

message text

Return Value

void

static void messagesEnd()

Cleans up message list

Return Value

void

static array messagesShowHtml()

Prints message list, must be called after self::messagesEnd()

Return Value

array

static void versionCheck()

Checks for newest phpMyAdmin version and sets result as a new notice

Return Value

void