PHP Class Pimcore\Model\Document\Hardlink

Inheritance: extends Pimcore\Model\Document
Datei anzeigen Open project: pimcore/pimcore Class Usage Examples

Public Properties

Property Type Description
$childsFromSource boolean
$propertiesFromSource boolean
$sourceId integer
$type string static type of this object

Public Methods

Method 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 )

Protected Methods

Method Description
update ( )

Method Details

delete() public method

See also: Document::delete
public delete ( ) : void
return void

getCacheTags() public method

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

getChildren() public method

public getChildren ( boolean $unpublished = false ) : array | null
$unpublished boolean
return array | null

getChildrenFromSource() public method

public getChildrenFromSource ( ) : boolean
return boolean

getChildsFromSource() public method

Deprecation:
public getChildsFromSource ( ) : boolean
return boolean

getProperties() public method

public getProperties ( ) : array | null | Property[]
return array | null | Pimcore\Model\Property[]

getPropertiesFromSource() public method

getSourceDocument() public method

public getSourceDocument ( ) : PageSnippet
return PageSnippet

getSourceId() public method

public getSourceId ( ) : integer
return integer

hasChildren() public method

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

resolveDependencies() public method

See also: Document::resolveDependencies
public resolveDependencies ( ) : array
return array

setChildrenFromSource() public method

public setChildrenFromSource ( $childsFromSource ) : Hardlink
$childsFromSource
return Hardlink

setChildsFromSource() public method

Deprecation:
public setChildsFromSource ( $childsFromSource ) : Hardlink
$childsFromSource
return Hardlink

setPropertiesFromSource() public method

public setPropertiesFromSource ( $propertiesFromSource )
$propertiesFromSource

setSourceId() public method

public setSourceId ( $sourceId )
$sourceId

update() protected method

protected update ( )

Property Details

$childsFromSource public_oe property

public bool $childsFromSource
return boolean

$propertiesFromSource public_oe property

public bool $propertiesFromSource
return boolean

$sourceId public_oe property

public int $sourceId
return integer

$type public_oe property

static type of this object
public string $type
return string