[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

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

(no description)

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

Defines 1 class

Users_Module_Model:: (16 methods):
  getQueryByModuleField()
  searchRecord()
  getAlphabetSearchField()
  getCreateRecordUrl()
  checkDuplicateUser()
  deleteRecord()
  getListViewUrl()
  updateBaseCurrency()
  updateConfigFile()
  insertEntryIntoCRMSetup()
  saveLoginHistory()
  saveLogoutHistory()
  savePackagesInfo()
  getCurrenciesList()
  getTimeZonesList()
  getLanguagesList()


Class: Users_Module_Model  - X-Ref

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

searchRecord($searchValue, $parentId=false, $parentModule=false, $relatedModule=false)   X-Ref
Function searches the records in the module, if parentId & parentModule
is given then searches only those records related to them.

param: <String> $searchValue - Search value
param: <Integer> $parentId - parent recordId
param: <String> $parentModule - parent module name
return: <Array of Users_Record_Model>

getAlphabetSearchField()   X-Ref
Function returns the default column for Alphabetic search

return: <String> columnname

getCreateRecordUrl()   X-Ref
Function to get the url for the Create Record view of the module

return: <String> - url

checkDuplicateUser($userName)   X-Ref
No description

deleteRecord($recordModel)   X-Ref
Function to delete a given record model of the current module

param: Vtiger_Record_Model $recordModel

getListViewUrl()   X-Ref
Function to get the url for list view of the module

return: <string> - url

updateBaseCurrency($currencyName)   X-Ref
Function to update Base Currency of Product

param: - $_REQUEST array

updateConfigFile($currencyName)   X-Ref
Function to update Config file

param: - $_REQUEST array

insertEntryIntoCRMSetup($userId)   X-Ref
Function to get user setup status

return: -is First User or not

saveLoginHistory($username)   X-Ref
Function to store the login history

param: type $username

saveLogoutHistory()   X-Ref
Function to store the logout history

param: type $username

savePackagesInfo($packagesList)   X-Ref
Function to save packages info

param: <type> $packagesList

getCurrenciesList()   X-Ref

return: an array with the list of currencies which are available in source

getTimeZonesList()   X-Ref

return: an array with the list of time zones which are availables in source

getLanguagesList()   X-Ref

return: an array with the list of languages which are available in source



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