/** * Get the associated Requester object * * @param PropelPDO Optional Connection object. * @return Requester The associated Requester object. * @throws PropelException */ public function getRequester(PropelPDO $con = null) { if ($this->aRequester === null && $this->requester_id !== null) { $c = new Criteria(RequesterPeer::DATABASE_NAME); $c->add(RequesterPeer::ID, $this->requester_id); $this->aRequester = RequesterPeer::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->aRequester->addPassengers($this); */ } return $this->aRequester; }