[ Index ]

PHP Cross Reference of MyBB 1.8.38

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 (5 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.
return: array all changes made (array with Horde_Text_Diff_Op_* objects)
param: array $from_lines lines of text from old file
param: array $to_lines   lines of text from new file

_getLines(&$text_lines, &$line_no, $end = false)   X-Ref
Get lines from either the old or new text
return: array The chopped lines
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



2005 - 2021 © MyBB.de | Alle Rechte vorbehalten! | Sponsor: netcup Cross-referenced by PHPXref