PHP 클래스 Bolt\Controller\Backend\Log

Prior to v2.3 this functionality primarily existed in the monolithic Bolt\Controllers\Backend class.
저자: Gawain Lynch ([email protected])
상속: extends BackendBase
파일 보기 프로젝트 열기: bolt/bolt

공개 메소드들

메소드 설명
changeOverview ( Request $request ) : TemplateResponse | RedirectResponse Change log overview route.
changeRecord ( Request $request, string $contenttype, integer $contentid, integer $id ) : TemplateResponse Show a single change log entry.
changeRecordListing ( Request $request, string $contenttype, integer $contentid ) : TemplateResponse Show a list of changelog entries.
systemOverview ( Request $request ) : TemplateResponse | RedirectResponse System log overview route

보호된 메소드들

메소드 설명
addRoutes ( Silex\ControllerCollection $c )
changeLogRepository ( ) : Bolt\Storage\Repository\LogChangeRepository
manager ( ) : Manager
systemLogRepository ( ) : Bolt\Storage\Repository\LogSystemRepository

비공개 메소드들

메소드 설명
getPagination ( integer | string | null $page ) : array Calculate pagination parameters.
getQueryOptions ( array $pagination ) : array Calculate the query options.

메소드 상세

addRoutes() 보호된 메소드

protected addRoutes ( Silex\ControllerCollection $c )
$c Silex\ControllerCollection

changeLogRepository() 보호된 메소드

protected changeLogRepository ( ) : Bolt\Storage\Repository\LogChangeRepository
리턴 Bolt\Storage\Repository\LogChangeRepository

changeOverview() 공개 메소드

Change log overview route.
public changeOverview ( Request $request ) : TemplateResponse | RedirectResponse
$request Symfony\Component\HttpFoundation\Request
리턴 Bolt\Response\TemplateResponse | Symfony\Component\HttpFoundation\RedirectResponse

changeRecord() 공개 메소드

Show a single change log entry.
public changeRecord ( Request $request, string $contenttype, integer $contentid, integer $id ) : TemplateResponse
$request Symfony\Component\HttpFoundation\Request
$contenttype string ContentType slug
$contentid integer Content record ID
$id integer The change log entry ID
리턴 Bolt\Response\TemplateResponse

changeRecordListing() 공개 메소드

Show a list of changelog entries.
public changeRecordListing ( Request $request, string $contenttype, integer $contentid ) : TemplateResponse
$request Symfony\Component\HttpFoundation\Request
$contenttype string ContentType slug
$contentid integer Content record ID
리턴 Bolt\Response\TemplateResponse

manager() 보호된 메소드

protected manager ( ) : Manager
리턴 Bolt\Logger\Manager

systemLogRepository() 보호된 메소드

protected systemLogRepository ( ) : Bolt\Storage\Repository\LogSystemRepository
리턴 Bolt\Storage\Repository\LogSystemRepository

systemOverview() 공개 메소드

System log overview route
public systemOverview ( Request $request ) : TemplateResponse | RedirectResponse
$request Symfony\Component\HttpFoundation\Request
리턴 Bolt\Response\TemplateResponse | Symfony\Component\HttpFoundation\RedirectResponse