Свойство | Тип | Описание | |
---|---|---|---|
$description | string | ||
$id | mixed | .. | |
$poster | integer | asset ID of poster image | |
$title | string | ||
$type | string | one of asset, youtube, vimeo, dailymotion |
Метод | Описание | |
---|---|---|
admin ( ) : string | ||
checkValidity ( ) : boolean | ||
frontend ( ) : string | ||
getAssetCode ( $inAdmin = false ) | ||
getDailymotionCode ( ) | ||
getData ( ) : mixed | ||
getDataForResource ( ) | ||
getDescription ( ) : string | ||
getEmptyCode ( ) | ||
getErrorCode ( $message = "" ) | ||
getFromWebserviceImport ( Pimcore\Model\Webservice\Data\Document\Element $wsElement, $document = null, mixed $params = [], null $idMapper = null ) | ||
getHeight ( ) | ||
getHtml5Code ( $urls = [], $thumbnail = null ) | ||
getId ( ) : mixed | ||
getImageThumbnail ( $config ) : string | ||
getPosterAsset ( ) : |
||
getProgressCode ( $thumbnail = null ) | ||
getThumbnail ( $config ) : array | ||
getTitle ( ) : string | ||
getType ( ) : string | ||
getUrlCode ( ) | ||
getVideoAsset ( ) : |
||
getVideoType ( ) : string | ||
getVimeoCode ( ) | ||
getWidth ( ) | ||
getYoutubeCode ( ) | ||
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(. | |
setDataFromEditmode ( mixed $data ) : void | ||
setDataFromResource ( mixed $data ) | ||
setDescription ( $description ) | ||
setId ( mixed $id ) : |
||
setTitle ( $title ) |
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 getImageThumbnail ( $config ) : string | ||
$config | ||
Результат | string |
public rewriteIds ( array $idMapping ) : void | ||
$idMapping | array | |
Результат | void |
public setDataFromEditmode ( mixed $data ) : void | ||
$data | mixed | |
Результат | void |
public string $type | ||
Результат | string |