original_string: protected function delTree($localpath) {
  		foreach ($this->_scandir($localpath) as $p) {
  			@set_time_limit(30);
  			$stat = $this->stat($this->convEncOut($p));
  			$this->convEncIn();
  			($stat['mime'] === 'directory')? $this->delTree($p) : $this->_unlink($p);
  		}
  		return $this->_rmdir($localpath);
  	}
code: protected function delTree($localpath) {
  		foreach ($this->_scandir($localpath) as $p) {
  			@set_time_limit(30);
  			$stat = $this->stat($this->convEncOut($p));
  			$this->convEncIn();
  			($stat['mime'] === 'directory')? $this->delTree($p) : $this->_unlink($p);
  		}
  		return $this->_rmdir($localpath);
  	}
code_tokens: protected function delTree ( $ localpath ) { foreach ( $ this -> _scandir ( $ localpath ) as $ p ) { @ set_time_limit ( 30 ) ; $ stat = $ this -> stat ( $ this -> convEncOut ( $ p ) ) ; $ this -> convEncIn ( ) ; ( $ stat [ 'mime' ] === 'directory' ) ? $ this -> delTree ( $ p ) : $ this -> _unlink ( $ p ) ; } return $ this -> _rmdir ( $ localpath ) ; }
docstring: Delete dirctory trees
  
  @param string $localpath path need convert encoding to server encoding
  @return boolean
  @author Naoki Sawada
docstring_tokens: Delete dirctory trees