PHP Класс Pimcore\Model\Tool\Email\Log\Dao

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

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

Свойство Тип Описание
$dbTable string Name of the db table

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

Метод Описание
create ( )
delete ( ) : void Deletes object from database
getById ( integer $id = null ) : void Get the data for the object from database for the given id, or from the ID which is set in the object
save ( ) : void Save document to database
update ( ) just an alias for $this->save();

Защищенные методы

Метод Описание
createJsonLoggingObject ( $data ) : array | string
prepareLoggingData ( $key, $value ) : stdClass Creates the basic logging for the treeGrid in the backend Data will be enhanced with live-data in the backend

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

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

public create ( )

createJsonLoggingObject() защищенный Метод

protected createJsonLoggingObject ( $data ) : array | string
$data
Результат array | string

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

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

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

Get the data for the object from database for the given id, or from the ID which is set in the object
public getById ( integer $id = null ) : void
$id integer
Результат void

prepareLoggingData() защищенный Метод

Creates the basic logging for the treeGrid in the backend Data will be enhanced with live-data in the backend
protected prepareLoggingData ( $key, $value ) : stdClass
$key
$value
Результат stdClass

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

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

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

just an alias for $this->save();
public update ( )

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

$dbTable защищенное статическое свойство

Name of the db table
protected static string $dbTable
Результат string