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

Public Member Functions

 ArrayOutputStrategy ($writeValueProperties=false)
 
 writeHeader ()
 
 writeFooter ()
 
 writeObject (&$obj)
 
 writeValue ($value)
 

Public Attributes

 $_writeValueProperties = false
 

Detailed Description

This OutputStrategy outputs an object's content into an array.

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.ArrayOutputStrategy.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 27 of file class.ArrayOutputStrategy.php.

Member Function Documentation

ArrayOutputStrategy::ArrayOutputStrategy (   $writeValueProperties = false)

Constructor

Parameters
writeValuePropertiesTrue/False wether to write value properties or not [default: false]

Definition at line 35 of file class.ArrayOutputStrategy.php.

ArrayOutputStrategy::writeHeader ( )

Write the document header.

Implements OutputStrategy.

Definition at line 42 of file class.ArrayOutputStrategy.php.

ArrayOutputStrategy::writeFooter ( )

Write the document footer.

Implements OutputStrategy.

Definition at line 49 of file class.ArrayOutputStrategy.php.

ArrayOutputStrategy::writeObject ( $obj)

Write the objects content.

Parameters
objThe object to write.

Implements OutputStrategy.

Definition at line 57 of file class.ArrayOutputStrategy.php.

References writeValue().

Referenced by writeValue().

+ Here is the call graph for this function:

ArrayOutputStrategy::writeValue (   $value)

Write the objects content.

Parameters
valueThe value to write.

Definition at line 89 of file class.ArrayOutputStrategy.php.

References writeObject().

Referenced by writeObject().

+ Here is the call graph for this function:

Member Data Documentation

ArrayOutputStrategy::$_writeValueProperties = false

Definition at line 29 of file class.ArrayOutputStrategy.php.


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