Свойство | Тип | Описание | |
---|---|---|---|
$element | mixed | Contains the source object | |
$id | integer | ID of the source object | |
$subtype | string | ..) | |
$type | string | Type of the source object (document, asset, object) |
Метод | Описание | |
---|---|---|
__sleep ( ) : array | ||
checkValidity ( ) : boolean | ||
frontend ( ) : string | ||
getData ( ) : mixed | ||
getDataEditmode ( ) : mixed | Converts the data so it's suitable for the editmode | |
getElement ( ) : mixed | Returns one of them: Document, Object, Asset | |
getFromWebserviceImport ( Pimcore\Model\Webservice\Data\Document\Element $wsElement, $document = null, mixed $params = [], null $idMapper = null ) | ||
getFullPath ( ) : mixed | Returns teh path of the linked element | |
getId ( ) : integer | ||
getSubtype ( ) : string | ||
getType ( ) : string | ||
isEmpty ( ) : boolean | ||
load ( ) : void | this method is called by Document\Service::loadAllDocumentFields() to load all lazy loading fields | |
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 ) : void | ||
setId ( integer $id ) : |
||
setSubtype ( string $subtype ) : |
Метод | Описание | |
---|---|---|
setElement ( ) : void | Sets the element by the data stored for the object |
public getDataEditmode ( ) : mixed | ||
Результат | mixed |
public getElement ( ) : mixed | ||
Результат | mixed |
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 getFullPath ( ) : mixed | ||
Результат | mixed |
public rewriteIds ( array $idMapping ) : void | ||
$idMapping | array | |
Результат | void |
public setDataFromEditmode ( mixed $data ) : void | ||
$data | mixed | |
Результат | void |
public setDataFromResource ( mixed $data ) : void | ||
$data | mixed | |
Результат | void |
public setSubtype ( string $subtype ) : |
||
$subtype | string | |
Результат |
public string $type | ||
Результат | string |