class Menu

Class for generating the top menu

Methods

__construct(string $db, string $table)

Creates a new instance of Menu

void
display()

Prints the menu and the breadcrumbs

string
getDisplay()

Returns the menu and the breadcrumbs as a string

string
getHash()

Returns hash for the menu and the breadcrumbs

setTable(string $table)

Set current table

Details

at line 44
__construct(string $db, string $table)

Creates a new instance of Menu

Parameters

string $db Database name
string $table Table name

at line 56
void display()

Prints the menu and the breadcrumbs

Return Value

void

at line 66
string getDisplay()

Returns the menu and the breadcrumbs as a string

Return Value

string

at line 78
string getHash()

Returns hash for the menu and the breadcrumbs

Return Value

string

at line 693
Menu setTable(string $table)

Set current table

Parameters

string $table Current table

Return Value

Menu