protected function getFilepath($id, $pathPrefix = null)
	{
		if ($pathPrefix === null)
		{
			$pathPrefix = $this->uploadPath;
		}
		else
		{
			$pathPrefix = rtrim($pathPrefix, $this->pathTrimMask);
		}

		return $pathPrefix . '/' . $id;
	}
protected function getFilepath($id, $pathPrefix = null)
	{
		if ($pathPrefix === null)
		{
			$pathPrefix = $this->uploadPath;
		}
		else
		{
			$pathPrefix = rtrim($pathPrefix, $this->pathTrimMask);
		}

		return $pathPrefix . '/' . $id;
	}
protected function getFilepath ( $ id , $ pathPrefix = null ) { if ( $ pathPrefix === null ) { $ pathPrefix = $ this -> uploadPath ; } else { $ pathPrefix = rtrim ( $ pathPrefix , $ this -> pathTrimMask ) ; } return $ pathPrefix . '/' . $ id ; }
Get the full file path of a file with the given id and an optional path prefix.

@param string $id
@param string $pathPrefix

@return string
Get the full file path of a file with the given id and an optional path prefix .