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
Last updated: Fri, 20 Nov 2009

view this page in

streamWrapper::rmdir

(PHP 5)

streamWrapper::rmdirRemoves 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 întroarse

Î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



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

streamWrapper::stream_cast> <streamWrapper::rename
Last updated: Fri, 20 Nov 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites