Method | Description | |
---|---|---|
__construct ( ) | Creates a new class instance | |
disable ( ) : void | Disables the rendering of the header | |
disableMenuAndConsole ( ) : void | Disables the display of the top menu | |
disableWarnings ( ) : void | Disables the display of the top menu | |
enablePrintView ( ) : void | Turns on 'print view' mode | |
getDisplay ( ) : string | Generates the header | |
getJsParams ( ) : array | Returns, as an array, a list of parameters used on the client side | |
getJsParamsCode ( ) : string | Returns, as a string, a list of parameters used on the client side | |
getMenu ( ) : |
Returns the Menu object | |
getMessage ( ) : string | Returns the message to be displayed at the top of the page, including the executed SQL query, if any. | |
getScripts ( ) : |
Returns the Scripts object | |
getTitleTag ( ) : string | Returns the TITLE tag | |
getVersionParameter ( ) : string | Returns the phpMyAdmin version to be appended to the url to avoid caching between versions | |
sendHttpHeaders ( ) : void | Sends out the HTTP headers | |
setAjax ( boolean $isAjax ) : void | Set the ajax flag to indicate whether we are servicing an ajax request | |
setBodyId ( string $id ) : void | Setter for the ID attribute in the BODY tag | |
setTitle ( string $title ) : void | Setter for the title of the page |
Method | Description | |
---|---|---|
_addDefaultScripts ( ) : void | Loads common scripts | |
_addRecentTable ( string $db, string $table ) : string | Add recently used table and reload the navigation. | |
_getBodyStart ( ) : string | Returns the close tag to the HEAD and the start tag for the BODY | |
_getHtmlStart ( ) : string | Returns the DOCTYPE and the start HTML tag | |
_getLinkTags ( ) : string | Returns the LINK tags for the favicon and the stylesheets | |
_getMetaTags ( ) : string | Returns the META tags | |
_getPageTitle ( ) : string | If the page is missing the title, this function will set it to something reasonable | |
_getWarnings ( ) : string | Returns some warnings to be displayed at the top of the page |
public disableMenuAndConsole ( ) : void | ||
return | void |
public disableWarnings ( ) : void | ||
return | void |
public enablePrintView ( ) : void | ||
return | void |
public getDisplay ( ) : string | ||
return | string | The header |
public getJsParams ( ) : array | ||
return | array |
public getJsParamsCode ( ) : string | ||
return | string |
public getMessage ( ) : string | ||
return | string |
public getScripts ( ) : |
||
return | object |
public getTitleTag ( ) : string | ||
return | string | the TITLE tag |
public static getVersionParameter ( ) : string | ||
return | string | urlenocded pma version as a parameter |
public sendHttpHeaders ( ) : void | ||
return | void |