public function behaviors() { return ArrayHelper::merge(parent::behaviors(), [Serialize::className() => ['class' => Serialize::className(), 'fields' => ['component_settings']]]); }
/** * @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()]]); }
public function behaviors() { return ArrayHelper::merge(parent::behaviors(), [HasStorageFile::className() => ['class' => HasStorageFile::className(), 'fields' => ['image_id']]]); }
public function behaviors() { return ArrayHelper::merge(parent::behaviors(), [Serialize::className() => ['class' => Serialize::className(), "fields" => ["data"]]]); }
/** * @inheritdoc */ public function behaviors() { return ArrayHelper::merge(parent::behaviors(), []); }
/** * @return array */ public function behaviors() { return array_merge(parent::behaviors(), []); }
/** * @return array */ public function behaviors() { return array_merge(parent::behaviors(), [\skeeks\cms\behaviors\RelationalBehavior::className(), HasStorageFile::className() => ['class' => HasStorageFile::className(), 'fields' => ['logo_id']]]); }
/** * @return array */ public function behaviors() { return array_merge(parent::behaviors(), [HasJsonFieldsBehavior::className() => ['class' => HasJsonFieldsBehavior::className(), 'fields' => ['value']]]); }
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']]]); }
/** * @return array */ public function behaviors() { return array_merge(parent::behaviors(), [HasJsonFieldsBehavior::className() => ['class' => HasJsonFieldsBehavior::className(), 'fields' => ['products', 'dadata_address']]]); }
/** * @inheritdoc */ public function behaviors() { return array_merge(parent::behaviors(), [TimestampPublishedBehavior::className() => TimestampPublishedBehavior::className()]); }