XML diff and mergeTable of Contents
The XMLDiff\Base classIntroductionBase abstract class for all the comparsion classes in the extension. Class synopsisXMLDiff\Base
class XMLDiff\Base
{
/* Methods */
public __construct
( string
$nsname
)
abstract public mixed diff
( mixed
$from
, mixed $to
)
abstract public mixed merge
( mixed
}$src
, mixed $diff
)The XMLDiff\DOM classIntroduction
Class synopsisXMLDiff\DOM
class XMLDiff\DOM
extends
XMLDiff\Base
{
/* Methods */
public DOMDocument diff
( DOMDocument
$from
, DOMDocument $to
)
public DOMDocument merge
( DOMDocument
$src
, DOMDocument $diff
)/* Inherited methods */
public XMLDiff\Base::__construct
( string
$nsname
)
abstract public mixed XMLDiff\Base::diff
( mixed
$from
, mixed $to
)
abstract public mixed XMLDiff\Base::merge
( mixed
}$src
, mixed $diff
)The XMLDiff\Memory classIntroduction
Class synopsisXMLDiff\Memory
class XMLDiff\Memory
extends
XMLDiff\Base
{
/* Methods */
public string diff
( string
$from
, string $to
)
public string merge
( string
$src
, string $diff
)/* Inherited methods */
public XMLDiff\Base::__construct
( string
$nsname
)
abstract public mixed XMLDiff\Base::diff
( mixed
$from
, mixed $to
)
abstract public mixed XMLDiff\Base::merge
( mixed
}$src
, mixed $diff
)The XMLDiff\File classIntroduction
Class synopsisXMLDiff\File
class XMLDiff\File
extends
XMLDiff\Base
{
/* Methods */
public string diff
( string
$from
, string $to
)
public string merge
( string
$src
, string $diff
)/* Inherited methods */
public XMLDiff\Base::__construct
( string
$nsname
)
abstract public mixed XMLDiff\Base::diff
( mixed
$from
, mixed $to
)
abstract public mixed XMLDiff\Base::merge
( mixed
}$src
, mixed $diff
) |