You are here

function Text_Diff_Renderer_parallel::_startDiff in Coder 6

Same name and namespace in other branches
  1. 6.2 scripts/coder_format/tests/CoderTestFile.php \Text_Diff_Renderer_parallel::_startDiff()
  2. 7.2 scripts/coder_format/tests/CoderTestFile.php \Text_Diff_Renderer_parallel::_startDiff()
  3. 7 scripts/coder_format/tests/CoderTestFile.php \Text_Diff_Renderer_parallel::_startDiff()

File

scripts/coder_format/tests/CoderTestFile.php, line 186

Class

Text_Diff_Renderer_parallel
Parallel diff renderer for HTML tables with original text on left, new text on right, and changed text highlighted with appropriate classes.

Code

function _startDiff() {
  return '<table class="diff"><thead><tr><th colspan="2">' . $this->title . '</th></tr><tr><th>' . $this->original . '</th><th>' . $this->final . '</th></tr></thead><tbody>';
}