The php_user_filter class
(PHP 5, PHP 7, PHP 8)
Introduction
Children of this class are passed to stream_filter_register(). Note that the __construct method is not called; instead, php_user_filter::onCreate() should be used for initialization.
Class synopsis
class php_user_filter
{
/* Properties */
/* Methods */
}Properties
filternameName of the filter registered by stream_filter_append().
params streamTable of Contents
- php_user_filter::filter — Called when applying the filter
- php_user_filter::onClose — Called when closing the filter
- php_user_filter::onCreate — Called when creating the filter
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
