ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct ($params=array()) | |
Constructor. More... | |
getParams () | |
Get any renderer parameters. More... | |
render ($diff) | |
Renders a diff. More... | |
_block ($xbeg, $xlen, $ybeg, $ylen, &$edits) | |
_startDiff () | |
_endDiff () | |
_blockHeader ($xbeg, $xlen, $ybeg, $ylen) | |
_startBlock ($header) | |
_endBlock () | |
_lines ($lines, $prefix=' ') | |
_context ($lines) | |
_added ($lines) | |
_deleted ($lines) | |
_changed ($orig, $final) | |
Data Fields | |
$_leading_context_lines = 0 | |
Number of leading context "lines" to preserve. More... | |
$_trailing_context_lines = 0 | |
Number of trailing context "lines" to preserve. More... | |
Definition at line 12 of file Renderer.php.
Text_Diff_Renderer::__construct | ( | $params = array() | ) |
Text_Diff_Renderer::_added | ( | $lines | ) |
Definition at line 203 of file Renderer.php.
References _lines().
Referenced by _block(), and _changed().
Text_Diff_Renderer::_block | ( | $xbeg, | |
$xlen, | |||
$ybeg, | |||
$ylen, | |||
& | $edits | ||
) |
Definition at line 134 of file Renderer.php.
References Sabre\VObject\$output, _added(), _blockHeader(), _changed(), _context(), _deleted(), _endBlock(), and _startBlock().
Referenced by render().
Text_Diff_Renderer::_blockHeader | ( | $xbeg, | |
$xlen, | |||
$ybeg, | |||
$ylen | |||
) |
Definition at line 171 of file Renderer.php.
Referenced by _block().
Text_Diff_Renderer::_changed | ( | $orig, | |
$final | |||
) |
Definition at line 213 of file Renderer.php.
References _added(), and _deleted().
Referenced by _block().
Text_Diff_Renderer::_context | ( | $lines | ) |
Definition at line 198 of file Renderer.php.
References _lines().
Referenced by _block().
Text_Diff_Renderer::_deleted | ( | $lines | ) |
Definition at line 208 of file Renderer.php.
References _lines().
Referenced by _block(), and _changed().
Text_Diff_Renderer::_endBlock | ( | ) |
Definition at line 188 of file Renderer.php.
Referenced by _block().
Text_Diff_Renderer::_endDiff | ( | ) |
Definition at line 166 of file Renderer.php.
Referenced by render().
Text_Diff_Renderer::_lines | ( | $lines, | |
$prefix = ' ' |
|||
) |
Definition at line 193 of file Renderer.php.
Referenced by Text_Diff_Renderer_unified\_added(), _added(), _context(), Text_Diff_Renderer_unified\_deleted(), and _deleted().
Text_Diff_Renderer::_startBlock | ( | $header | ) |
Definition at line 183 of file Renderer.php.
References $header.
Referenced by _block().
Text_Diff_Renderer::_startDiff | ( | ) |
Definition at line 161 of file Renderer.php.
Referenced by render().
Text_Diff_Renderer::getParams | ( | ) |
Get any renderer parameters.
Definition at line 49 of file Renderer.php.
References PHPMailer\PHPMailer\$params.
Text_Diff_Renderer::render | ( | $diff | ) |
Renders a diff.
Definition at line 68 of file Renderer.php.
References $_leading_context_lines, $_trailing_context_lines, $context, Sabre\VObject\$output, _block(), _endDiff(), and _startDiff().
Text_Diff_Renderer::$_leading_context_lines = 0 |
Number of leading context "lines" to preserve.
This should be left at zero for this class, but subclasses may want to set this to other values.
Definition at line 21 of file Renderer.php.
Referenced by render().
Text_Diff_Renderer::$_trailing_context_lines = 0 |
Number of trailing context "lines" to preserve.
This should be left at zero for this class, but subclasses may want to set this to other values.
Definition at line 29 of file Renderer.php.
Referenced by render().