Exemple #1
0
 /**
  * Get the associated Fbo object
  *
  * @param      PropelPDO Optional Connection object.
  * @return     Fbo The associated Fbo object.
  * @throws     PropelException
  */
 public function getFbo(PropelPDO $con = null)
 {
     if ($this->aFbo === null && $this->fbo_id !== null) {
         $c = new Criteria(FboPeer::DATABASE_NAME);
         $c->add(FboPeer::ID, $this->fbo_id);
         $this->aFbo = FboPeer::doSelectOne($c, $con);
         /* The following can be used additionally to
         		   guarantee the related object contains a reference
         		   to this object.  This level of coupling may, however, be
         		   undesirable since it could result in an only partially populated collection
         		   in the referenced object.
         		   $this->aFbo->addCamps($this);
         		 */
     }
     return $this->aFbo;
 }