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