modules/Import/ImportDuplicateCheck.php

Show: inherited
Table of Contents

\ImportDuplicateCheck

Package:

Properties

Propertypublic  $_dupedFields= 'array()'
Default valuearray()Details
Type
n/a
Propertyprivate  $_focus= ''

Private reference to the bean we're dealing with

Details
Type
n/a

Methods

methodpublic__construct( object $focus ) : void

Constructor

Parameters
Name Type Description
$focus object

bean

methodprivate_getIndexVardefs( ) : array

Returns an array of indices for the current module

Returns
Type Description
array
methodpublicgetDuplicateCheckIndexedFiles( ) : void

methodpublicgetDuplicateCheckIndexes( ) : array

Returns an array with an element for each index

Returns
Type Description
array
methodpublicisADuplicateRecord( array $indexlist ) : bool

Checks to see if the given bean is a duplicate based off the given indexes

Parameters
Name Type Description
$indexlist array
Returns
Type Description
bool true if this bean is a duplicate or false if it isn't
methodpublicisADuplicateRecordByFields(  $fieldList ) : bool

Checks to see if the given bean is a duplicate based off the given fields

Parameters
Name Type Description
$fieldList
Returns
Type Description
bool true if this bean is a duplicate or false if it isn't
Documentation was generated by DocBlox 0.18.1.