Beispiel #1
0
 public function behaviors()
 {
     return ['Translit' => ['class' => TranslitBehavior::className()], 'image' => ['class' => ImageBehavior::className()]];
 }
Beispiel #2
0
 public function behaviors()
 {
     return ['Upload' => ['class' => UploadBehavior::className(), 'fieldName' => 'flag'], 'Image' => ['class' => ImageBehavior::className()]];
 }