PHP Class Pimcore\Model\Object\Concrete\Dao

Inheritance: extends Pimcore\Model\Object\AbstractObject\Dao
Afficher le fichier Open project: pimcore/pimcore

Protected Properties

Свойство Type Description
$inheritanceHelper Pimcore\Model\Object\Concrete\Dao\InheritanceHelper

Méthodes publiques

Méthode Description
delete ( ) : void Save object to database
deleteAllTasks ( ) : void
getById ( integer $id ) : void Get the data for the object from database for the given id
getData ( ) : void Get the data-elements for the object from database for the given path
getLatestVersion ( boolean $force = false ) : array Get latest available version, using $force always returns a version no matter if it is the same as the published one
getRelationData ( string $field, $forOwner, $remoteClassId ) : array
getRelationIds ( string $fieldName ) : array
getVersions ( ) : array get versions from database, and assign it to object
init ( )
saveChildData ( )
update ( ) : void Save changes to database, it's an good idea to use save() instead

Method Details

delete() public méthode

Save object to database
public delete ( ) : void
Résultat void

deleteAllTasks() public méthode

public deleteAllTasks ( ) : void
Résultat void

getById() public méthode

Get the data for the object from database for the given id
public getById ( integer $id ) : void
$id integer
Résultat void

getData() public méthode

Get the data-elements for the object from database for the given path
public getData ( ) : void
Résultat void

getLatestVersion() public méthode

Get latest available version, using $force always returns a version no matter if it is the same as the published one
public getLatestVersion ( boolean $force = false ) : array
$force boolean
Résultat array

getRelationData() public méthode

public getRelationData ( string $field, $forOwner, $remoteClassId ) : array
$field string
Résultat array

getRelationIds() public méthode

public getRelationIds ( string $fieldName ) : array
$fieldName string
Résultat array

getVersions() public méthode

get versions from database, and assign it to object
public getVersions ( ) : array
Résultat array

init() public méthode

public init ( )

saveChildData() public méthode

public saveChildData ( )

update() public méthode

Save changes to database, it's an good idea to use save() instead
public update ( ) : void
Résultat void

Property Details

$inheritanceHelper protected_oe property

protected InheritanceHelper,Pimcore\Model\Object\Concrete\Dao $inheritanceHelper
Résultat Pimcore\Model\Object\Concrete\Dao\InheritanceHelper