[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

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

(no description)

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

Defines 1 class

Potentials_Module_Model:: (11 methods):
  getSideBarLinks()
  getPotentialsCountBySalesStage()
  getPotentialsCountBySalesPerson()
  getPotentialsPipelinedAmountPerSalesPerson()
  getTotalRevenuePerSalesPerson()
  getTopPotentials()
  getForecast()
  getRelationQuery()
  getPotentialTotalAmountBySalesStage()
  getQueryByModuleField()
  getSearchRecordsQuery()


Class: Potentials_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

getPotentialsCountBySalesStage($owner, $dateFilter)   X-Ref
Function returns number of Open Potentials in each of the sales stage

param: <Integer> $owner - userid
return: <Array>

getPotentialsCountBySalesPerson()   X-Ref
Function returns number of Open Potentials for each of the sales person

param: <Integer> $owner - userid
return: <Array>

getPotentialsPipelinedAmountPerSalesPerson()   X-Ref
Function returns Potentials Amount for each Sales Person

return: <Array>

getTotalRevenuePerSalesPerson($dateFilter)   X-Ref
Function returns Total Revenue for each Sales Person

return: <Array>

getTopPotentials($pagingModel)   X-Ref
Function returns Top Potentials

return: <Array of Vtiger_Record_Model>

getForecast($closingdateFilter,$dateFilter)   X-Ref
Function returns Potentials Forecast Amount

return: <Array>

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>

getPotentialTotalAmountBySalesStage()   X-Ref
Function returns Potentials Amount for each Sales Stage

return: <Array>

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

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



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