Example #1
0
File: User.php Project: rayku/rayku
 function setTutorStatusEnabled()
 {
     $userTutor = $this->getUserTutor();
     if (!$userTutor) {
         $userTutor = new UserTutor();
         $userTutor->setUser($this);
         $userTutor->save();
     }
 }