PHP Class PMA\libraries\Footer

Show file Open project: phpmyadmin/phpmyadmin

Public Methods

Method Description
__construct ( ) Creates a new class instance
disable ( ) : void Disables the rendering of the footer
getDebugMessage ( ) : string Renders the debug messages
getDisplay ( ) : string Renders the footer
getErrorMessages ( ) : string Renders the link to open a new page
getScripts ( ) : Scripts Returns the Scripts object
getSelfUrl ( ) : string Returns the url of the current page
setAjax ( boolean $isAjax ) : void Set the ajax flag to indicate whether we are servicing an ajax request
setMinimal ( ) : void Turn on minimal display mode

Private Methods

Method Description
_getDemoMessage ( ) : string Returns the message for demo server to error messages
_getSelfLink ( string $url ) : string Renders the link to open a new page
_removeRecursion ( &$object, array $stack = [] ) : object Remove recursions and iterator objects from an object
_setHistory ( ) : void Saves query in history

Method Details

__construct() public method

Creates a new class instance
public __construct ( )

disable() public method

Disables the rendering of the footer
public disable ( ) : void
return void

getDebugMessage() public method

Renders the debug messages
public getDebugMessage ( ) : string
return string

getDisplay() public method

Renders the footer
public getDisplay ( ) : string
return string

getErrorMessages() public method

Renders the link to open a new page
public getErrorMessages ( ) : string
return string

getScripts() public method

Returns the Scripts object
public getScripts ( ) : Scripts
return Scripts object

getSelfUrl() public method

Returns the url of the current page
public getSelfUrl ( ) : string
return string

setAjax() public method

Set the ajax flag to indicate whether we are servicing an ajax request
public setAjax ( boolean $isAjax ) : void
$isAjax boolean Whether we are servicing an ajax request
return void

setMinimal() public method

Turn on minimal display mode
public setMinimal ( ) : void
return void