ArrayOutputStrategy Class Reference

Detailed Description

ArrayOutputStrategy outputs an object's content into an array.

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

Definition at line 21 of file ArrayOutputStrategy.php.

+ Inheritance diagram for ArrayOutputStrategy:

Public Member Functions

 __construct ($writeValueProperties=false)
 
 writeHeader ()
 
 writeFooter ()
 
 writeObject (PersistentObject $obj)
 

Public Attributes

 $_writeValueProperties = false
 

Constructor & Destructor Documentation

__construct (   $writeValueProperties = false)

Constructor.

Parameters
$writeValuePropertiesBoolean whether to write value properties or not (default: false)

Definition at line 29 of file ArrayOutputStrategy.php.

Member Function Documentation

writeHeader ( )
See also
OutputStrategy::writeHeader

Implements OutputStrategy.

Definition at line 36 of file ArrayOutputStrategy.php.

writeFooter ( )
See also
OutputStrategy::writeFooter

Implements OutputStrategy.

Definition at line 43 of file ArrayOutputStrategy.php.

writeObject ( PersistentObject  $obj)
See also
OutputStrategy::writeObject

Implements OutputStrategy.

Definition at line 50 of file ArrayOutputStrategy.php.

Member Data Documentation

$_writeValueProperties = false

Definition at line 23 of file ArrayOutputStrategy.php.