메소드 |
설명 |
|
createJsonUpdate ( Content $content, boolean $flush ) : Symfony\Component\HttpFoundation\JsonResponse |
Build a valid AJAX response for in-place saves that account for pre/post
save events. |
|
generateUrl ( string $name, array $params = [], integer $referenceType = UrlGeneratorInterface::ABSOLUTE_PATH ) : string |
Shortcut for {@see UrlGeneratorInterface::generate} |
|
logChange ( string $contentType, integer $contentId, Content $newContent = null, Content | null $oldContent = null, string | null $comment = null ) |
Add a change log entry to track the change. |
|
saveContentRecord ( Content $content, Content | null $oldContent, array $contentType, boolean $new, string $comment, string $returnTo, string $editReferrer ) : Response |
Commit the record to the database. |
|
setPostedRelations ( Content $content, array | null $formValues ) |
Convert POST relationship values to an array of Entity objects keyed by
ContentType. |
|
setPostedTaxonomies ( Content $content, array | null $formValues ) |
Set valid POST taxonomies. |
|
setPostedValues ( Content $content, array $formValues, array $contentType ) |
Set a ContentType record values from a HTTP POST. |
|
setSuccessfulControlValues ( array $formValues, array $fields ) : array |
Add successful control values to request values, and do needed corrections. |
|
setTransitionStatus ( Bolt\Storage\Entity\Entity $content, string $contentTypeSlug, integer $id, string $oldStatus ) |
Check whether the status is allowed. |
|