[ Index ]

PHP Cross Reference of MyBB

title

Body

[close]

/inc/3rdparty/diff/Diff/Engine/ -> Shell.php (summary)

Class used internally by Diff to actually compute the diffs.

Author: Milian Wolff <mail@milianw.de>
File Size: 165 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Horde_Text_Diff_Engine_Shell:: (2 methods):
  diff()
  _getLines()


Class: Horde_Text_Diff_Engine_Shell  - X-Ref

diff($from_lines, $to_lines)   X-Ref
Returns the array of differences.

param: array $from_lines lines of text from old file
param: array $to_lines   lines of text from new file
return: array all changes made (array with Horde_Text_Diff_Op_* objects)

_getLines(&$text_lines, &$line_no, $end = false)   X-Ref
Get lines from either the old or new text

param: array &$text_lines Either $from_lines or $to_lines
param: int   &$line_no    Current line number
param: int   $end         Optional end line, when we want to chop more
return: array The chopped lines



Generated: Tue Oct 8 19:19:50 2013 Cross-referenced by PHPXref 0.7.1