Esempio n. 1
0
 /**
  * @return array
  */
 public function behaviors()
 {
     return array_merge(parent::behaviors(), [HasJsonFieldsBehavior::className() => ['class' => HasJsonFieldsBehavior::className(), 'fields' => ['provider_data']]]);
 }
Esempio n. 2
0
 /**
  * @return array
  */
 public function behaviors()
 {
     return array_merge(parent::behaviors(), [HasJsonFieldsBehavior::className() => ['class' => HasJsonFieldsBehavior::className(), 'fields' => ['products', 'dadata_address']]]);
 }