public function setPath($path = "")
    {
        if ($path != "") {
            $this->_path = str_replace("\\", DS, $path);
            $this->_path = (substr($this->_path, -1) == DS) ? substr($this->_path, 0, -1) : $this->_path;
        }
    }
public function setPath($path = "")
    {
        if ($path != "") {
            $this->_path = str_replace("\\", DS, $path);
            $this->_path = (substr($this->_path, -1) == DS) ? substr($this->_path, 0, -1) : $this->_path;
        }
    }
public function setPath ( $ path = "" ) { if ( $ path != "" ) { $ this -> _path = str_replace ( "\\" , DS , $ path ) ; $ this -> _path = ( substr ( $ this -> _path , - 1 ) == DS ) ? substr ( $ this -> _path , 0 , - 1 ) : $ this -> _path ; } }
Set the explorer path

@access public

@param  string $path

@return void
Set the explorer path