Example #1
0
 /**
  * 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;
 }