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

search for in the

streamWrapper::stream_cast> <streamWrapper::rename
[edit] Last updated: Fri, 23 Mar 2012

view this page in

streamWrapper::rmdir

(PHP 5)

streamWrapper::rmdirRemoves 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ż:



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

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