wcmf logo wemove logo

OutputStrategy Interface Reference
[Output]

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. More...

Inheritance diagram for OutputStrategy:

Inheritance graph
[legend]

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-2009 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 929 2009-02-22 23:20:49Z iherwig

Author:
ingo herwig <ingo@wemove.com>

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


Member Function Documentation

writeHeader (  ) 

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

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

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

References WCMFException::throwEx().

Here is the call graph for this function:

writeFooter (  ) 

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

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

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

References WCMFException::throwEx().

Here is the call graph for this function:

writeObject ( &$  obj  ) 

Write the object's content.

Parameters:
obj The object to write. Subclasses of OutputStrategy override this method to implement the specialized format.

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

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:

This page generated via doxygen 1.5.8 Mon Mar 30 01:58:45 2009.
Copyright © 2009 wemove digital solutions GmbH.
sourceforge logo