FOF30\Model\DataModel\Behaviour\Created::onBeforeCheck PHP Метод

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
    public function onBeforeCheck(&$model)
    {
        $model->addSkipCheckField('created_on');
        $model->addSkipCheckField('created_by');
    }