Settings_Mail_Module_Model
extends Settings_Vtiger_Module_Model
in package
Mail module model class.
Tags
Table of Contents
- $baseIndex : mixed
- $baseTable : mixed
- $filterFields : mixed
- $listFields : mixed
- $name : mixed
- getAttachmentInfo() : string
- Function to gets the file info for attachment file.
- getCreateRecordUrl() : string
- Function to get the url for create view of the module.
- getDefaultUrl() : string
- Function to get the url for default view of the module.
- getFilterFields() : mixed
Properties
$baseIndex
public
mixed
$baseIndex
= 'id'
$baseTable
public
mixed
$baseTable
= 's_#__mail_queue'
$filterFields
public
mixed
$filterFields
= ['smtp_id', 'status', 'priority']
$listFields
public
mixed
$listFields
= ['smtp_id' => 'LBL_SMTP_NAME', 'date' => 'LBL_DATE', 'owner' => 'LBL_CREATED_BY', 'subject' => 'LBL_SUBJECT', 'status' => 'LBL_STATUS', 'priority' => 'LBL_PRIORITY', 'error' => 'LBL_ERROR']
$name
public
mixed
$name
= 'Mail'
Methods
getAttachmentInfo()
Function to gets the file info for attachment file.
public
static getAttachmentInfo(int $id, int $selectedFile) : string
Parameters
- $id : int
- $selectedFile : int
Return values
string —URL
getCreateRecordUrl()
Function to get the url for create view of the module.
public
getCreateRecordUrl() : string
Return values
string —URL
getDefaultUrl()
Function to get the url for default view of the module.
public
getDefaultUrl() : string
Return values
string —URL
getFilterFields()
public
getFilterFields() : mixed