Свойство | Тип | Описание | |
---|---|---|---|
$alt | string | The ALT text of the image | |
$cropHeight | float | ||
$cropLeft | float | ||
$cropPercent | boolean | ||
$cropTop | float | ||
$cropWidth | float | ||
$hotspots | array | ||
$id | integer | ID of the referenced image | |
$image | Contains the imageobject itself | ||
$marker | array |
Метод | Описание | |
---|---|---|
__sleep ( ) | ||
frontend ( ) : string | ||
getAlt ( ) | * | |
getCacheTags ( $ownerDocument, $tags = [] ) | ||
getCropHeight ( ) : float | ||
getCropLeft ( ) : float | ||
getCropPercent ( ) : boolean | ||
getCropTop ( ) : float | ||
getCropWidth ( ) : float | ||
getData ( ) : mixed | ||
getDataEditmode ( ) : array | Converts the data so it's suitable for the editmode | |
getDataForResource ( ) | ||
getFromWebserviceImport ( Pimcore\Model\Webservice\Data\Document\Element $wsElement, $document = null, mixed $params = [], null $idMapper = null ) | ||
getHotspots ( ) : array | ||
getId ( ) : integer | ||
getImage ( ) : |
||
getMarker ( ) : array | ||
getSrc ( ) | * | |
getText ( ) | * | |
getThumbnail ( $conf, boolean $deferred = true ) : |
||
getType ( ) : string | ||
isEmpty ( ) : boolean | ||
resolveDependencies ( ) : array | ||
rewriteIds ( array $idMapping ) : void | Rewrites id from source to target, $idMapping contains array( "document" => array( SOURCE_ID => TARGET_ID, SOURCE_ID => TARGET_ID ), "object" => array(. | |
setCropHeight ( $cropHeight ) | ||
setCropLeft ( $cropLeft ) | ||
setCropPercent ( $cropPercent ) | ||
setCropTop ( $cropTop ) | ||
setCropWidth ( $cropWidth ) | ||
setDataFromEditmode ( mixed $data ) | ||
setDataFromResource ( mixed $data ) | ||
setHotspots ( array $hotspots ) | ||
setId ( integer $id ) : |
||
setImage ( |
||
setMarker ( array $marker ) |
Метод | Описание | |
---|---|---|
applyCustomCropping ( $thumbConfig ) : mixed |
protected applyCustomCropping ( $thumbConfig ) : mixed | ||
$thumbConfig | ||
Результат | mixed |
public getDataEditmode ( ) : array | ||
Результат | array |
public getFromWebserviceImport ( Pimcore\Model\Webservice\Data\Document\Element $wsElement, $document = null, mixed $params = [], null $idMapper = null ) | ||
$wsElement | Pimcore\Model\Webservice\Data\Document\Element | |
$params | mixed | |
$idMapper | null |
public getThumbnail ( $conf, boolean $deferred = true ) : |
||
$conf | ||
$deferred | boolean | |
Результат |
public rewriteIds ( array $idMapping ) : void | ||
$idMapping | array | |
Результат | void |
public setImage ( |
||
$image | ||
Результат |
public Image,Pimcore\Model\Asset $image | ||
Результат |