Example #1
0
 /**
  * Gets a single UserGtalk object, which is related to this object by a one-to-one relationship.
  *
  * @param      PropelPDO $con
  * @return     UserGtalk
  * @throws     PropelException
  */
 public function getUserGtalk(PropelPDO $con = null)
 {
     if ($this->singleUserGtalk === null && !$this->isNew()) {
         $this->singleUserGtalk = UserGtalkPeer::retrieveByPK($this->id, $con);
     }
     return $this->singleUserGtalk;
 }