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'.
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 | ( | ) |
Write the document header.
Implemented in ImageOutputStrategy, DotOutputStrategy, ElementImageOutputStrategy, AuditingOutputStrategy, and DefaultOutputStrategy.
◆ writeFooter()
writeFooter | ( | ) |
Write the document footer.
Implemented in ImageOutputStrategy, DotOutputStrategy, DefaultOutputStrategy, and AuditingOutputStrategy.
◆ writeObject()
writeObject | ( | PersistentObject | $obj | ) |
Write the object's content.
- Parameters
-
$obj The object to write.
Implemented in ImageOutputStrategy, DotOutputStrategy, ElementImageOutputStrategy, DefaultOutputStrategy, and AuditingOutputStrategy.