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

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

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

Метод Описание
onBeforeCheck ( DataModel &$model ) Add the modified_on and modified_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.
onBeforeUpdate ( DataModel &$model, stdClass &$dataObject )

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

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

Add the modified_on and modified_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

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

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