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

Class: Text_Diff_Renderer

Source Location: /Text_Diff-1.2.2/Text/Diff/Renderer.php

Class Overview

A class to render Diffs in different formats.


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 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()])



   $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.


Text_Diff   $diff   —  A Text_Diff object.

[ Top ]

Documentation generated on Wed, 08 Mar 2017 15:30:03 +0000 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.