|
Class TTextWriter
TTextWriter class.
TTextWriter implements a memory-based text writer. Content written by
TTextWriter are stored in memory and can be obtained by calling TTextWriter::flush() .
-
TComponent
-
TTextWriter
implements
ITextWriter
Methods summary
public
string
|
#
flush( )
Flushes the content that has been written.
Flushes the content that has been written.
Returns
string the content being flushed
Implementation of
|
public
|
#
write( string $str )
Writes a string.
Parameters
- $str
string string to be written
Implementation of
|
public
|
#
writeLine( string $str = '' )
Writers a string and terminates it with a newline.
Writers a string and terminates it with a newline.
Parameters
- $str
string content to be written
See
|
Methods inherited from TComponent
__call(),
__construct(),
__destruct(),
__get(),
__isset(),
__set(),
__sleep(),
__unset(),
__wakeup(),
addParsedObject(),
asa(),
attachBehavior(),
attachBehaviors(),
attachClassBehavior(),
attachEventHandler(),
canGetProperty(),
canSetProperty(),
clearBehaviors(),
createdOnTemplate(),
detachBehavior(),
detachBehaviors(),
detachClassBehavior(),
detachEventHandler(),
disableBehavior(),
disableBehaviors(),
enableBehavior(),
enableBehaviors(),
evaluateExpression(),
evaluateStatements(),
fxAttachClassBehavior(),
fxDetachClassBehavior(),
getAutoGlobalListen(),
getBehaviorsEnabled(),
getClassHierarchy(),
getEventHandlers(),
getListeningToGlobalEvents(),
getSubProperty(),
hasEvent(),
hasEventHandler(),
hasProperty(),
isa(),
listen(),
raiseEvent(),
setSubProperty(),
unlisten()
|
|