示例#1
0
 public function getTags()
 {
     return $this->owner->hasMany(Tag::className(), ['id' => 'tag_id'])->via('tagAssigns');
 }