php_user_filter (class)
The php_user_filter class
Introduction
(PHP 5, PHP 7)
Children of this class are passed to stream_filter_register().
Class synopsis
php_user_filter {
/* Properties */
public $filtername ;
public $params ;
/* Methods */
public int filter ( resource $in , resource $out , int &$consumed , bool $closing )
public void onClose ( void )
public bool onCreate ( void )}
Properties
- filtername
-
Name of the filter registered by stream_filter_append().
- params
Table 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
© 1997–2017 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://secure.php.net/manual/en/class.php-user-filter.php