DiffFormatter::_deleted

protected DiffFormatter::_deleted($lines) File core/lib/Drupal/Component/Diff/DiffFormatter.php, line 177 Class DiffFormatter A class to format Diffs Namespace Drupal\Component\Diff Code protected function _deleted($lines) { $this->_lines($lines, '<'); }

DiffFormatter::_deleted

protected DiffFormatter::_deleted($lines) Overrides DiffFormatter::_deleted File core/lib/Drupal/Core/Diff/DiffFormatter.php, line 177 Class DiffFormatter Diff formatter which uses returns output that can be rendered to a table. Namespace Drupal\Core\Diff Code protected function _deleted($lines) { foreach ($lines as $line) { $this->rows[] = array_merge($this->deletedLine(Html::escape($line)), $this->emptyLine()); } }

DiffFormatter::_context

protected DiffFormatter::_context($lines) Overrides DiffFormatter::_context File core/lib/Drupal/Core/Diff/DiffFormatter.php, line 186 Class DiffFormatter Diff formatter which uses returns output that can be rendered to a table. Namespace Drupal\Core\Diff Code protected function _context($lines) { foreach ($lines as $line) { $this->rows[] = array_merge($this->contextLine(Html::escape($line)), $this->contextLine(Html::escape($line))); } }

DiffFormatter::_context

protected DiffFormatter::_context($lines) File core/lib/Drupal/Component/Diff/DiffFormatter.php, line 169 Class DiffFormatter A class to format Diffs Namespace Drupal\Component\Diff Code protected function _context($lines) { $this->_lines($lines); }

DiffFormatter::_changed

protected DiffFormatter::_changed($orig, $closing) Overrides DiffFormatter::_changed File core/lib/Drupal/Core/Diff/DiffFormatter.php, line 195 Class DiffFormatter Diff formatter which uses returns output that can be rendered to a table. Namespace Drupal\Core\Diff Code protected function _changed($orig, $closing) { $orig = array_map('\Drupal\Component\Utility\Html::escape', $orig); $closing = array_map('\Drupal\Component\Utility\Html::escape', $closing); $diff = new WordLevelDiff

DiffFormatter::_changed

protected DiffFormatter::_changed($orig, $closing) File core/lib/Drupal/Component/Diff/DiffFormatter.php, line 181 Class DiffFormatter A class to format Diffs Namespace Drupal\Component\Diff Code protected function _changed($orig, $closing) { $this->_deleted($orig); echo "---\n"; $this->_added($closing); }

DiffFormatter::_block_header

protected DiffFormatter::_block_header($xbeg, $xlen, $ybeg, $ylen) Overrides DiffFormatter::_block_header File core/lib/Drupal/Core/Diff/DiffFormatter.php, line 61 Class DiffFormatter Diff formatter which uses returns output that can be rendered to a table. Namespace Drupal\Core\Diff Code protected function _block_header($xbeg, $xlen, $ybeg, $ylen) { return array( array( 'data' => $xbeg + $this->line_stats['offset']['x'], 'colspan' => 2, ), array(

DiffFormatter::_block_header

protected DiffFormatter::_block_header($xbeg, $xlen, $ybeg, $ylen) File core/lib/Drupal/Component/Diff/DiffFormatter.php, line 143 Class DiffFormatter A class to format Diffs Namespace Drupal\Component\Diff Code protected function _block_header($xbeg, $xlen, $ybeg, $ylen) { if ($xlen > 1) { $xbeg .= "," . ($xbeg + $xlen - 1); } if ($ylen > 1) { $ybeg .= "," . ($ybeg + $ylen - 1); } return $xbeg . ($xlen ? ($ylen ? 'c' : 'd') : 'a') . $ybeg; }

DiffFormatter::_block

protected DiffFormatter::_block($xbeg, $xlen, $ybeg, $ylen, &$edits) File core/lib/Drupal/Component/Diff/DiffFormatter.php, line 111 Class DiffFormatter A class to format Diffs Namespace Drupal\Component\Diff Code protected function _block($xbeg, $xlen, $ybeg, $ylen, &$edits) { $this->_start_block($this->_block_header($xbeg, $xlen, $ybeg, $ylen)); foreach ($edits as $edit) { if ($edit->type == 'copy') { $this->_context($edit->orig); } elseif

DiffFormatter::_added

protected DiffFormatter::_added($lines) Overrides DiffFormatter::_added File core/lib/Drupal/Core/Diff/DiffFormatter.php, line 168 Class DiffFormatter Diff formatter which uses returns output that can be rendered to a table. Namespace Drupal\Core\Diff Code protected function _added($lines) { foreach ($lines as $line) { $this->rows[] = array_merge($this->emptyLine(), $this->addedLine(Html::escape($line))); } }