Class Diff_Renderer_Text_Unified

InheritanceDiff_Renderer_Text_Unified » 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_Abstract
$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
render() Render and return a unified diff. Diff_Renderer_Text_Unified
setOptions() Set the options of the renderer to those supplied in the passed in array. Diff_Renderer_Abstract

Method Details

render() public method

Render and return a unified diff.

public string render ( )
return string

The unified diff.