PHP Class eZ\Publish\Core\REST\Server\Controller\BinaryContent

Inheritance: extends eZ\Publish\Core\REST\Server\Controller
显示文件 Open project: ezsystems/ezpublish-kernel

Protected Properties

Property Type Description
$imageVariationHandler eZ\Publish\SPI\Variation\VariationHandler

Public Methods

Method Description
__construct ( eZ\Publish\SPI\Variation\VariationHandler $imageVariationHandler ) Construct controller.
getImageVariation ( mixed $imageId, string $variationIdentifier ) : eZ\Publish\SPI\Variation\Values\Variation Returns data about the image variation $variationIdentifier of image field $fieldId.

Method Details

__construct() public method

Construct controller.
public __construct ( eZ\Publish\SPI\Variation\VariationHandler $imageVariationHandler )
$imageVariationHandler eZ\Publish\SPI\Variation\VariationHandler

getImageVariation() public method

Will generate the alias if it hasn't been generated yet.
public getImageVariation ( mixed $imageId, string $variationIdentifier ) : eZ\Publish\SPI\Variation\Values\Variation
$imageId mixed
$variationIdentifier string
return eZ\Publish\SPI\Variation\Values\Variation

Property Details

$imageVariationHandler protected_oe property

protected VariationHandler,eZ\Publish\SPI\Variation $imageVariationHandler
return eZ\Publish\SPI\Variation\VariationHandler