Class Diff_Renderer_Html_SideBySide

InheritanceDiff_Renderer_Html_SideBySide » Diff_Renderer_Html_Array » Diff_Renderer_Abstract

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$diff object Instance of the diff class that this renderer is generating the rendered diff for. Diff_Renderer_Abstract

Protected Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$defaultOptions array Array of the default options that apply to this renderer. Diff_Renderer_Html_Array
$options array Array containing the user applied and merged default options for the renderer. Diff_Renderer_Abstract

Public Methods

Hide inherited methods

MethodDescriptionDefined By
__construct() The constructor. Instantiates the rendering engine and if options are passed, sets the options for the renderer. Diff_Renderer_Abstract
fixSpaces() Replace a string containing spaces with a HTML representation using  . Diff_Renderer_Html_Array
render() Render a and return diff with changes between the two sequences displayed side by side. Diff_Renderer_Html_SideBySide
setOptions() Set the options of the renderer to those supplied in the passed in array. Diff_Renderer_Abstract

Method Details

render() public method

Render a and return diff with changes between the two sequences displayed side by side.

public string render ( )
return string

The generated side by side diff.