/** * @return ActiveQuery */ public function getAuthor() { return $this->hasOne(Siteuser::className(), ['id' => 'creator']); }