예제 #1
0
파일: BaseUser.php 프로젝트: rayku/rayku
 /**
  * Gets a single UserTutor object, which is related to this object by a one-to-one relationship.
  *
  * @param      PropelPDO $con
  * @return     UserTutor
  * @throws     PropelException
  */
 public function getUserTutor(PropelPDO $con = null)
 {
     if ($this->singleUserTutor === null && !$this->isNew()) {
         $this->singleUserTutor = UserTutorPeer::retrieveByPK($this->id, $con);
     }
     return $this->singleUserTutor;
 }