コード例 #1
0
ファイル: Profile.php プロジェクト: playdayteam/jdocgen
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getChatMessages()
 {
     return $this->hasMany(ChatMessage::className(), ['profile_id' => 'id']);
 }