XOOPS RMCommon Utilities  2.1.8.91RC
 All Classes Namespaces Files Functions Variables
Swift_StreamFilter Interface Reference
Inheritance diagram for Swift_StreamFilter:
Inheritance graph

Public Member Functions

 filter ($buffer)
 
 shouldBuffer ($buffer)
 

Detailed Description

Definition at line 16 of file StreamFilter.php.

Member Function Documentation

Swift_StreamFilter::filter (   $buffer)

Filters $buffer and returns the changes.

Parameters
mixed$buffer
Returns
mixed

Implemented in Swift_StreamFilters_StringReplacementFilter.

Swift_StreamFilter::shouldBuffer (   $buffer)

Based on the buffer given, this returns true if more buffering is needed.

Parameters
mixed$buffer
Returns
boolean

Implemented in Swift_StreamFilters_ByteArrayReplacementFilter, and Swift_StreamFilters_StringReplacementFilter.


The documentation for this interface was generated from the following file: