OSSMailScanner_BindCampaigns_ScannerAction
extends OSSMailScanner_PrefixScannerAction_Model
in package
Mail scanner action bind Campaigns.
Table of Contents
- $mail : OSSMail_Mail_Model
- $moduleName : string
- Module name.
- $prefix : mixed
- $tableColumn : string
- Table column.
- $tableName : string
- Table name.
- findAndBind() : bool|int|array<string|int, mixed>
- Find and bind.
- findRecord() : int|null
- Find record by prefix.
- process() : array<string|int, mixed>
- Process.
- add() : array<string|int, mixed>
- Add.
- addByBody() : array<string|int, mixed>
- Add by body.
Properties
public
OSSMail_Mail_Model
$mail
Mail instance
$moduleName
Module name.
public
string
$moduleName
= 'Campaigns'
$prefix
public
mixed
$prefix
$tableColumn
Table column.
public
string
$tableColumn
= 'campaign_no'
$tableName
Table name.
public
string
$tableName
= 'vtiger_campaign'
Methods
findAndBind()
Find and bind.
public
findAndBind() : bool|int|array<string|int, mixed>
Return values
bool|int|array<string|int, mixed> —findRecord()
Find record by prefix.
public
findRecord() : int|null
Return values
int|null —process()
Process.
public
process(OSSMail_Mail_Model $mail) : array<string|int, mixed>
Parameters
- $mail : OSSMail_Mail_Model
Return values
array<string|int, mixed> —add()
Add.
protected
add() : array<string|int, mixed>
Return values
array<string|int, mixed> —addByBody()
Add by body.
protected
addByBody() : array<string|int, mixed>