PHP 클래스 Horde_Text_Diff_ThreeWay, horde

Copyright 2007-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
저자: Geoffrey T. Dairiki ([email protected])
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_conflictingBlocks integer Conflict counter.
$_edits array Array of changes.

공개 메소드들

메소드 설명
__construct ( array $orig, array $final1, array $final2 ) Computes diff between 3 sequences of strings.
mergedOutput ( $label1 = false, $label2 = false )

보호된 메소드들

메소드 설명
_diff3 ( $edits1, $edits2 )

메소드 상세

__construct() 공개 메소드

Computes diff between 3 sequences of strings.
public __construct ( array $orig, array $final1, array $final2 )
$orig array The original lines to use.
$final1 array The first version to compare to.
$final2 array The second version to compare to.

_diff3() 보호된 메소드

protected _diff3 ( $edits1, $edits2 )

mergedOutput() 공개 메소드

public mergedOutput ( $label1 = false, $label2 = false )

프로퍼티 상세

$_conflictingBlocks 보호되어 있는 프로퍼티

Conflict counter.
protected int $_conflictingBlocks
리턴 integer

$_edits 보호되어 있는 프로퍼티

Array of changes.
protected array $_edits
리턴 array