Method | Description | |
---|---|---|
__construct ( eZ\Publish\API\Repository\ContentService $contentService, Symfony\Component\Routing\RouterInterface $router, |
||
redirectToContentDownloadAction ( mixed $contentId, integer $fieldId, |
Used by the REST API to reference downloadable files. |
Method | Description | |
---|---|---|
findFieldInContent ( integer $fieldId, eZ\Publish\API\Repository\Values\Content\Content $content ) : eZ\Publish\API\Repository\Values\Content\Field | Finds the field with id $fieldId in $content. |
public __construct ( eZ\Publish\API\Repository\ContentService $contentService, Symfony\Component\Routing\RouterInterface $router, |
||
$contentService | eZ\Publish\API\Repository\ContentService | |
$router | Symfony\Component\Routing\RouterInterface | |
$routeReferenceGenerator |
protected findFieldInContent ( integer $fieldId, eZ\Publish\API\Repository\Values\Content\Content $content ) : eZ\Publish\API\Repository\Values\Content\Field | ||
$fieldId | integer | |
$content | eZ\Publish\API\Repository\Values\Content\Content | |
return | eZ\Publish\API\Repository\Values\Content\Field |
public redirectToContentDownloadAction ( mixed $contentId, integer $fieldId, |
||
$contentId | mixed | |
$fieldId | integer | |
$request | ||
return |