[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/modules/Vtiger/models/ -> DetailView.php (summary)

(no description)

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

Defines 1 class

Vtiger_DetailView_Model:: (11 methods):
  getModule()
  setModule()
  getRecord()
  setRecord()
  getDetailViewLinks()
  getDetailViewRelatedLinks()
  getWidgets()
  getSideBarLinks()
  getModuleLabel()
  getModuleName()
  getInstance()


Class: Vtiger_DetailView_Model  - X-Ref

getModule()   X-Ref
Function to get Module instance

return: <Vtiger_Module_Model>

setModule($moduleInstance)   X-Ref
Function to set the module instance

param: <Vtiger_Module_Model> $moduleInstance - module model
return: Vtiger_DetailView_Model>

getRecord()   X-Ref
Function to get the Record model

return: <Vtiger_Record_Model>

setRecord($recordModuleInstance)   X-Ref
Function to set the record instance3

param: <type> $recordModuleInstance - record model
return: Vtiger_DetailView_Model

getDetailViewLinks($linkParams)   X-Ref
Function to get the detail view links (links and widgets)

param: <array> $linkParams - parameters which will be used to calicaulate the params
return: <array> - array of link models in the format as below

getDetailViewRelatedLinks()   X-Ref
Function to get the detail view related links

return: <array> - list of links parameters

getWidgets()   X-Ref
Function to get the detail view widgets

return: <Array> - List of widgets , where each widget is an Vtiger_Link_Model

getSideBarLinks($linkParams)   X-Ref
Function to get the Quick Links for the Detail view of the module

param: <Array> $linkParams
return: <Array> List of Vtiger_Link_Model instances

getModuleLabel()   X-Ref
Function to get the module label

return: <String> - label

getModuleName()   X-Ref
Function to get the module name

return: <String> - name of the module

getInstance($moduleName,$recordId)   X-Ref
Function to get the instance

param: <String> $moduleName - module name
param: <String> $recordId - record id
return: <Vtiger_DetailView_Model>



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