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
파일 보기 프로젝트 열기: akeeba/fof

공개 메소드들

메소드 설명
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