Get Smarty

Donate

Paypal

Smarty Icon

You may use the Smarty logo according to the trademark notice.

Smarty Template Engine Smarty Template Engine

For sponsorship, advertising, news or other inquiries, contact us at:

Sites Using Smarty

Advertisement

Name

unregisterFilter() — 動的にフィルタの登録を解除する

説明

void unregisterFilter(string type,
                      mixed callback);

この函数は、フィルタの登録を動的に解除します。 次のパラメータを使います。

  • type にはフィルタの型を定義します。使える値は "pre"、"post"、"output" および "variable" です。

  • PHP 関数のコールバック function は、次のいずれかとなります。

    • 関数名を含んだ文字列

    • array(&$object, $method) 形式の配列 (&$object はオブジェクトの参照で、 $method はメソッド名を含む文字列)

    • array($class, $method) という形式の配列 ($class はクラス名であり、 $method はクラスのメソッド名)

registerFilter() も参照ください。

Comments
No comments for this page.

Advertisement

Sponsors [info]

Sponsors