Devise
Class

Devise\Sidebar\SidebarManager

class SidebarManager

Class SidebarManager fetches the partial sidebar view for the given input data

Methods

__construct(SidebarDataTranslator $SidebarDataTranslator, PagesRepository $PagesRepository, FieldsRepository $FieldsRepository, $View = null)

Create a new sidebar manager

mixed fetchPartialView($inputData $inputData)

Fetches the corresponding html views for this sidebar from the input data

view fetchElementView(array $inputData)

Fetches the sidebar form for this specific type of element

view fetchElementGridView(array $inputData)

Fetches the grid of items that lists all the elements we can click on and bring up the edit form for

Details

at line 37
public __construct(SidebarDataTranslator $SidebarDataTranslator, PagesRepository $PagesRepository, FieldsRepository $FieldsRepository, $View = null)

Create a new sidebar manager

Parameters

SidebarDataTranslator $SidebarDataTranslator
PagesRepository $PagesRepository
FieldsRepository $FieldsRepository
$View

at line 51
public mixed fetchPartialView($inputData $inputData)

Fetches the corresponding html views for this sidebar from the input data

Parameters

$inputData $inputData

Return Value

mixed

at line 67
public view fetchElementView(array $inputData)

Fetches the sidebar form for this specific type of element

Parameters

array $inputData

Return Value

view

at line 83
public view fetchElementGridView(array $inputData)

Fetches the grid of items that lists all the elements we can click on and bring up the edit form for

Parameters

array $inputData

Return Value

view