PHP Class Pimcore\Model\Document\Tag\Href

Inheritance: extends Pimcore\Model\Document\Tag
Afficher le fichier Open project: pimcore/pimcore

Méthodes publiques

Свойство Type Description
$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)

Méthodes publiques

Méthode Description
__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 ) : Href
setSubtype ( string $subtype ) : Href

Private Methods

Méthode Description
setElement ( ) : void Sets the element by the data stored for the object

Method Details

__sleep() public méthode

public __sleep ( ) : array
Résultat array

checkValidity() public méthode

public checkValidity ( ) : boolean
Résultat boolean

frontend() public méthode

See also: Document\Tag\TagInterface::frontend
public frontend ( ) : string
Résultat string

getData() public méthode

See also: Document\Tag\TagInterface::getData
public getData ( ) : mixed
Résultat mixed

getDataEditmode() public méthode

Converts the data so it's suitable for the editmode
public getDataEditmode ( ) : mixed
Résultat mixed

getElement() public méthode

Returns one of them: Document, Object, Asset
public getElement ( ) : mixed
Résultat mixed

getFromWebserviceImport() public méthode

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

getFullPath() public méthode

Returns teh path of the linked element
public getFullPath ( ) : mixed
Résultat mixed

getId() public méthode

public getId ( ) : integer
Résultat integer

getSubtype() public méthode

public getSubtype ( ) : string
Résultat string

getType() public méthode

See also: Document\Tag\TagInterface::getType
public getType ( ) : string
Résultat string

isEmpty() public méthode

public isEmpty ( ) : boolean
Résultat boolean

load() public méthode

this method is called by Document\Service::loadAllDocumentFields() to load all lazy loading fields
public load ( ) : void
Résultat void

resolveDependencies() public méthode

public resolveDependencies ( ) : array
Résultat array

rewriteIds() public méthode

..), "asset" => array(...) )
public rewriteIds ( array $idMapping ) : void
$idMapping array
Résultat void

setDataFromEditmode() public méthode

See also: Document\Tag\TagInterface::setDataFromEditmode
public setDataFromEditmode ( mixed $data ) : void
$data mixed
Résultat void

setDataFromResource() public méthode

See also: Document\Tag\TagInterface::setDataFromResource
public setDataFromResource ( mixed $data ) : void
$data mixed
Résultat void

setId() public méthode

public setId ( integer $id ) : Href
$id integer
Résultat Href

setSubtype() public méthode

public setSubtype ( string $subtype ) : Href
$subtype string
Résultat Href

Property Details

$element public_oe property

Contains the source object
public mixed $element
Résultat mixed

$id public_oe property

ID of the source object
public int $id
Résultat integer

$subtype public_oe property

..)
public string $subtype
Résultat string

$type public_oe property

Type of the source object (document, asset, object)
public string $type
Résultat string