[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/pkg/vtiger/modules/EmailTemplates/models/ -> Record.php (summary)

(no description)

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

Defines 1 class

EmailTemplates_Record_Model:: (8 methods):
  getId()
  setId()
  delete()
  deleteAllRecords()
  getEmailTemplateFields()
  getTemplateData()
  getDetailViewUrl()
  getInstanceById()


Class: EmailTemplates_Record_Model  - X-Ref

getId()   X-Ref
Function to get the id of the record

return: <Number> - Record Id

setId($value)   X-Ref
Function to set the id of the record

param: <type> $value - id value
return: <Object> - current instance

delete()   X-Ref
Function to delete the email template

param: type $recordIds

deleteAllRecords()   X-Ref
Function to delete all the email templates

param: type $recordIds

getEmailTemplateFields()   X-Ref
Function to get template fields
To get the fields from module, which has the email field

return: <arrray> template fields

getTemplateData($record)   X-Ref
Function to get the Email Template Record

param: type $record
return: <EmailTemplate_Record_Model>

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

return: <String> - Record Detail View Url

getInstanceById($templateId, $module=null)   X-Ref
Function to get the instance of Custom View module, given custom view id

param: <Integer> $cvId
return: CustomView_Record_Model instance, if exists. Null otherwise



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