示例#1
0
 public function getStream()
 {
     return $this->hasOne(Stream::className(), ['stream_id' => 'class_stream'])->one();
 }
示例#2
0
 public function getStream()
 {
     return $this->hasOne(Stream::className(), ['pr_id' => 'pr_id']);
 }