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