public function setCode( $name )
	{
		if ( $name == $this->getCode() ) { return; }

		$this->_values['code'] = (string) $name;
		$this->_modified = true;
	}
public function setCode( $name )
	{
		if ( $name == $this->getCode() ) { return; }

		$this->_values['code'] = (string) $name;
		$this->_modified = true;
	}
public function setCode ( $ name ) { if ( $ name == $ this -> getCode ( ) ) { return ; } $ this -> _values [ 'code' ] = ( string ) $ name ; $ this -> _modified = true ; }
Sets the new code of the node.

@param string $name New code of the node
Sets the new code of the node .