class Console (View source)

Class used to output the console

Methods

__construct(Relation $relation, Template $template, BookmarkRepository $bookmarkRepository)

No description

void
setAjax(bool $isAjax)

Set the ajax flag to indicate whether we are servicing an ajax request

void
disable()

Disables the rendering of the footer

string
getBookmarkContent()

Renders the bookmark content

array
getScripts()

Returns the list of JS scripts required by console

string
getDisplay()

Renders the console

Details

__construct(Relation $relation, Template $template, BookmarkRepository $bookmarkRepository)

No description

Parameters

Relation $relation
Template $template
BookmarkRepository $bookmarkRepository

void setAjax(bool $isAjax)

Set the ajax flag to indicate whether we are servicing an ajax request

Parameters

bool $isAjax

Whether we are servicing an ajax request

Return Value

void

void disable()

Disables the rendering of the footer

Return Value

void

string getBookmarkContent()

Renders the bookmark content

Return Value

string

array getScripts()

Returns the list of JS scripts required by console

Return Value

array

list of scripts

string getDisplay()

Renders the console

Return Value

string