Stud.IP  5.4
WikiDiffer Class Reference

Public Member Functions

 __construct ($plus='+', $minus='-', $equal='=')
 
 arr_compare ($key, $arr1, $arr2)
 
 set_str ($key, $str1, $str2)
 
 str_compare ($str1, $str2, $show_equal=FALSE)
 
 compare ()
 
 snake ($k, $y1, $y2)
 
 toArray ()
 

Static Public Member Functions

static toDiffLineArray ($lines, $who=null)
 
static doDiff ($strlines1, $strlines2)
 

Data Fields

 $arr1
 
 $arr2
 
 $m
 
 $n
 
 $pos
 
 $key
 
 $plus
 
 $minus
 
 $equal
 
 $reverse
 
 $result
 
 $path
 
 $add_count
 
 $delete_count
 

Constructor & Destructor Documentation

◆ __construct()

__construct (   $plus = '+',
  $minus = '-',
  $equal = '=' 
)

Member Function Documentation

◆ arr_compare()

arr_compare (   $key,
  $arr1,
  $arr2 
)

◆ compare()

compare ( )

◆ doDiff()

static doDiff (   $strlines1,
  $strlines2 
)
static

◆ set_str()

set_str (   $key,
  $str1,
  $str2 
)

◆ snake()

snake (   $k,
  $y1,
  $y2 
)

◆ str_compare()

str_compare (   $str1,
  $str2,
  $show_equal = FALSE 
)

◆ toArray()

toArray ( )

◆ toDiffLineArray()

static toDiffLineArray (   $lines,
  $who = null 
)
static

Field Documentation

◆ $add_count

$add_count

◆ $arr1

$arr1

◆ $arr2

$arr2

◆ $delete_count

$delete_count

◆ $equal

$equal

◆ $key

$key

◆ $m

$m

◆ $minus

$minus

◆ $n

$n

◆ $path

$path

◆ $plus

$plus

◆ $pos

$pos

◆ $result

$result

◆ $reverse

$reverse

The documentation for this class was generated from the following file: