PHP Class Pimcore\Model\Dependency\Dao

Inheritance: extends Pimcore\Model\Dao\AbstractDao
Mostrar archivo Open project: pimcore/pimcore

Public Methods

Method Description
cleanAllForElement ( Pimcore\Model\Element\ElementInterface $element ) Clear all relations in the database
clear ( ) : void Clear all relations in the database for current source id
getBySourceId ( integer $id = null, string $type = null ) : void Loads the relations for the given sourceId and type
save ( ) : void Save to database

Method Details

cleanAllForElement() public method

Clear all relations in the database
public cleanAllForElement ( Pimcore\Model\Element\ElementInterface $element )
$element Pimcore\Model\Element\ElementInterface

clear() public method

Clear all relations in the database for current source id
public clear ( ) : void
return void

getBySourceId() public method

Loads the relations for the given sourceId and type
public getBySourceId ( integer $id = null, string $type = null ) : void
$id integer
$type string
return void

save() public method

Save to database
public save ( ) : void
return void