streamWrapper::rmdir
(PHP 5)
streamWrapper::rmdir — Removes a directory
Beschreibung
public bool streamWrapper::rmdir
( string $path
, int $options
)
This method is called in response to rmdir().
Hinweis: In order for the appropriate error message to be returned this method should not be defined if the wrapper does not support creating directories.
Parameter-Liste
- path
-
The directory URL which should be removed.
- options
-
A bitwise mask of values, such as STREAM_MKDIR_RECURSIVE.
Rückgabewerte
Gibt bei Erfolg TRUE zurück, im Fehlerfall FALSE.
Fehler/Exceptions
Wirft E_WARNING, wenn der Aufruf dieser Methode fehlschlug (z.B. weil sie nicht implementiert ist).
Anmerkungen
Hinweis: Die streamWrapper->Kontext-Eigenschaft wird, wenn verfügbar, aktualisiert, wenn der aufrufenden Funktion ein gültiger Kontext übergeben wurde.
Siehe auch
- rmdir() - Löscht ein Verzeichnis
- streamwrapper::mkdir - Create a directory
- streamwrapper::unlink - Delete a file
streamWrapper::rmdir
There are no user contributed notes for this page.
