Exemplo n.º 1
0
 public function getUser()
 {
     return $this->hasOne(User::className(), ['uid' => 'userUid']);
 }
Exemplo n.º 2
0
 public function getCreator()
 {
     return $this->hasOne(User::className(), ['uid' => 'creatorUserUid']);
 }