All Data Structures Functions Variables Pages
Static Public Member Functions | Static Protected Member Functions
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)
 
- Static Protected Member Functions inherited from BaseModelAutoCompleteUtil
static handleAutoCompleteOptions (&$joinTablesAdapter, &$where, $autoCompleteOptions=null)
 
static sanitizeSearchTerm (&$term)
 

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 148 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 189 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 230 of file ContactSearch.php.

static getWherePartForFullNameSearch (   $fullName)
staticprotected

Gets where part for full name search

Parameters
string$fullName
Returns
string

Definition at line 265 of file ContactSearch.php.


The documentation for this class was generated from the following file:
Generated on Wed May 27 2020 07:10:42