Свойство | Type | Description | |
---|---|---|---|
$asset | |||
$config | |||
$deferred | boolean | ||
$filesystemPath | mixed | string | ||
$height | integer | ||
$page | integer | ||
$realHeight | integer | ||
$realWidth | integer | ||
$width | integer |
Méthode | Description | |
---|---|---|
__construct ( $asset, $config = null, integer $page = 1, boolean $deferred = true ) | ImageThumbnail constructor. | |
__toString ( ) : string | Get the public path to the thumbnail image. | |
generate ( ) | ||
getAsset ( ) : |
||
getConfig ( ) : |
Get thumbnail image configuration. | |
getDimensions ( ) : array | ||
getFileSystemPath ( ) : mixed | string | ||
getHeight ( ) : integer | Get the width of the generated thumbnail image in pixels. | |
getPath ( ) : mixed | ||
getRealHeight ( ) : integer | Get the real width of the generated thumbnail image in pixels. (when using high resolution option) | |
getRealWidth ( ) : integer | ||
getWidth ( ) : integer | ||
reset ( ) |
Méthode | Description | |
---|---|---|
createConfig ( $selector ) : boolean | static |
public __construct ( $asset, $config = null, integer $page = 1, boolean $deferred = true ) | ||
$asset | ||
$config | ||
$page | integer | |
$deferred | boolean |
public __toString ( ) : string | ||
Résultat | string | Public path to thumbnail image. |
protected createConfig ( $selector ) : boolean | static | ||
$selector | ||
Résultat | boolean | static |
public getAsset ( ) : |
||
Résultat | The original image from which this thumbnail is generated. |
public getConfig ( ) : |
||
Résultat |
public getFileSystemPath ( ) : mixed | string | ||
Résultat | mixed | string |
public getRealHeight ( ) : integer | ||
Résultat | integer | Height of the generated thumbnail image. |
public getRealWidth ( ) : integer | ||
Résultat | integer | real Width of the generated thumbnail image. (when using high resolution option) |
protected Video,Pimcore\Model\Asset $asset | ||
Résultat |
protected Config,Pimcore\Model\Asset\Image\Thumbnail $config | ||
Résultat |