PHP Class 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.
Author: Ciprian Popovici
Inheritance: extends Horde_Text_Diff_Renderer
Afficher le fichier Open project: horde/horde Class Usage Examples

Protected Properties

Свойство Type Description
$_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.

Méthodes protégées

Méthode Description
_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 )

Method Details

_added() protected méthode

protected _added ( $lines )

_blockHeader() protected méthode

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

_changed() protected méthode

protected _changed ( $orig, $final )

_deleted() protected méthode

protected _deleted ( $lines, $words = false )

_encode() protected méthode

protected _encode ( &$string )

_lines() protected méthode

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

_splitOnWords() protected méthode

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

_startBlock() protected méthode

protected _startBlock ( $header )

Property Details

$_block_header protected_oe property

Header for each change block.
protected string $_block_header
Résultat string

$_del_prefix protected_oe property

Prefix for deleted text.
protected string $_del_prefix
Résultat string

$_del_suffix protected_oe property

Suffix for deleted text.
protected string $_del_suffix
Résultat string

$_ins_prefix protected_oe property

Prefix for inserted text.
protected string $_ins_prefix
Résultat string

$_ins_suffix protected_oe property

Suffix for inserted text.
protected string $_ins_suffix
Résultat string

$_leading_context_lines protected_oe property

Number of leading context "lines" to preserve.
protected int $_leading_context_lines
Résultat integer

$_split_characters protected_oe property

Whether to split down to character-level.
protected bool $_split_characters
Résultat boolean

$_split_level protected_oe property

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

$_trailing_context_lines protected_oe property

Number of trailing context "lines" to preserve.
protected int $_trailing_context_lines
Résultat integer