DotOutputStrategy Class Reference

Detailed Description

DotOutputStrategy outputs an object's content in a dot file.

Note
file locking works not on NFS!
Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

Definition at line 23 of file DotOutputStrategy.php.

+ Inheritance diagram for DotOutputStrategy:

Public Member Functions

 __construct ($file, $nodeStyle='', $edgeStyle='')
 
 writeHeader ()
 
 writeFooter ()
 
 writeObject (PersistentObject $obj)
 

Constructor & Destructor Documentation

◆ __construct()

__construct (   $file,
  $nodeStyle = '',
  $edgeStyle = '' 
)

Constructor.

Parameters
$fileThe output file name.
$nodeStyleStyle definition to use for nodes (see dot documentation).
$edgeStyleStyle definition to use for edges (see dot documentation).

Definition at line 46 of file DotOutputStrategy.php.

Member Function Documentation

◆ writeHeader()

writeHeader ( )
See also
OutputStrategy::writeHeader

Implements OutputStrategy.

Definition at line 70 of file DotOutputStrategy.php.

◆ writeFooter()

writeFooter ( )
See also
OutputStrategy::writeFooter

Implements OutputStrategy.

Definition at line 98 of file DotOutputStrategy.php.

◆ writeObject()

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

Implements OutputStrategy.

Definition at line 109 of file DotOutputStrategy.php.