Beispiel #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getAdvertisements()
 {
     return $this->hasMany(Advertisement::className(), ['advertisedby' => 'id']);
 }