streamWrapper::rmdir
(PHP 5)
streamWrapper::rmdir — Removes a directory
Descrierea
public bool streamWrapper::rmdir
( string
$path
, int $options
)This method is called in response to rmdir().
Notă:
In order for the appropriate error message to be returned this method should not be defined if the wrapper does not support removing directories.
Parametri
-
path -
The directory URL which should be removed.
-
options -
A bitwise mask of values, such as
STREAM_MKDIR_RECURSIVE.
Valorile întoarse
Întoarce valoarea TRUE în cazul
succesului sau FALSE în cazul eșecului.
Erori/Excepții
Emite o eroare
E_WARNING dacă apelul acestei metode eșuează
(de ex. nu este implementată).
Note
Notă:
Proprietatea streamWrapper::$context este reînnoită dacă un context valid este transmis funcției apelante.
Vedeți de asemenea
- rmdir() - Removes directory
- streamwrapper::mkdir() - Create a directory
- streamwrapper::unlink() - Delete a file
There are no user contributed notes for this page.
