DataTables PHP 3.0.2

AbstractChunkOutputBuilder
in package
implements DiffOutputBuilderInterface

AbstractYes

Table of Contents

Interfaces

DiffOutputBuilderInterface
Defines how an output builder should take a generated diff array and return a string representation of that diff.

Methods

getCommonChunks()  : array<int, positive-int>
Takes input of the diff array and returns the common parts.

Methods

getCommonChunks()

Takes input of the diff array and returns the common parts.

protected getCommonChunks(array<string|int, mixed> $diff[, int $lineThreshold = 5 ]) : array<int, positive-int>

Iterates through diff line by line.

Parameters
$diff : array<string|int, mixed>
$lineThreshold : int = 5
Return values
array<int, positive-int>

        
On this page

Search results