public function setName($name)
    {
        $this->name = $name;
        if ($this->node) {
            $this->node->name = $name;
        }
    }
public function setName($name)
    {
        $this->name = $name;
        if ($this->node) {
            $this->node->name = $name;
        }
    }
public function setName ( $ name ) { $ this -> name = $ name ; if ( $ this -> node ) { $ this -> node -> name = $ name ; } }
Set the node name.
Set the node name .