ContactSearch Class Reference

Inheritance diagram for ContactSearch:
BaseModelAutoCompleteUtil

Static Public Member Functions

static getContactsByPartialFullName ($partialName, $pageSize, $stateMetadataAdapterClassName=null, $autoCompleteOptions=null)
static getContactsByPartialFullNameOrAnyEmailAddress ($partialNameOrEmailAddress, $pageSize, $stateMetadataAdapterClassName=null, $operatorType=null, $autoCompleteOptions=null)
static getContactsByAnyEmailAddress ($emailAddress, $pageSize=null, $stateMetadataAdapterClassName=null, $autoCompleteOptions=null)
static getContactsByAnyPhone ($phoneNumber, $pageSize=null, $stateMetadataAdapterClassName=null, $autoCompleteOptions=null)
static getContactsByFullName ($fullName, $pageSize, $stateMetadataAdapterClassName=null, $autoCompleteOptions=null)

Static Protected Member Functions

static getWherePartForPartialNameSearchByPartialName ($partialName)
static getWherePartForFullNameSearch ($fullName)

Detailed Description

Definition at line 37 of file ContactSearch.php.


Member Function Documentation

static getContactsByPartialFullName ( partialName,
pageSize,
stateMetadataAdapterClassName = null,
autoCompleteOptions = null 
) [static]

For a give Contact name, run a partial search by full name and retrieve contact models.

Parameters:
string $partialName
int $pageSize
null|string $stateMetadataAdapterClassName
null|string $autoCompleteOptions

Definition at line 47 of file ContactSearch.php.

static getContactsByPartialFullNameOrAnyEmailAddress ( partialNameOrEmailAddress,
pageSize,
stateMetadataAdapterClassName = null,
operatorType = null,
autoCompleteOptions = null 
) [static]

For a give Contact name or email address, run a partial search by full name and email address and retrieve contact models.

Parameters:
string $partialNameOrEmailAddress
int $pageSize
null|string $stateMetadataAdapterClassName
null|string $operatorType
null|string $autoCompleteOptions

Definition at line 86 of file ContactSearch.php.

static getContactsByAnyEmailAddress ( emailAddress,
pageSize = null,
stateMetadataAdapterClassName = null,
autoCompleteOptions = null 
) [static]

For a given email address, run search by email address and retrieve contact models.

Parameters:
string $emailAddress
null|int $pageSize
null|string $stateMetadataAdapterClassName
null|string $autoCompleteOptions

Definition at line 147 of file ContactSearch.php.

static getContactsByAnyPhone ( phoneNumber,
pageSize = null,
stateMetadataAdapterClassName = null,
autoCompleteOptions = null 
) [static]

For a given phone number, run search by phone numbers and retrieve contact models.

Parameters:
string $phoneNumber
null|int $pageSize
null|string $stateMetadataAdapterClassName
null|string $autoCompleteOptions

Definition at line 188 of file ContactSearch.php.

static getContactsByFullName ( fullName,
pageSize,
stateMetadataAdapterClassName = null,
autoCompleteOptions = null 
) [static]

For a give Contact name, run a full search by full name and retrieve contact models. This is required in case we are importing the data for contacts and search is performed for exact full name to identify the duplicates

Parameters:
string $fullName
int $pageSize
null|string $stateMetadataAdapterClassName
null|string $autoCompleteOptions

Definition at line 229 of file ContactSearch.php.

static getWherePartForFullNameSearch ( fullName  )  [static, protected]

Gets where part for full name search

Parameters:
string $fullName
Returns:
string

Definition at line 264 of file ContactSearch.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu May 25 07:10:23 2017