Beispiel #1
0
 public function getPlace()
 {
     return $this->hasMany(Place::className(), ['pt_id' => 'pt_id']);
 }
Beispiel #2
0
 public function getPlace()
 {
     return $this->hasOne(Place::className(), ['place_id' => 'place_id']);
 }