original_string: public function move($new_path)
  	{
  		$info = pathinfo($this->path);
  
  		$new_path = $this->area->get_path($new_path);
  		$new_path = rtrim($new_path, '\\/').DS.$info['basename'];
  
  		$return = $this->area->rename($this->path, $new_path);
  		$return and $this->path = $new_path;
  
  		return $return;
  	}
code: public function move($new_path)
  	{
  		$info = pathinfo($this->path);
  
  		$new_path = $this->area->get_path($new_path);
  		$new_path = rtrim($new_path, '\\/').DS.$info['basename'];
  
  		$return = $this->area->rename($this->path, $new_path);
  		$return and $this->path = $new_path;
  
  		return $return;
  	}
code_tokens: public function move ( $ new_path ) { $ info = pathinfo ( $ this -> path ) ; $ new_path = $ this -> area -> get_path ( $ new_path ) ; $ new_path = rtrim ( $ new_path , '\\/' ) . DS . $ info [ 'basename' ] ; $ return = $ this -> area -> rename ( $ this -> path , $ new_path ) ; $ return and $ this -> path = $ new_path ; return $ return ; }
docstring: Move file to new directory
  
  @param	string	path to new directory, must be valid
  @return	bool
docstring_tokens: Move file to new directory