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

공개 메소드들

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