Documentation

StreamFilterBase extends php_user_filter
in package
implements StreamFilterInterface

AbstractYes

Table of Contents

Interfaces

StreamFilterInterface

Constants

STATE_CLOSED  = 4
STATE_CLOSING  = 3
STATE_OPENING  = 1
STATE_PROCESSING  = 2

Methods

filter()  : int
onCreate()  : bool
processFooter()  : string
processHeader()  : string
processPayload()  : string

Constants

Methods

filter()

public final filter(mixed $in, mixed $out, mixed &$consumed, mixed $closing) : int
Parameters
$in : mixed
$out : mixed
$consumed : mixed
$closing : mixed
Return values
int

processFooter()

protected abstract processFooter() : string
Return values
string

processHeader()

protected abstract processHeader() : string
Return values
string

processPayload()

protected abstract processPayload(string $input) : string
Parameters
$input : string
Return values
string

        
On this page

Search results