Example class registered as stream wrapper
php_user_filter::filter
Streams
PHP Manual

# The php_user_filter class

(No version information available, might only be in SVN)

## Wstęp

Children of this class are passed to stream_filter_register().

## Krótki opis klasy

php_user_filter {
/* Właściwości */
public $filtername ;
public $params ;
/* Metody */
public int filter ( resource `$in` , resource `$out` , int `&$consumed` , bool `$closing` )
public void onClose ( void )
public bool onCreate ( void )
}

## Właściwości

filtername

  Name of the filter registered by stream_filter_append().

params

## Spis treści

- 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

Example class registered as stream wrapper
php_user_filter::filter
Streams
PHP Manual