behaviors() публичный Метод

public behaviors ( )
Пример #1
0
 public function behaviors()
 {
     return ArrayHelper::merge(parent::behaviors(), [Serialize::className() => ['class' => Serialize::className(), 'fields' => ['component_settings']]]);
 }
Пример #2
0
 /**
  * @inheritdoc
  */
 public function behaviors()
 {
     return array_merge(parent::behaviors(), [TimestampBehavior::className(), HasStorageFile::className() => ['class' => HasStorageFile::className(), 'fields' => ['image_id']], HasRelatedProperties::className() => ['class' => HasRelatedProperties::className(), 'relatedElementPropertyClassName' => CmsUserProperty::className(), 'relatedPropertyClassName' => CmsUserUniversalProperty::className()]]);
 }
Пример #3
0
 public function behaviors()
 {
     return ArrayHelper::merge(parent::behaviors(), [HasStorageFile::className() => ['class' => HasStorageFile::className(), 'fields' => ['image_id']]]);
 }
Пример #4
0
 public function behaviors()
 {
     return ArrayHelper::merge(parent::behaviors(), [Serialize::className() => ['class' => Serialize::className(), "fields" => ["data"]]]);
 }
Пример #5
0
 /**
  * @inheritdoc
  */
 public function behaviors()
 {
     return ArrayHelper::merge(parent::behaviors(), []);
 }
Пример #6
0
 /**
  * @return array
  */
 public function behaviors()
 {
     return array_merge(parent::behaviors(), []);
 }
Пример #7
0
 /**
  * @return array
  */
 public function behaviors()
 {
     return array_merge(parent::behaviors(), [\skeeks\cms\behaviors\RelationalBehavior::className(), HasStorageFile::className() => ['class' => HasStorageFile::className(), 'fields' => ['logo_id']]]);
 }
Пример #8
0
 /**
  * @return array
  */
 public function behaviors()
 {
     return array_merge(parent::behaviors(), [HasJsonFieldsBehavior::className() => ['class' => HasJsonFieldsBehavior::className(), 'fields' => ['value']]]);
 }
Пример #9
0
 public function behaviors()
 {
     $behaviors = parent::behaviors();
     return ArrayHelper::merge(parent::behaviors(), [HasStorageFile::className() => ['class' => HasStorageFile::className(), 'fields' => ['image_id', 'image_full_id']], HasStorageFileMulti::className() => ['class' => HasStorageFileMulti::className(), 'relations' => ['images', 'files']], Implode::className() => ['class' => Implode::className(), "fields" => ["tree_menu_ids"]], "implode_tree" => ['class' => Implode::className(), "fields" => ["pids"], "delimetr" => self::PIDS_DELIMETR], HasRelatedProperties::className() => ['class' => HasRelatedProperties::className(), 'relatedElementPropertyClassName' => CmsTreeProperty::className(), 'relatedPropertyClassName' => CmsTreeTypeProperty::className()]]);
 }
 /**
  * @return array
  */
 public function behaviors()
 {
     return array_merge(parent::behaviors(), [TimestampPublishedBehavior::className() => TimestampPublishedBehavior::className(), Serialize::className() => ['class' => Serialize::className(), 'fields' => ['data_server', 'data_session', 'data_cookie', 'data_request']]]);
 }
Пример #11
0
 /**
  * @return array
  */
 public function behaviors()
 {
     return array_merge(parent::behaviors(), [HasJsonFieldsBehavior::className() => ['class' => HasJsonFieldsBehavior::className(), 'fields' => ['products', 'dadata_address']]]);
 }
Пример #12
0
 /**
  * @inheritdoc
  */
 public function behaviors()
 {
     return array_merge(parent::behaviors(), [TimestampPublishedBehavior::className() => TimestampPublishedBehavior::className()]);
 }