Example #1
0
 /**
  * @inheritdoc
  */
 public function behaviors()
 {
     return array_merge(parent::behaviors(), [['class' => CascadeBehavior::className(), 'children' => ['disciplineSemesters']]]);
 }
Example #2
0
 /**
  * @inheritdoc
  */
 public function behaviors()
 {
     return array_merge(parent::behaviors(), [['class' => CascadeBehavior::className(), 'children' => ['disciplineNames', 'studentEducations', 'files']]]);
 }
Example #3
0
 /**
  * @inheritdoc
  */
 public function behaviors()
 {
     return array_merge(parent::behaviors(), [['class' => CascadeBehavior::className(), 'children' => ['files']]]);
 }
Example #4
0
 /**
  * @inheritdoc
  */
 public function behaviors()
 {
     return array_merge(parent::behaviors(), [['class' => CascadeBehavior::className(), 'children' => ['programs']], ['class' => FileBehavior::className(), 'originalNameAttr' => 'image']]);
 }