Turba_View_Duplicates
in package
The Turba_View_Duplicates class provides an interface for displaying and resolving duplicate contacts.
Copyright 2010-2017 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (ASL). If you did not receive this file, see http://www.horde.org/licenses/apache.
Tags
Table of Contents
- $_driver : Turba_Driver
- A Turba_Driver instance.
- $_duplicate : string
- A duplicate value.
- $_duplicates : array<string|int, mixed>
- Hash of Turba_List objects.
- $_type : string
- A field name.
- __construct() : mixed
- Constructor.
- display() : mixed
- Renders this view.
Properties
$_driver
A Turba_Driver instance.
protected
Turba_Driver
$_driver
$_duplicate
A duplicate value.
protected
string
$_duplicate
$_duplicates
Hash of Turba_List objects.
protected
array<string|int, mixed>
$_duplicates
$_type
A field name.
protected
string
$_type
Methods
__construct()
Constructor.
public
__construct(array<string|int, mixed> $duplicates, Turba_Driver $driver[, string $type = null ][, string $duplicate = null ]) : mixed
If the $type and $duplicate parameters are specified, they are used to lookup a single Turba_List from $duplicates with a list of duplicate contacts. The resolution interface for those duplicates is rendered above the overview tables then.
Parameters
- $duplicates : array<string|int, mixed>
-
Hash of Turba_List objects.
- $driver : Turba_Driver
-
A Turba_Driver instance.
- $type : string = null
-
A field name.
- $duplicate : string = null
-
A duplicate value.
Return values
mixed —display()
Renders this view.
public
display() : mixed