private function _initAndValidate() { if (!$this->hasModel()) { throw new Exception(\Yii::t('skeeks/cms', "This file is intended only for forms model")); } }