PEAR_Command::getShortcuts (Previous) (Next) PEAR_Common

View this page in Last updated: Sun, 05 Oct 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

PEAR_Command::registerCommands()

PEAR_Command::registerCommands() -- コマンドディレクトリをスキャンする

説明

コマンドディレクトリをスキャンし、 クラスとそれが実装するコマンドを探します。

パラメータ

boolean $merge

FALSE の場合 (デフォルト)、新しいコマンドリストで現在の内容を上書きします。 TRUE の場合、新しいエントリが現在の内容に追加されます。

string $dir

クラスを探す場所 (ディレクトリ)。 デフォルトは、このファイルがインクルードされているディレクトリ (__FILE__) の下にある Command サブディレクトリです。

返り値

成功した場合に TRUE を返します。

注意

この関数は、スタティックにコール されます。

PEAR_Command::getShortcuts (Previous) (Next) PEAR_Common

Download Documentation Last updated: Sun, 05 Oct 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.