Ejemplo n.º 1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getMember()
 {
     return $this->hasOne(YBoardMember::className(), ['id' => 'member_id']);
 }
Ejemplo n.º 2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getMembers()
 {
     return $this->hasMany(YBoardMember::className(), ['group_id' => 'id']);
 }
Ejemplo n.º 3
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getBanner()
 {
     return $this->hasOne(YBoardMember::className(), ['id' => 'banned_by']);
 }
Ejemplo n.º 4
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getReceiver()
 {
     return $this->hasOne(YBoardMember::className(), ['id' => 'sendto']);
 }