class PageEditController extends AbstractController

Main PageEdit Controller class

Properties

private PageEditServiceInterface $pageEditService Stores PageEditServiceInterface

Methods

__construct(PageEditServiceInterface $pageEditService)

No description

Redirect
redirectPages()

Redirects to pageedit_home

Response
home()

Displays the homepage

Response
dashboard(Request $request, PaginatorInterface $paginator)

Displays dashboard

Response
display($page)

Displays the page

Response
create(Request $request)

Creates the PageEdit

Response
modify(Request $request, $page)

Modifies the PageEdit

Response
duplicate(Request $request, $page)

Duplicates the PageEdit

Response
delete(Request $request, $page)

Deletes the PageEdit (Moves the page to deleted folder)

Response
config(Request $request, ConfigServiceInterface $configService)

Displays the configuration

Response
help()

Displays the help

Details

at line 38
__construct(PageEditServiceInterface $pageEditService)

Parameters

PageEditServiceInterface $pageEditService

at line 52
Redirect redirectPages()

Redirects to pageedit_home

Return Value

Redirect

at line 64
Response home()

Displays the homepage

Return Value

Response

at line 84
Response dashboard(Request $request, PaginatorInterface $paginator)

Displays dashboard

Parameters

Request $request
PaginatorInterface $paginator

Return Value

Response

Exceptions

AccessDeniedException

at line 113
Response display($page)

Displays the page

Parameters

$page

Return Value

Response

Exceptions

AccessDeniedException
NotFoundHttpException

at line 158
Response create(Request $request)

Creates the PageEdit

Parameters

Request $request

Return Value

Response

Exceptions

AccessDeniedException

at line 198
Response modify(Request $request, $page)

Modifies the PageEdit

Parameters

Request $request
$page

Return Value

Response

Exceptions

AccessDeniedException

at line 243
Response duplicate(Request $request, $page)

Duplicates the PageEdit

Parameters

Request $request
$page

Return Value

Response

Exceptions

AccessDeniedException

at line 289
Response delete(Request $request, $page)

Deletes the PageEdit (Moves the page to deleted folder)

Parameters

Request $request
$page

Return Value

Response

Exceptions

AccessDeniedException

at line 330
Response config(Request $request, ConfigServiceInterface $configService)

Displays the configuration

Parameters

Request $request
ConfigServiceInterface $configService

Return Value

Response

Exceptions

AccessDeniedException

at line 365
Response help()

Displays the help

Return Value

Response

Exceptions

AccessDeniedException