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

Class: Text_Diff_Renderer

Source Location: /Text_Diff-1.2.1/Text/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

__construct (Constructor)   [line 38]

Text_Diff_Renderer __construct( [ $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 Mon, 11 Mar 2019 16:03:26 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.