[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

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

(no description)

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

Defines 1 class

Calendar_Module_Model:: (29 methods):
  getDefaultViewName()
  getCalendarViewName()
  getCalendarViewUrl()
  isSummaryViewSupported()
  getCreateEventRecordUrl()
  getCreateTaskRecordUrl()
  getRelatedListFields()
  getConfigureRelatedListFields()
  getSummaryViewFieldsList()
  getSideBarLinks()
  getImportResultUrl()
  getExportQuery()
  setEventFieldsForExport()
  setTodoFieldsForExport()
  getDetailViewUrl()
  getCaledarSharedUsers()
  getSharedUsersOfCurrentUser()
  getSharedUsersInfoOfCurrentUser()
  getCalendarViewTypes()
  getSharedCalendarViewUrl()
  deleteSharedUsers()
  insertSharedUsers()
  getSharedType()
  getAlphabetSearchField()
  getRecentRecords()
  getCalendarReminder()
  getFieldsByType()
  getSettingLinks()
  getOrderBySql()


Class: Calendar_Module_Model  - X-Ref

Calendar Module Model Class

getDefaultViewName()   X-Ref
Function returns the default view for the Calendar module

return: <String>

getCalendarViewName()   X-Ref
Function returns the calendar view name

return: <String>

getCalendarViewUrl()   X-Ref
Function returns the url for Calendar view

return: <String>

isSummaryViewSupported()   X-Ref
Function to check whether the module is summary view supported

return: <Boolean> - true/false

getCreateEventRecordUrl()   X-Ref
Function returns the URL for creating Events

return: <String>

getCreateTaskRecordUrl()   X-Ref
Function returns the URL for creating Task

return: <String>

getRelatedListFields()   X-Ref
Function that returns related list header fields that will be showed in the Related List View

return: <Array> returns related fields list.

getConfigureRelatedListFields()   X-Ref
Function to get list of field for related list

return: <Array> empty array

getSummaryViewFieldsList()   X-Ref
Function to get list of field for summary view

return: <Array> empty array

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

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

getImportResultUrl()   X-Ref
Function returns the url that shows Calendar Import result

return: <String> url

getExportQuery($focus = '', $where = '')   X-Ref
Function to get export query

return: <String> query;

setEventFieldsForExport()   X-Ref
Function to set event fields for export


setTodoFieldsForExport()   X-Ref
Function to set todo fields for export


getDetailViewUrl($id)   X-Ref
Function to get the url to view Details for the module

return: <String> - url

getCaledarSharedUsers($id)   X-Ref
To get the lists of sharedids

returns: <Array> $sharedids
param: $id --  user id

getSharedUsersOfCurrentUser($id)   X-Ref
To get the lists of sharedids

returns: <Array> $sharedids
param: $id --  user id

getSharedUsersInfoOfCurrentUser($id)   X-Ref
To get the lists of sharedids and colors

returns: <Array> $sharedUsers
param: $id --  user id

getCalendarViewTypes($id)   X-Ref
To get the lists of sharedids and colors

returns: <Array> $sharedUsers
param: $id --  user id

getSharedCalendarViewUrl()   X-Ref
Function returns the url for Shared Calendar view

return: <String>

deleteSharedUsers($currentUserId)   X-Ref
Function to delete shared users

param: type $currentUserId

insertSharedUsers($currentUserId, $sharedIds, $sharedType = FALSE)   X-Ref
Function to insert shared users

param: type $currentUserId
param: type $sharedIds

getSharedType($currentUserId)   X-Ref
Function to get shared type

param: type $currentUserId
param: type $sharedIds

getAlphabetSearchField()   X-Ref
Function to get Alphabet Search Field


getRecentRecords($limit=10)   X-Ref
Function to get the list of recently visisted records

param: <Number> $limit
return: <Array> - List of Calendar_Record_Model

getCalendarReminder()   X-Ref
Function returns Calendar Reminder record models

return: <Array of Calendar_Record_Model>

getFieldsByType($type)   X-Ref
Function gives fields based on the type

param: <String> $type - field type
return: <Array of Vtiger_Field_Model> - list of field models

getSettingLinks()   X-Ref
Function returns Settings Links

return: Array

getOrderBySql($orderBy)   X-Ref
Function to get orderby sql from orderby field




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