Text_Diff
[ class tree: Text_Diff ] [ index: Text_Diff ] [ all elements ]

Class: Text_Diff_Renderer

Source Location: /Text_Diff-1.1.1/Diff/Renderer.php

Class Overview


A class to render Diffs in different formats.


Methods


Child classes:

Inherited Variables

Inherited Methods


Class Details

[line 17]
A class to render Diffs in different formats.

This class renders the diff in classic diff format. It is intended that this class be customized via inheritance, to obtain fancier outputs.

$Horde: framework/Text_Diff/Diff/Renderer.php,v 1.5.10.12 2009/07/24 13:26:40 jan Exp $

Copyright 2004-2009 The Horde Project (http://www.horde.org/)

See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://opensource.org/licenses/lgpl-license.php.



[ Top ]


Method Detail

Text_Diff_Renderer (Constructor)   [line 38]

Text_Diff_Renderer Text_Diff_Renderer( [ $params = array()])

Constructor.

Parameters:

   $params     

[ Top ]

getParams   [line 53]

array getParams( )

Get any renderer parameters.
  • Return: All parameters of this renderer object.

[ Top ]

render   [line 72]

string render( Text_Diff $diff)

Renders a diff.
  • Return: The formatted output.

Parameters:

Text_Diff   $diff     A Text_Diff object.

[ Top ]


Documentation generated on Fri, 24 Jul 2009 15:00:04 +0000 by phpDocumentor 1.4.2. PEAR Logo Copyright © PHP Group 2004.