示例#1
0
 /**
  * Removes this object and all descendants from datastore.
  *
  * @param      PropelPDO Connection to use.
  * @return     void
  * @throws     PropelException
  */
 public function delete(PropelPDO $con = null)
 {
     // delete node first
     parent::delete($con);
     // delete descendants and then shift tree
     sfBreadNavPeer::deleteDescendants($this, $con);
 }