public function getPath($path, $flags = 0x000000) {
    if (($flags & self::RELATIVE) === self::RELATIVE) {
      $path = $this->dir.ltrim($path,'\\/');
    }
    
    if (($flags & self::VALIDATE) === self::VALIDATE) {
      if (($rPath = realpath($path)) !== FALSE) {
        $path = $rPath;
      } else {
        throw new Exception('Pfad: '.$path.' konnte nicht gefunden werden',self::VALIDATE);
      }
    }
    
    return $this->ts($path);
  }
public function getPath($path, $flags = 0x000000) {
    if (($flags & self::RELATIVE) === self::RELATIVE) {
      $path = $this->dir.ltrim($path,'\\/');
    }
    
    if (($flags & self::VALIDATE) === self::VALIDATE) {
      if (($rPath = realpath($path)) !== FALSE) {
        $path = $rPath;
      } else {
        throw new Exception('Pfad: '.$path.' konnte nicht gefunden werden',self::VALIDATE);
      }
    }
    
    return $this->ts($path);
  }
public function getPath ( $ path , $ flags = 0x000000 ) { if ( ( $ flags & self :: RELATIVE ) === self :: RELATIVE ) { $ path = $ this -> dir . ltrim ( $ path , '\\/' ) ; } if ( ( $ flags & self :: VALIDATE ) === self :: VALIDATE ) { if ( ( $ rPath = realpath ( $ path ) ) !== FALSE ) { $ path = $ rPath ; } else { throw new Exception ( 'Pfad: ' . $ path . ' konnte nicht gefunden werden' , self :: VALIDATE ) ; } } return $ this -> ts ( $ path ) ; }
resolves a path to a full path

@return string voller Pfad zum Verzeichnis mit DIRECTORY_SEPARATOR hinten dran
resolves a path to a full path