示例#1
0
 /**
  * Tests if object has an ancestor
  *
  * @param      PropelPDO $con Connection to use.
  * @return     bool
  */
 public function hasParent(PropelPDO $con = null)
 {
     if (null === $this->hasParentNode) {
         sfBreadNavPeer::hasParent($this, $con);
     }
     return $this->hasParentNode;
 }