class RteList

PhpMyAdmin\Rte\RteList class

Properties

Template $template

Methods

__construct(DatabaseInterface $dbi)

RteList constructor.

string
get(string $type, array $items)

Creates a list of items containing the relevant information and some action links.

string
getRoutineRow(array $routine, string $rowclass = '')

Creates the contents for a row in the list of routines

string
getTriggerRow(array $trigger, string $rowclass = '')

Creates the contents for a row in the list of triggers

string
getEventRow(array $event, string $rowclass = '')

Creates the contents for a row in the list of events

Details

at line 47
__construct(DatabaseInterface $dbi)

RteList constructor.

Parameters

DatabaseInterface $dbi DatabaseInterface object

at line 63
string get(string $type, array $items)

Creates a list of items containing the relevant information and some action links.

Parameters

string $type One of ['routine'|'trigger'|'event']
array $items An array of items

Return Value

string HTML code of the list of items

at line 221
string getRoutineRow(array $routine, string $rowclass = '')

Creates the contents for a row in the list of routines

Parameters

array $routine An array of routine data
string $rowclass Additional class

Return Value

string HTML code of a row for the list of routines

at line 385
string getTriggerRow(array $trigger, string $rowclass = '')

Creates the contents for a row in the list of triggers

Parameters

array $trigger An array of routine data
string $rowclass Additional class

Return Value

string HTML code of a cell for the list of triggers

at line 471
string getEventRow(array $event, string $rowclass = '')

Creates the contents for a row in the list of events

Parameters

array $event An array of routine data
string $rowclass Additional class

Return Value

string HTML code of a cell for the list of events