Exemplo n.º 1
0
 /**
  * Gets a single UserInformation object, which is related to this object by a one-to-one relationship.
  *
  * @param      PropelPDO $con
  * @return     UserInformation
  * @throws     PropelException
  */
 public function getUserInformation(PropelPDO $con = null)
 {
     if ($this->singleUserInformation === null && !$this->isNew()) {
         $this->singleUserInformation = UserInformationPeer::retrieveByPK($this->user_id, $con);
     }
     return $this->singleUserInformation;
 }