Class diff

Description

Class to Find the difference between two strings

  • author: ILance
  • version: $Revision: 1.0.0 $

Located in /api/class.diff.inc.php (line 24)


	
			
Variable Summary
mixed $data_new
mixed $data_old
mixed $table
Method Summary
diff diff ( $data_old,  $data_new)
void compress_row ( $row)
void decompress_row ( $row)
void &fetch_diff ()
void &fetch_table ()
void populate_table ()
void process_matches ( &$output,  &$match)
void process_nonmatches ( &$output,  &$text_old,  &$text_new)
Variables
mixed $data_new = array() (line 28)
mixed $data_new_len = 0 (line 29)
mixed $data_old = array() (line 26)
mixed $data_old_len = 0 (line 27)
mixed $table = array() (line 30)
Methods
Constructor diff (line 36)

Constructor

diff diff ( $data_old,  $data_new)
  • $data_old
  • $data_new
compress_row (line 91)

...

void compress_row ( $row)
  • $row
decompress_row (line 100)

...

void decompress_row ( $row)
  • $row
fetch_diff (line 129)

...

void &fetch_diff ()
fetch_table (line 116)

...

void &fetch_table ()
populate_table (line 49)

...

void populate_table ()
process_matches (line 197)

...

void process_matches ( &$output,  &$match)
  • &$output
  • &$match
process_nonmatches (line 212)

...

void process_nonmatches ( &$output,  &$text_old,  &$text_new)
  • &$output
  • &$text_old
  • &$text_new

Documentation generated on Mon, 08 Aug 2011 17:40:54 +0200 by phpDocumentor 1.4.1