PHP Class PHPRtfLite_StreamOutput

Author: Steffen Zeidler ([email protected])
Inheritance: implements PHPRtfLite_Writer_Interface
Show file Open project: phprtflite/phprtflite Class Usage Examples

Public Methods

Method Description
close ( ) closes file handler
getContent ( ) : string gets written content
getFilename ( ) : string gets filename
open ( ) opens file stream
setFilename ( string $filename ) set filename
write ( string $data ) writes string to file handler

Method Details

close() public method

closes file handler
public close ( )

getContent() public method

gets written content
public getContent ( ) : string
return string

getFilename() public method

gets filename
public getFilename ( ) : string
return string

open() public method

opens file stream
public open ( )

setFilename() public method

set filename
public setFilename ( string $filename )
$filename string

write() public method

writes string to file handler
public write ( string $data )
$data string