public function getBasePath($offset = 0, $format = self::FORMAT_NO_DELIMITERS)
	{
		$basePathList = $this->basePathParts;
		
		if ($offset > 0) {
			$basePathList = array_slice($basePathList, 0, -$offset);
		}
		
		$parts = new Path('', $this->separator);
		
		foreach ($basePathList as $path) {
			$parts->append($path);
		}
		
		$basePathString = $parts->getFullPath($format);
		
		return $basePathString;
	}
public function getBasePath($offset = 0, $format = self::FORMAT_NO_DELIMITERS)
	{
		$basePathList = $this->basePathParts;
		
		if ($offset > 0) {
			$basePathList = array_slice($basePathList, 0, -$offset);
		}
		
		$parts = new Path('', $this->separator);
		
		foreach ($basePathList as $path) {
			$parts->append($path);
		}
		
		$basePathString = $parts->getFullPath($format);
		
		return $basePathString;
	}
public function getBasePath ( $ offset = 0 , $ format = self :: FORMAT_NO_DELIMITERS ) { $ basePathList = $ this -> basePathParts ; if ( $ offset > 0 ) { $ basePathList = array_slice ( $ basePathList , 0 , - $ offset ) ; } $ parts = new Path ( '' , $ this -> separator ) ; foreach ( $ basePathList as $ path ) { $ parts -> append ( $ path ) ; } $ basePathString = $ parts -> getFullPath ( $ format ) ; return $ basePathString ; }
Get request base path with arbitrary offset
@param integer $offset
@param integer $format
@return string
Get request base path with arbitrary offset