[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/modules/Contacts/models/ -> Module.php (summary)

(no description)

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

Defines 1 class

Contacts_Module_Model:: (6 methods):
  getSideBarLinks()
  getCalendarActivities()
  getSearchRecordsQuery()
  getRelationQuery()
  getQueryByModuleField()
  getDefaultSearchField()


Class: Contacts_Module_Model  - X-Ref

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

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

getCalendarActivities($mode, $pagingModel, $user, $recordId = false)   X-Ref
Function returns the Calendar Events for the module

param: <Vtiger_Paging_Model> $pagingModel
return: <Array>

getSearchRecordsQuery($searchValue, $parentId=false, $parentModule=false)   X-Ref
Function returns query for module record's search

param: <String> $searchValue - part of record name (label column of crmentity table)
param: <Integer> $parentId - parent record id
param: <String> $parentModule - parent module name
return: <String> - query

getRelationQuery($recordId, $functionName, $relatedModule)   X-Ref
Function to get relation query for particular module with function name

param: <record> $recordId
param: <String> $functionName
param: Vtiger_Module_Model $relatedModule
return: <String>

getQueryByModuleField($sourceModule, $field, $record, $listQuery)   X-Ref
Function to get list view query for popup window

param: <String> $sourceModule Parent module
param: <String> $field parent fieldname
param: <Integer> $record parent id
param: <String> $listQuery
return: <String> Listview Query

getDefaultSearchField()   X-Ref
No description



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