Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Backend
Modules
ContentBlocks
Entity
ContentBlock
prePersist
Backend\Modules\ContentBlocks\Entity\ContentBlock::prePersist PHP Method
ContentBlock Class Documentation
Show file
Open project: forkcms/forkcms
prePersist()
public
method
public
prePersist
( )
public function prePersist() { $this->createdOn = $this->editedOn = new DateTime(); }
ContentBlock
__construct
archive
create
getCreatedOn
getEditedOn
getExtraId
getId
getLocale
getRevisionId
getStatus
getTemplate
getText
getTitle
getUserId
isHidden
postPersist
prePersist
preUpdate
update
updateWidget