« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 3 of about 3 for filtername (0.001 sec.)
php_user_filter クラス | PHP 8.3 11868
php_user_filter クラス (PHP 5, PHP 7, PHP 8) はじめに このクラスの子クラスを stream_filter_register() に渡します。 子クラスの __construct メソッドは呼び出されないので注意して下さい: 初期化については、 php_user_filter::onCreate() を変わりに使 ... うべきです。 クラス概要 class php_user_filter { /* プロパティ */ public string $ filtername = "" ; public mixed $ params = "" ; public ? resource $ stream = null ; /* メソッド */ public function filter ( resource $ ... ut , int &$consumed , bool $closing ): int public function onClose (): void public function onCreate (): bool } プロパティ filtername stream_filter_append() で登録するフィルタの名前。 params stream 目次 php_user_filter::filter — フィルタを適用するときにコー ...
https://man.mtool.work/php/8.3/class.php-user-filter.html
stream_filter_register — ユーザー定義のストリームフィルタを登録する | PHP 8.3 8464
stream_filter_register (PHP 5, PHP 7, PHP 8) stream_filter_register — ユーザー定義のストリームフィルタを登録する 説明 function stream_filter_register ( string $filter_name , string $class ): bool stream_filter_register() は、 fopen() や fre ... ucket -> datalen ; stream_bucket_append ( $out , $bucket ); } return PSFS_PASS_ON ; } function onCreate () { if ( $this -> filtername == 'str.toupper' ) { $this -> mode = 1 ; } elseif ( $this -> filtername == 'str.tolower' ) { $this -> mode = 0 ; } else { ...
https://man.mtool.work/php/8.3/function.stream-filter-register.html
php_user_filter::onCreate — フィルタを作成するときにコールされる | PHP 8.3 7533
php_user_filter::onCreate (PHP 5, PHP 7, PHP 8) php_user_filter::onCreate — フィルタを作成するときにコールされる 説明 public function php_user_filter::onCreate (): bool このメソッドがコールされるのは、フィルタクラスのオブジェクトのインスタン ... ilter->onCreate() をコールすると、 以下の表に示すさまざまなプロパティが使えるようになります。 プロパティ 内容 FilterClass->filtername フィルタのインスタンスを作成するときの名前を表す文字列。 フィルタを登録するときには、複数の名前を使ったりワイルドカードを使 ...
https://man.mtool.work/php/8.3/php-user-filter.oncreate.html
PREV 1 NEXT