streamWrapper::rmdir
(PHP 5)
streamWrapper::rmdir — Removes a directory
Opis
public bool streamWrapper::rmdir
( string
$path
, int $options
)This method is called in response to rmdir().
Informacja:
In order for the appropriate error message to be returned this method should not be defined if the wrapper does not support removing directories.
Parametry
-
path -
The directory URL which should be removed.
-
options -
A bitwise mask of values, such as
STREAM_MKDIR_RECURSIVE.
Zwracane wartości
Zwraca TRUE w przypadku powodzenia, FALSE w
przypadku błędu.
Błędy/Wyjątki
Zgłasza
E_WARNING jeśli wywołanie tej metody nie powiedzie się
(np. nie jest zaimplementowana).
Notatki
Informacja:
Właściwość streamWrapper->context jest aktualizowana, jeśli do wywołującej funkcji jest przekazywany prawidłowy kontekst.
Zobacz też:
- rmdir() - Usuwanie katalogów
- streamwrapper::mkdir() - Create a directory
- streamwrapper::unlink() - Delete a file
There are no user contributed notes for this page.
