OutputStrategy Interface Reference

Detailed Description

OutputStrategy defines the interface for classes that write an object's content to a destination (called 'document') using a special format.

OutputStrategy implements the 'Strategy Pattern'.

Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

Definition at line 22 of file OutputStrategy.php.

+ Inheritance diagram for OutputStrategy:

Public Member Functions

 writeHeader ()
 
 writeFooter ()
 
 writeObject (PersistentObject $obj)
 

Member Function Documentation

◆ writeHeader()

writeHeader ( )

◆ writeFooter()

writeFooter ( )

Write the document footer.

Implemented in ImageOutputStrategy, DotOutputStrategy, DefaultOutputStrategy, and AuditingOutputStrategy.

◆ writeObject()

writeObject ( PersistentObject  $obj)

Write the object's content.

Parameters
$objThe object to write.

Implemented in ImageOutputStrategy, DotOutputStrategy, ElementImageOutputStrategy, DefaultOutputStrategy, and AuditingOutputStrategy.