PHP 클래스 Horde_Text_Diff_Renderer_Inline, horde

This class renders diffs in the Wiki-style "inline" format. Copyright 2004-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.
저자: Ciprian Popovici
상속: extends Horde_Text_Diff_Renderer
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_block_header string Header for each change block.
$_del_prefix string Prefix for deleted text.
$_del_suffix string Suffix for deleted text.
$_ins_prefix string Prefix for inserted text.
$_ins_suffix string Suffix for inserted text.
$_leading_context_lines integer Number of leading context "lines" to preserve.
$_split_characters boolean Whether to split down to character-level.
$_split_level string What are we currently splitting on? Used to recurse to show word-level or character-level changes.
$_trailing_context_lines integer Number of trailing context "lines" to preserve.

보호된 메소드들

메소드 설명
_added ( $lines )
_blockHeader ( $xbeg, $xlen, $ybeg, $ylen )
_changed ( $orig, $final )
_deleted ( $lines, $words = false )
_encode ( &$string )
_lines ( $lines, $prefix = ' ', $encode = true )
_splitOnWords ( $string, $newlineEscape = " " )
_startBlock ( $header )

메소드 상세

_added() 보호된 메소드

protected _added ( $lines )

_blockHeader() 보호된 메소드

protected _blockHeader ( $xbeg, $xlen, $ybeg, $ylen )

_changed() 보호된 메소드

protected _changed ( $orig, $final )

_deleted() 보호된 메소드

protected _deleted ( $lines, $words = false )

_encode() 보호된 메소드

protected _encode ( &$string )

_lines() 보호된 메소드

protected _lines ( $lines, $prefix = ' ', $encode = true )

_splitOnWords() 보호된 메소드

protected _splitOnWords ( $string, $newlineEscape = " " )

_startBlock() 보호된 메소드

protected _startBlock ( $header )

프로퍼티 상세

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

Header for each change block.
protected string $_block_header
리턴 string

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

Prefix for deleted text.
protected string $_del_prefix
리턴 string

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

Suffix for deleted text.
protected string $_del_suffix
리턴 string

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

Prefix for inserted text.
protected string $_ins_prefix
리턴 string

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

Suffix for inserted text.
protected string $_ins_suffix
리턴 string

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

Number of leading context "lines" to preserve.
protected int $_leading_context_lines
리턴 integer

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

Whether to split down to character-level.
protected bool $_split_characters
리턴 boolean

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

What are we currently splitting on? Used to recurse to show word-level or character-level changes.
protected string $_split_level
리턴 string

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

Number of trailing context "lines" to preserve.
protected int $_trailing_context_lines
리턴 integer