Documentation du code de SPIP et de ses plugins

Révisions

DiffTexte
in package

Génération de diff sur un Texte

Table of Contents

Properties

$r  : mixed

Methods

__construct()  : mixed
Constructeur
_diff()  : mixed
ajouter()  : mixed
comparer()  : mixed
deplacer()  : mixed
fuzzy()  : mixed
resultat()  : mixed
segmenter()  : array<string|int, string>
Découper les paragraphes d'un texte en fragments
supprimer()  : mixed

Properties

Methods

__construct()

Constructeur

public __construct() : mixed

_diff()

public _diff(mixed $p, mixed $p_old) : mixed
Parameters
$p : mixed
$p_old : mixed

ajouter()

public ajouter(mixed $p) : mixed
Parameters
$p : mixed

comparer()

public comparer(mixed $p, mixed $p_old) : mixed
Parameters
$p : mixed
$p_old : mixed

deplacer()

public deplacer(mixed $p, mixed $p_old) : mixed
Parameters
$p : mixed
$p_old : mixed

segmenter()

Découper les paragraphes d'un texte en fragments

public segmenter(string $texte) : array<string|int, string>
Parameters
$texte : string

Texte à fragmenter

Return values
array<string|int, string>

Tableau de fragments (paragraphes)

supprimer()

public supprimer(mixed $p_old) : mixed
Parameters
$p_old : mixed

        
On this page

Search results