public function setUploadDir($path)
	{
		$path = str_replace(' ', '_', trim($path));
		$path = Util::normalizePath($path);

		$this->uploadDir = ($path ? $path : $this->uploadDir);

		return $this;
	}
public function setUploadDir($path)
	{
		$path = str_replace(' ', '_', trim($path));
		$path = Util::normalizePath($path);

		$this->uploadDir = ($path ? $path : $this->uploadDir);

		return $this;
	}
public function setUploadDir ( $ path ) { $ path = str_replace ( ' ' , '_' , trim ( $ path ) ) ; $ path = Util :: normalizePath ( $ path ) ; $ this -> uploadDir = ( $ path ? $ path : $ this -> uploadDir ) ; return $ this ; }
Set the upload path

@param   string  $path  Path to set to
@return  object
Set the upload path