Jelix 1.6.40

function.diff.php

Tags
subpackage

jtpl_plugin

author

Laurent Jouanneau

contributor

Olivier Demah

copyright

2005-2006 Laurent Jouanneau

copyright

2008 Olivier Demah

link
http://www.jelix.org
licence

GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html

Table of Contents

jtpl_function_html_diff()  : mixed
function plugin : show a diff between two string

Functions

jtpl_function_html_diff()

function plugin : show a diff between two string

jtpl_function_html_diff(jTpl $tpl, string $str1, string $str2[, array<string|int, mixed> $options = array() ]) : mixed
Parameters
$tpl : jTpl

template engine

$str1 : string

the first string

$str2 : string

the second string

$options : array<string|int, mixed> = array()

contains : 'nodiffmsg' message when no diff found ; 'version1' ; 'version2' to be compared ; 'type' of display

Return values
mixed

Search results