skeeks\cms\widgets\formInputs\selectTree\SelectTree::_initAndValidate PHP Method

_initAndValidate() private method

Берем поведения модели
private _initAndValidate ( )
    private function _initAndValidate()
    {
        if (!$this->hasModel()) {
            throw new Exception(\Yii::t('skeeks/cms', "This file is intended only for forms model"));
        }
    }