|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Inheritance diagram for Text_Diff_Renderer:
Collaboration diagram for Text_Diff_Renderer: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() | ) |
Constructor.
Definition at line 34 of file Renderer.php.
References $params.
| Text_Diff_Renderer::_added | ( | $lines | ) |
Reimplemented in Text_Diff_Renderer_unified.
Definition at line 203 of file Renderer.php.
References _lines().
Referenced by _block(), and _changed().
Here is the call graph for this function:
Here is the caller graph for this function:| Text_Diff_Renderer::_block | ( | $xbeg, | |
| $xlen, | |||
| $ybeg, | |||
| $ylen, | |||
| & | $edits | ||
| ) |
Definition at line 134 of file Renderer.php.
References $output, _added(), _blockHeader(), _changed(), _context(), _deleted(), _endBlock(), and _startBlock().
Referenced by render().
Here is the call graph for this function:
Here is the caller graph for this function:| Text_Diff_Renderer::_blockHeader | ( | $xbeg, | |
| $xlen, | |||
| $ybeg, | |||
| $ylen | |||
| ) |
Reimplemented in Text_Diff_Renderer_unified.
Definition at line 171 of file Renderer.php.
Referenced by _block().
Here is the caller graph for this function:| Text_Diff_Renderer::_changed | ( | $orig, | |
| $final | |||
| ) |
Reimplemented in Text_Diff_Renderer_unified.
Definition at line 213 of file Renderer.php.
References $orig, _added(), and _deleted().
Referenced by _block().
Here is the call graph for this function:
Here is the caller graph for this function:| Text_Diff_Renderer::_context | ( | $lines | ) |
Definition at line 198 of file Renderer.php.
References _lines().
Referenced by _block().
Here is the call graph for this function:
Here is the caller graph for this function:| Text_Diff_Renderer::_deleted | ( | $lines | ) |
Reimplemented in Text_Diff_Renderer_unified.
Definition at line 208 of file Renderer.php.
References _lines().
Referenced by _block(), and _changed().
Here is the call graph for this function:
Here is the caller graph for this function:| Text_Diff_Renderer::_endBlock | ( | ) |
Definition at line 188 of file Renderer.php.
Referenced by _block().
Here is the caller graph for this function:| Text_Diff_Renderer::_endDiff | ( | ) |
Definition at line 166 of file Renderer.php.
Referenced by render().
Here is the caller graph for this function:| Text_Diff_Renderer::_lines | ( | $lines, | |
$prefix = ' ' |
|||
| ) |
Definition at line 193 of file Renderer.php.
Referenced by _added(), Text_Diff_Renderer_unified\_added(), _context(), _deleted(), and Text_Diff_Renderer_unified\_deleted().
Here is the caller graph for this function:| Text_Diff_Renderer::_startBlock | ( | $header | ) |
Definition at line 183 of file Renderer.php.
References $header.
Referenced by _block().
Here is the caller graph for this function:| Text_Diff_Renderer::_startDiff | ( | ) |
Definition at line 161 of file Renderer.php.
Referenced by render().
Here is the caller graph for this function:| Text_Diff_Renderer::getParams | ( | ) |
Get any renderer parameters.
Definition at line 49 of file Renderer.php.
References $params.
| Text_Diff_Renderer::render | ( | $diff | ) |
Renders a diff.
Definition at line 68 of file Renderer.php.
References $_leading_context_lines, $_trailing_context_lines, $output, _block(), _endDiff(), and _startDiff().
Here is the call graph for this function:| 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().