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

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