Esempio n. 1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getKskComments()
 {
     return $this->hasMany(KskComments::className(), ['post_id' => 'id'])->joinWith('user')->orderBy(['parent' => SORT_ASC, 'created_date' => SORT_ASC]);
 }