Пример #1
0
 public function behaviors()
 {
     return [['class' => ImageExist::className(), 'srcAttrName' => 'filename']];
 }
Пример #2
0
 public function behaviors()
 {
     return [['class' => ImageExist::className(), 'srcAttrName' => 'filename'], ['class' => ActiveRecordHelper::className()]];
 }
Пример #3
0
 public function behaviors()
 {
     return [['class' => ImageExist::className(), 'srcAttrName' => 'thumb_path']];
 }