文字

The php_user_filter class

(PHP 5)

简介

Children of this class are passed to stream_filter_register() .

类摘要

php_user_filter {
public $filtername ;
public $params ;
public int filter ( resource $in , resource $out , int &$consumed , bool $closing )
public void onClose ( void )
public bool onCreate ( void )
}

属性

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
上一篇: 下一篇: