Documentation

RecordFinder
in package

Mail record finder class.

Table of Contents

$domainCache  : array<string|int, mixed>
Domain cache.
$emailsCache  : array<string|int, mixed>
Emails cache.
$recordNumberCache  : array<string|int, mixed>
Record number cache.
findByDomainField()  : array<string|int, mixed>
Search crm ids by domains field and module name.
findByEmail()  : array<string|int, mixed>
Find email address.
findByEmailField()  : array<string|int, mixed>
Search crm ids by emails field and module name.
findByRecordNumber()  : array<string|int, mixed>
Find record by sequence number field.
findBySubject()  : array<string|int, mixed>
Find email address.
findUserEmail()  : array<string|int, string>
Find user email.
getRecordNumberFromString()  : bool|string|array<string|int, mixed>
Gets the prefix from text.

Properties

$domainCache

Domain cache.

private static array<string|int, mixed> $domainCache = []

$emailsCache

Emails cache.

private static array<string|int, mixed> $emailsCache = []

$recordNumberCache

Record number cache.

private static array<string|int, mixed> $recordNumberCache = []

Methods

findByDomainField()

Search crm ids by domains field and module name.

public static findByDomainField(string $moduleName, array<string|int, string> $fields, array<string|int, string> $emails) : array<string|int, mixed>
Parameters
$moduleName : string
$fields : array<string|int, string>
$emails : array<string|int, string>
Return values
array<string|int, mixed>

findByEmail()

Find email address.

public static findByEmail(mixed $emails, array<string|int, mixed> $modulesFields) : array<string|int, mixed>
Parameters
$emails : mixed
$modulesFields : array<string|int, mixed>
Return values
array<string|int, mixed>

findByEmailField()

Search crm ids by emails field and module name.

public static findByEmailField(string $moduleName, array<string|int, string> $fields, array<string|int, string> $emails) : array<string|int, mixed>
Parameters
$moduleName : string
$fields : array<string|int, string>
$emails : array<string|int, string>
Return values
array<string|int, mixed>

findByRecordNumber()

Find record by sequence number field.

public static findByRecordNumber(array<string|int, mixed> $numbers, string $moduleName, array<string|int, mixed> $fields) : array<string|int, mixed>
Parameters
$numbers : array<string|int, mixed>
$moduleName : string
$fields : array<string|int, mixed>
Return values
array<string|int, mixed>

findBySubject()

Find email address.

public static findBySubject(string $subject, array<string|int, mixed> $modulesFields) : array<string|int, mixed>
Parameters
$subject : string
$modulesFields : array<string|int, mixed>
Return values
array<string|int, mixed>

findUserEmail()

Find user email.

public static findUserEmail(array<string|int, mixed> $emails) : array<string|int, string>
Parameters
$emails : array<string|int, mixed>
Return values
array<string|int, string>

getRecordNumberFromString()

Gets the prefix from text.

public static getRecordNumberFromString(string $value, string $moduleName[, bool $multi = false ]) : bool|string|array<string|int, mixed>
Parameters
$value : string
$moduleName : string
$multi : bool = false
Return values
bool|string|array<string|int, mixed>

        

Search results