[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/modules/Emails/models/ -> Record.php (summary)

(no description)

File Size: 476 lines (18 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Emails_Record_Model:: (19 methods):
  getDetailViewUrl()
  save()
  send()
  getFromEmailAddress()
  getAttachmentDetails()
  getRelatedDocuments()
  getFormattedFileSize()
  saveDocumentDetails()
  deleteDocumentLink()
  deleteAttachment()
  checkUploadSize()
  getTrackImageDetails()
  isEmailTrackEnabled()
  updateTrackDetails()
  setAccessCountValue()
  getAccessCountValue()
  isSentMail()
  isFromMailManager()
  getEntityType()


Class: Emails_Record_Model  - X-Ref

getDetailViewUrl()   X-Ref
Function to get the Detail View url for the record

return: <String> - Record Detail View Url

save()   X-Ref
Function to save an Email


send()   X-Ref
Function sends mail


getFromEmailAddress()   X-Ref
Returns the From Email address that will be used for the sent mails

return: <String> - from email address

getAttachmentDetails()   X-Ref
Function returns the attachment details for a email

return: <Array> List of attachments

getRelatedDocuments()   X-Ref
Function returns the document details for a email

return: <Array> List of Documents

getFormattedFileSize($filesize)   X-Ref
Function to get File size

param: <Integer> $filesize
return: <String> filesize

saveDocumentDetails()   X-Ref
Function to save details of document and email


deleteDocumentLink($idList = array()   X-Ref
Function which will remove all the exising document links with email

param: <Array> $idList - array of ids

deleteAttachment($emailAttachmentDetails = array()   X-Ref
Function which will delete the existing attachments for the emails

param: <Array> $emailAttachmentDetails - array of value which will be having fileid key as attachement id which need to be deleted

checkUploadSize($documentIds = false)   X-Ref
Function to check the total size of files is morethan max upload size or not

param: <Array> $documentIds
return: <Boolean> true/false

getTrackImageDetails($crmId, $emailTrack = true)   X-Ref
Function to get Track image details

param: <Integer> $crmId
param: <boolean> $emailTrack true/false
return: <String>

isEmailTrackEnabled()   X-Ref
Function check email track enabled or not

return: <boolean> true/false

updateTrackDetails($parentId)   X-Ref
Function to update Email track details

param: <String> $parentId

setAccessCountValue()   X-Ref
Function to set Access count value by default as 0


getAccessCountValue($parentId)   X-Ref
Function to get Access count value

param: <String> $parentId
return: <String>

isSentMail()   X-Ref
Function checks if the mail is sent or not

return: <Boolean>

isFromMailManager()   X-Ref
No description

getEntityType($id)   X-Ref
No description



Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1