Exemple #1
0
 public function behaviors()
 {
     return ['translit' => ['class' => TranslitBehavior::className()], 'basket' => ['class' => BasketBehavior::className()], 'shortext' => ['class' => Shortext::className(), 'attribute' => 'content']];
 }
Exemple #2
0
 public function behaviors()
 {
     return ['translit' => ['class' => TranslitBehavior::className()], 'image' => ['class' => ImageBehavior::className()], 'shortext' => ['class' => Shortext::className()]];
 }