public function getsfSimpleForumPostsJoinsfGuardUser($criteria = null, $con = null)
 {
     include_once 'lib/model/om/BasesfSimpleForumPostPeer.php';
     if ($criteria === null) {
         $criteria = new Criteria();
     } elseif ($criteria instanceof Criteria) {
         $criteria = clone $criteria;
     }
     if ($this->collsfSimpleForumPosts === null) {
         if ($this->isNew()) {
             $this->collsfSimpleForumPosts = array();
         } else {
             $criteria->add(sfSimpleForumPostPeer::FORUM_ID, $this->getId());
             $this->collsfSimpleForumPosts = sfSimpleForumPostPeer::doSelectJoinsfGuardUser($criteria, $con);
         }
     } else {
         $criteria->add(sfSimpleForumPostPeer::FORUM_ID, $this->getId());
         if (!isset($this->lastsfSimpleForumPostCriteria) || !$this->lastsfSimpleForumPostCriteria->equals($criteria)) {
             $this->collsfSimpleForumPosts = sfSimpleForumPostPeer::doSelectJoinsfGuardUser($criteria, $con);
         }
     }
     $this->lastsfSimpleForumPostCriteria = $criteria;
     return $this->collsfSimpleForumPosts;
 }