streamWrapper::mkdir
(PHP 5)
streamWrapper::mkdir — Create a directory
Descrierea
public bool streamWrapper::mkdir
( string
$path
, int $mode
, int $options
)This method is called in response to mkdir().
Notă:
In order for the appropriate error message to be returned this method should not be defined if the wrapper does not support creating directories.
Parametri
-
path -
Directory which should be created.
-
mode -
The value passed to mkdir().
-
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.
There are no user contributed notes for this page.
