Method | Description | |
---|---|---|
edit ( |
Edit a record, or create a new one. | |
overview ( |
Content type overview page. | |
related ( |
Get related records. |
Method | Description | |
---|---|---|
addRoutes ( Silex\ControllerCollection $c ) | ||
recordEdit ( ) : |
||
recordListing ( ) : Bolt\Storage\ContentRequest\Listing | ||
recordSave ( ) : |
Method | Description | |
---|---|---|
checkEditAccess ( string $contenttypeslug, integer $id ) : boolean | |
Check that the user is allowed to edit the record. | |
setEditReferrer ( |
Set the editreferrer in twig if it was not set yet. |
protected addRoutes ( Silex\ControllerCollection $c ) | ||
$c | Silex\ControllerCollection |
public edit ( |
||
$request | The Symfony Request | |
$contenttypeslug | string | The content type slug |
$id | integer | The content ID |
return |
public overview ( |
||
$request | The Symfony Request | |
$contenttypeslug | string | The content type slug |
return |
protected recordEdit ( ) : |
||
return |
protected recordListing ( ) : Bolt\Storage\ContentRequest\Listing | ||
return | Bolt\Storage\ContentRequest\Listing |
protected recordSave ( ) : |
||
return |