Documentation

Settings_Mail_Module_Model extends Settings_Vtiger_Module_Model
in package

Mail module model class.

Tags
copyright

YetiForce S.A.

license

YetiForce Public License 6.5 (licenses/LicenseEN.txt or yetiforce.com)

author

Adrian Koń a.kon@yetiforce.com

author

Radosław Skrzypczak r.skrzypczak@yetiforce.com

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
Return values
mixed

        

Search results