/** * Get the associated JobeetCategory object * * @param PropelPDO Optional Connection object. * @return JobeetCategory The associated JobeetCategory object. * @throws PropelException */ public function getJobeetCategory(PropelPDO $con = null) { if ($this->aJobeetCategory === null && $this->category_id !== null) { $this->aJobeetCategory = JobeetCategoryPeer::retrieveByPk($this->category_id); /* 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->aJobeetCategory->addJobeetCategoryAffiliates($this); */ } return $this->aJobeetCategory; }