MailEntitiesDiskHelper
FinalYes
Table of Contents
Methods
- __construct() : mixed
- getArFileIds() : array<int, int>
- returns an array of id for mail activity
- getAttachToFileIds() : array<int, int>
- returns an array of mail activity attached files ids that need to be replaced in the body of the letter
- getTemplateArFileIds() : array<int, int>
- returns an array of id for mail template
- getTemplateAttachToFileIds() : array<int, int>
- returns an array of mail activity attached files ids that need to be replaced in the body of the letter
- prepareCrmEntitiesFiles() : void
- prepares arFileIds and attachToFileIds for provided mail crm entities files
Methods
__construct()
public
__construct(array<string|int, int|string> $diskFiles[, bool $saveAsTemplate = false ][, array<string|int, int|string> $filesWithoutPermissionCheck = [] ]) : mixed
Parameters
- $diskFiles : array<string|int, int|string>
- $saveAsTemplate : bool = false
- $filesWithoutPermissionCheck : array<string|int, int|string> = []
getArFileIds()
returns an array of id for mail activity
public
getArFileIds() : array<int, int>
Return values
array<int, int> —- original file id => copied file id
getAttachToFileIds()
returns an array of mail activity attached files ids that need to be replaced in the body of the letter
public
getAttachToFileIds() : array<int, int>
Return values
array<int, int> —- copied file id => original file id
getTemplateArFileIds()
returns an array of id for mail template
public
getTemplateArFileIds() : array<int, int>
Return values
array<int, int> —- original file id => copied file id
getTemplateAttachToFileIds()
returns an array of mail activity attached files ids that need to be replaced in the body of the letter
public
getTemplateAttachToFileIds() : array<int, int>
Return values
array<int, int> —- copied file id => original file id
prepareCrmEntitiesFiles()
prepares arFileIds and attachToFileIds for provided mail crm entities files
public
prepareCrmEntitiesFiles() : void