예제 #1
0
파일: News.php 프로젝트: BoBRoID/new.k-z
 /**
  * @return ActiveQuery
  */
 public function getAuthor()
 {
     return $this->hasOne(Siteuser::className(), ['id' => 'creator']);
 }