Login   Register  
PHP Classes
elePHPant
Icontem

Funtion to delete nodes

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      Tree  >  All threads  >  Funtion to delete nodes  >  (Un) Subscribe thread alerts  
Subject:Funtion to delete nodes
Summary:Funtion to delete nodes
Messages:1
Author:Fèlix Casanellas
Date:2011-08-24 13:06:25
 

  1. Funtion to delete nodes   Reply  
Picture of Fèlix Casanellas
Fèlix Casanellas
2011-08-24 13:06:26
Maybe the autor can add a function to delete nodes like that:

function DelNode($node) {

$node_array = $this->nodes;

unset($node_array[$node]);

$this->nodes = $node_array;

}

See you!

Fèlix