public function moveToNewParent()
	{
		$pid = static::$moveToNewParentId;

		if ( is_null( $pid ) )
			$this->makeRoot();
		else if ( $pid !== false )
			$this->makeChildOf( $pid );
	}
public function moveToNewParent()
	{
		$pid = static::$moveToNewParentId;

		if ( is_null( $pid ) )
			$this->makeRoot();
		else if ( $pid !== false )
			$this->makeChildOf( $pid );
	}
public function moveToNewParent ( ) { $ pid = static :: $ moveToNewParentId ; if ( is_null ( $ pid ) ) $ this -> makeRoot ( ) ; else if ( $ pid !== false ) $ this -> makeChildOf ( $ pid ) ; }
Move to the new parent if appropiate.

@return void
Move to the new parent if appropiate .