PHP Class Pimcore\Model\Tool\Email\Log\Dao

Inheritance: extends Pimcore\Model\Dao\AbstractDao
Show file Open project: pimcore/pimcore

Protected Properties

Property Type Description
$dbTable string Name of the db table

Public Methods

Method Description
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();

Protected Methods

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

Method Details

create() public method

public create ( )

createJsonLoggingObject() protected method

protected createJsonLoggingObject ( $data ) : array | string
$data
return array | string

delete() public method

Deletes object from database
public delete ( ) : void
return void

getById() public method

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
return void

prepareLoggingData() protected method

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
return stdClass

save() public method

Save document to database
public save ( ) : void
return void

update() public method

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

Property Details

$dbTable protected static property

Name of the db table
protected static string $dbTable
return string