1 diff.inc protected BackdropDiffFormatter::added($lines)

Parameters

$lines:

Overrides DiffFormatter::added

File

core/includes/diff.inc, line 1292
A PHP diff engine for phpwiki. (Taken from phpwiki-1.3.3)

Class

BackdropDiffFormatter
Backdrop diff formatter which returns diffs as an array.

Code

protected function added($lines) {
  foreach ($lines as $line) {
    $this->rows[] = array_merge($this->emptyLine(), $this->addedLine(check_plain($line)));
  }
}