Ejemplo n.º 1
0
 /**
  * @return array
  */
 public function behaviors()
 {
     return array_merge(parent::behaviors(), [HasRelatedProperties::className() => ['class' => HasRelatedProperties::className(), 'relatedElementPropertyClassName' => Form2FormSendProperty::className(), 'relatedPropertyClassName' => Form2FormProperty::className()], Serialize::className() => ['class' => Serialize::className(), 'fields' => ['data_labels', 'data_values', 'data_server', 'data_session', 'data_cookie', 'additional_data', 'data_request']]]);
 }
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getElementProperties()
 {
     return $this->hasMany(Form2FormSendProperty::className(), ['property_id' => 'id']);
 }