downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

streamWrapper::rename> <streamWrapper::dir_rewinddir
[edit] Last updated: Fri, 25 May 2012

view this page in

streamWrapper::mkdir

(PHP 5)

streamWrapper::mkdirCreate a directory

Beschreibung

public bool streamWrapper::mkdir ( string $path , int $mode , int $options )

This method is called in response to mkdir().

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

Directory which should be created.

mode

The value passed to mkdir().

options

A bitwise mask of values, such as STREAM_MKDIR_RECURSIVE.

Rückgabewerte

Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.

Fehler/Exceptions

Wirft E_WARNING, wenn der Aufruf dieser Methode fehlschlug (z.B. weil sie nicht implementiert ist).

Anmerkungen

Hinweis:

Die streamWrapper::$context-Eigenschaft wird, wenn verfügbar, aktualisiert, wenn der aufrufenden Funktion ein gültiger Kontext übergeben wurde.

Siehe auch



add a note add a note User Contributed Notes streamWrapper::mkdir
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites