Property | Type | Description | |
---|---|---|---|
$controller | Pimcore\Controller\Action | ||
$documentId | integer | Element belongs to the ID of the document | |
$editmode | boolean | In Editmode or not | |
$inherited | boolean | ||
$name | string | ||
$options | array | .. | |
$realName | string | Contains the real name of the editable without the prefixes and suffixes which are generated automatically by blocks and areablocks | |
$view |
Method | Description | |
---|---|---|
__sleep ( ) : void | Returns only the properties which should be serialized | |
__toString ( ) : string | direct output to the frontend | |
admin ( ) : string | ||
buildTagName ( $type, $name, null $document = null ) : string | ||
checkValidity ( ) : boolean | ||
factory ( $type, $name, $documentId, null $config = null, null $controller = null, null $view = null, null $editmode = null ) : mixed | ||
getCacheTags ( $ownerDocument, array $tags = [] ) : array | ||
getController ( ) : Pimcore\Controller\Action | ||
getDataForResource ( ) | ||
getDocumentId ( ) : integer | ||
getEditmode ( ) : boolean | ||
getForWebserviceExport ( $document = null, mixed $params = [] ) : array | Returns the current tag's data for web service export | |
getFromWebserviceImport ( Pimcore\Model\Webservice\Data\Document\Element $wsElement, $document = null, mixed $params = [], $idMapper = null ) : Pimcore\Model\Webservice\Data\Document\Element | Receives a standard class object from webservice import and fills the current tag's data | |
getInherited ( ) : boolean | ||
getName ( ) : string | ||
getOptions ( ) : array | ||
getRealName ( ) : string | ||
getValue ( ) : mixed | ||
getView ( ) : |
||
resolveDependencies ( ) | This is a dummy and is mostly implemented by relation types | |
setController ( Pimcore\Controller\Action $controller ) | ||
setDocumentId ( integer $id ) | ||
setEditmode ( boolean $editmode ) | ||
setInherited ( $inherited ) | ||
setName ( string $name ) | ||
setOptions ( array $options ) | ||
setRealName ( string $realName ) | ||
setView ( |
public __toString ( ) : string | ||
return | string |
public static buildTagName ( $type, $name, null $document = null ) : string | ||
$type | ||
$name | ||
$document | null | |
return | string |
public getCacheTags ( $ownerDocument, array $tags = [] ) : array | ||
$ownerDocument | ||
$tags | array | |
return | array |
public getController ( ) : Pimcore\Controller\Action | ||
return | Pimcore\Controller\Action |
public getForWebserviceExport ( $document = null, mixed $params = [] ) : array | ||
$params | mixed | |
return | array |
public getFromWebserviceImport ( Pimcore\Model\Webservice\Data\Document\Element $wsElement, $document = null, mixed $params = [], $idMapper = null ) : Pimcore\Model\Webservice\Data\Document\Element | ||
$wsElement | Pimcore\Model\Webservice\Data\Document\Element | |
$params | mixed | |
return | Pimcore\Model\Webservice\Data\Document\Element |
public resolveDependencies ( ) |
public setController ( Pimcore\Controller\Action $controller ) | ||
$controller | Pimcore\Controller\Action |
protected Action,Pimcore\Controller $controller | ||
return | Pimcore\Controller\Action |
protected int $documentId | ||
return | integer |
protected string $realName | ||
return | string |