/** * Get the associated ConfigFieldCategory object * * @param PropelPDO Optional Connection object. * @return ConfigFieldCategory The associated ConfigFieldCategory object. * @throws PropelException */ public function getConfigFieldCategory(PropelPDO $con = null) { if ($this->aConfigFieldCategory === null && ($this->category_id !== "" && $this->category_id !== null)) { $this->aConfigFieldCategory = ConfigFieldCategoryPeer::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->aConfigFieldCategory->addConfigFields($this); */ } return $this->aConfigFieldCategory; }