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, 13 Nov 2009

view this page in

streamWrapper::rmdir

(PHP 5)

streamWrapper::rmdirディレクトリを削除する

説明

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

このメソッドは、rmdir() に対応してコールされます。

注意: 適切なエラーメッセージを返すためには、 ラッパーがディレクトリの作成に対応していない場合にはこのメソッドを定義しては いけません

パラメータ

path

削除したいディレクトリの URL。

options

STREAM_MKDIR_RECURSIVE などの値のビットマスク。

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。

エラー / 例外

このメソッドのコールに (未実装などの理由で) 失敗した場合、 E_WARNING を発行します。

注意

注意: 有効なコンテキストがコール元関数に渡された場合に streamWrapper->context プロパティが更新されます。

参考



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, 13 Nov 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites