PHP Класс Pimcore\Model\Object\Concrete\Dao

Наследование: extends Pimcore\Model\Object\AbstractObject\Dao
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$inheritanceHelper Pimcore\Model\Object\Concrete\Dao\InheritanceHelper

Открытые методы

Метод Описание
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

Описание методов

delete() публичный Метод

Save object to database
public delete ( ) : void
Результат void

deleteAllTasks() публичный Метод

public deleteAllTasks ( ) : void
Результат void

getById() публичный Метод

Get the data for the object from database for the given id
public getById ( integer $id ) : void
$id integer
Результат void

getData() публичный Метод

Get the data-elements for the object from database for the given path
public getData ( ) : void
Результат void

getLatestVersion() публичный Метод

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
Результат array

getRelationData() публичный Метод

public getRelationData ( string $field, $forOwner, $remoteClassId ) : array
$field string
Результат array

getRelationIds() публичный Метод

public getRelationIds ( string $fieldName ) : array
$fieldName string
Результат array

getVersions() публичный Метод

get versions from database, and assign it to object
public getVersions ( ) : array
Результат array

init() публичный Метод

public init ( )

saveChildData() публичный Метод

public saveChildData ( )

update() публичный Метод

Save changes to database, it's an good idea to use save() instead
public update ( ) : void
Результат void

Описание свойств

$inheritanceHelper защищенное свойство

protected InheritanceHelper,Pimcore\Model\Object\Concrete\Dao $inheritanceHelper
Результат Pimcore\Model\Object\Concrete\Dao\InheritanceHelper