PHP Class Pimcore\Model\Document\Hardlink

Inheritance: extends Pimcore\Model\Document
Afficher le fichier Open project: pimcore/pimcore Class Usage Examples

Méthodes publiques

Свойство Type Description
$childsFromSource boolean
$propertiesFromSource boolean
$sourceId integer
$type string static type of this object

Méthodes publiques

Méthode Description
delete ( ) : void
getCacheTags ( $tags = [] ) : array Resolves dependencies and create tags for caching out of them
getChildren ( boolean $unpublished = false ) : array | null
getChildrenFromSource ( ) : boolean
getChildsFromSource ( ) : boolean
getProperties ( ) : array | null | Property[]
getPropertiesFromSource ( ) : boolean
getSourceDocument ( ) : PageSnippet
getSourceId ( ) : integer
hasChildren ( ) : boolean hast to overwrite the resource implementation because there can be inherited childs
resolveDependencies ( ) : array
setChildrenFromSource ( $childsFromSource ) : Hardlink
setChildsFromSource ( $childsFromSource ) : Hardlink
setPropertiesFromSource ( $propertiesFromSource )
setSourceId ( $sourceId )

Méthodes protégées

Méthode Description
update ( )

Method Details

delete() public méthode

See also: Document::delete
public delete ( ) : void
Résultat void

getCacheTags() public méthode

Resolves dependencies and create tags for caching out of them
public getCacheTags ( $tags = [] ) : array
Résultat array

getChildren() public méthode

public getChildren ( boolean $unpublished = false ) : array | null
$unpublished boolean
Résultat array | null

getChildrenFromSource() public méthode

public getChildrenFromSource ( ) : boolean
Résultat boolean

getChildsFromSource() public méthode

Deprecation:
public getChildsFromSource ( ) : boolean
Résultat boolean

getProperties() public méthode

public getProperties ( ) : array | null | Property[]
Résultat array | null | Pimcore\Model\Property[]

getPropertiesFromSource() public méthode

public getPropertiesFromSource ( ) : boolean
Résultat boolean

getSourceDocument() public méthode

public getSourceDocument ( ) : PageSnippet
Résultat PageSnippet

getSourceId() public méthode

public getSourceId ( ) : integer
Résultat integer

hasChildren() public méthode

hast to overwrite the resource implementation because there can be inherited childs
public hasChildren ( ) : boolean
Résultat boolean

resolveDependencies() public méthode

See also: Document::resolveDependencies
public resolveDependencies ( ) : array
Résultat array

setChildrenFromSource() public méthode

public setChildrenFromSource ( $childsFromSource ) : Hardlink
$childsFromSource
Résultat Hardlink

setChildsFromSource() public méthode

Deprecation:
public setChildsFromSource ( $childsFromSource ) : Hardlink
$childsFromSource
Résultat Hardlink

setPropertiesFromSource() public méthode

public setPropertiesFromSource ( $propertiesFromSource )
$propertiesFromSource

setSourceId() public méthode

public setSourceId ( $sourceId )
$sourceId

update() protected méthode

protected update ( )

Property Details

$childsFromSource public_oe property

public bool $childsFromSource
Résultat boolean

$propertiesFromSource public_oe property

public bool $propertiesFromSource
Résultat boolean

$sourceId public_oe property

public int $sourceId
Résultat integer

$type public_oe property

static type of this object
public string $type
Résultat string