PHP Class Horde_Text_Diff_Mapped, horde

Author: Geoffrey T. Dairiki ([email protected])
Inheritance: extends Horde_Text_Diff
显示文件 Open project: horde/horde

Public Methods

Method Description
__construct ( string $engine, array $params ) Computes a diff between sequences of strings.

Method Details

__construct() public method

Computes a diff between sequences of strings.
public __construct ( string $engine, array $params )
$engine string Name of the diffing engine to use. 'auto' will automatically select the best.
$params array Parameters to pass to the diffing engine: - Two arrays, each containing the lines from a file. - Two arrays with the same size as the first parameters. The elements are what is actually compared when computing the diff.