wCMF  3.6
 All Classes Namespaces Files Functions Variables Groups Pages
OutputStrategy Interface Reference
+ Inheritance diagram for OutputStrategy:

Public Member Functions

 writeHeader ()
 
 writeFooter ()
 
 writeObject (&$obj)
 

Detailed Description

OutputStrategy is used to write an object's content to a destination (called 'document') using a special format. OutputStrategy implements the 'Strategy Pattern'. The abstract base class OutputStrategy defines the interface for all specialized OutputStrategy classes.

wCMF - wemove Content Management Framework Copyright (C) 2005-2014 wemove digital solutions GmbH

Licensed under the terms of any of the following licenses at your choice:

See the license.txt file distributed with this work for additional information.

Id:
class.OutputStrategy.php 1462 2014-02-04 23:52:27Z iherwig
Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

Definition at line 32 of file class.OutputStrategy.php.

Member Function Documentation

OutputStrategy::writeHeader ( )

Write the document header. Subclasses of OutputStrategy override this method to implement the specialized format.

Implemented in ImageOutputStrategy, XMLOutputStrategy, DotOutputStrategy, TreeViewOutputStrategy, ElementImageOutputStrategy, ArrayOutputStrategy, LogOutputStrategy, and DefaultOutputStrategy.

Definition at line 39 of file class.OutputStrategy.php.

References WCMFException\throwEx().

+ Here is the call graph for this function:

OutputStrategy::writeFooter ( )

Write the document footer. Subclasses of OutputStrategy override this method to implement the specialized format.

Implemented in ImageOutputStrategy, XMLOutputStrategy, DotOutputStrategy, TreeViewOutputStrategy, ArrayOutputStrategy, LogOutputStrategy, and DefaultOutputStrategy.

Definition at line 48 of file class.OutputStrategy.php.

References WCMFException\throwEx().

+ Here is the call graph for this function:

OutputStrategy::writeObject ( $obj)

Write the object's content.

Parameters
objThe object to write. Subclasses of OutputStrategy override this method to implement the specialized format.

Implemented in ImageOutputStrategy, XMLOutputStrategy, DotOutputStrategy, TreeViewOutputStrategy, ElementImageOutputStrategy, ArrayOutputStrategy, LogOutputStrategy, and DefaultOutputStrategy.

Definition at line 58 of file class.OutputStrategy.php.

References WCMFException\throwEx().

+ Here is the call graph for this function:


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