PHP Класс FOF30\Model\DataModel\Behaviour\Created

This behaviour is added to DataModel by default. If you want to remove it you need to do $this->behavioursDispatcher->removeBehaviour('Created');
С версии: 3.0
Наследование: extends FOF30\Event\Observer
Показать файл Открыть проект

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

Метод Описание
onBeforeCheck ( DataModel &$model ) Add the created_on and created_by fields in the fieldsSkipChecks list of the model. We expect them to be empty so that we can fill them in through this behaviour.
onBeforeCreate ( DataModel &$model, stdClass &$dataObject )

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

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

Add the created_on and created_by fields in the fieldsSkipChecks list of the model. We expect them to be empty so that we can fill them in through this behaviour.
public onBeforeCheck ( DataModel &$model )
$model FOF30\Model\DataModel

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

public onBeforeCreate ( DataModel &$model, stdClass &$dataObject )
$model FOF30\Model\DataModel
$dataObject stdClass