public function make_inactive() {
        $this->isactive = false;
        $this->remove_class('active_tree_node');
        if ($this->parent !== null) {
            $this->parent->make_inactive();
        }
    }
public function make_inactive() {
        $this->isactive = false;
        $this->remove_class('active_tree_node');
        if ($this->parent !== null) {
            $this->parent->make_inactive();
        }
    }
public function make_inactive ( ) { $ this -> isactive = false ; $ this -> remove_class ( 'active_tree_node' ) ; if ( $ this -> parent !== null ) { $ this -> parent -> make_inactive ( ) ; } }
Marks a node as inactive and recusised back to the base of the tree
doing the same to all parents.
Marks a node as inactive and recusised back to the base of the tree doing the same to all parents .