PHP: php_stream_filter_register_factory - Manual

downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

php_stream_filter_unregister_factory php_stream_open_wrapper_as_file

Last updated: Fri, 26 Jan 2007

view this page in

# php_stream_filter_register_factory

php_stream_filter_register_factory -- Registers a filter factory with the Streams API

## Description

int php_stream_filter_register_factory ( const char * filterpattern, php_stream_filter_factory * factory )

Use this function to register a filter factory with the name given by `filterpattern`. `filterpattern` can be either a normal string name (i.e. `myfilter`) or a global pattern (i.e. `myfilterclass.*`) to allow a single filter to perform different operations depending on the exact name of the filter invoked (i.e. `myfilterclass.foo`, `myfilterclass.bar`, etc...)

> Замечание: Filters registered by a loadable extension must be certain to call php_stream_filter_unregister_factory() during MSHUTDOWN.

add a note User Contributed Notes
php_stream_filter_register_factory
There are no user contributed notes for this page.
php_stream_filter_unregister_factory php_stream_open_wrapper_as_file

Last updated: Fri, 26 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 10:36:09 2007 PST