/** * Get the associated PcBlogPost object * * @param PropelPDO Optional Connection object. * @return PcBlogPost The associated PcBlogPost object. * @throws PropelException */ public function getPcBlogPost(PropelPDO $con = null) { if ($this->aPcBlogPost === null && $this->post_id !== null) { $this->aPcBlogPost = PcBlogPostPeer::retrieveByPk($this->post_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->aPcBlogPost->addPcBlogComments($this); */ } return $this->aPcBlogPost; }