[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/modules/Accounts/ -> Accounts.php (summary)

(no description)

File Size: 1648 lines (86 kb)
Included or required: 6 times
Referenced: 0 times
Includes or requires: 1 file
 include/utils/ExportUtils.php

Defines 1 class

Accounts:: (29 methods):
  Accounts()
  save_module()
  get_campaigns()
  get_contacts()
  get_opportunities()
  get_activities()
  get_history()
  get_emails()
  get_quotes()
  get_invoices()
  get_salesorder()
  get_tickets()
  get_products()
  create_export_query()
  getColumnNames_Acnt()
  transferRelatedRecords()
  setRelationTables()
  generateReportsSecQuery()
  getAccountHierarchy()
  __getParentAccounts()
  __getChildAccounts()
  unlinkDependencies()
  unlinkRelationship()
  save_related_module()
  getListButtons()
  get_attachments()
  get_dependents_list()
  get_related_list()
  getRelatedContactsIds()


Class: Accounts  - X-Ref

Accounts()   X-Ref
No description

save_module($module)   X-Ref
No description

get_campaigns($id, $cur_tab_id, $rel_tab_id, $actions=false)   X-Ref
No description

get_contacts($id, $cur_tab_id, $rel_tab_id, $actions=false)   X-Ref
No description

get_opportunities($id, $cur_tab_id, $rel_tab_id, $actions=false)   X-Ref
No description

get_activities($id, $cur_tab_id, $rel_tab_id, $actions=false)   X-Ref
No description

get_history($id)   X-Ref
Function to get Account related Task & Event which have activity type Held, Completed or Deferred.

param: integer   $id      - accountid

get_emails($id, $cur_tab_id, $rel_tab_id, $actions=false)   X-Ref
No description

get_quotes($id, $cur_tab_id, $rel_tab_id, $actions=false)   X-Ref
Function to get Account related Quotes

param: integer   $id      - accountid

get_invoices($id, $cur_tab_id, $rel_tab_id, $actions=false)   X-Ref
Function to get Account related Invoices

param: integer   $id      - accountid

get_salesorder($id, $cur_tab_id, $rel_tab_id, $actions=false)   X-Ref
Function to get Account related SalesOrder

param: integer   $id      - accountid

get_tickets($id, $cur_tab_id, $rel_tab_id, $actions=false)   X-Ref
Function to get Account related Tickets

param: integer   $id      - accountid

get_products($id, $cur_tab_id, $rel_tab_id, $actions=false)   X-Ref
Function to get Account related Products

param: integer   $id      - accountid

create_export_query($where)   X-Ref
No description

getColumnNames_Acnt()   X-Ref
No description

transferRelatedRecords($module, $transferEntityIds, $entityId)   X-Ref
Move the related records of the specified list of id's to the given record.

param: String This module name
param: Array List of Entity Id's from which related records need to be transfered
param: Integer Id of the the Record to which the related records are to be moved

setRelationTables($secmodule)   X-Ref
No description

generateReportsSecQuery($module,$secmodule,$queryPlanner)   X-Ref
No description

getAccountHierarchy($id)   X-Ref
Function to get Account hierarchy of the given Account

param: integer   $id      - accountid

__getParentAccounts($id, &$parent_accounts, &$encountered_accounts)   X-Ref
Function to Recursively get all the upper accounts of a given Account

param: integer   $id              - accountid
param: array   $parent_accounts   - Array of all the parent accounts

__getChildAccounts($id, &$child_accounts, $depth)   X-Ref
Function to Recursively get all the child accounts of a given Account

param: integer   $id              - accountid
param: array   $child_accounts   - Array of all the child accounts
param: integer   $depth          - Depth at which the particular account has to be placed in the hierarchy

unlinkDependencies($module, $id)   X-Ref
No description

unlinkRelationship($id, $return_module, $return_id)   X-Ref
No description

save_related_module($module, $crmid, $with_module, $with_crmids)   X-Ref
No description

getListButtons($app_strings,$mod_strings = false)   X-Ref
No description

get_attachments($id, $cur_tab_id, $rel_tab_id, $actions = false)   X-Ref
No description

get_dependents_list($id, $cur_tab_id, $rel_tab_id, $actions = false)   X-Ref
Function to handle the dependents list for the module.
NOTE: UI type '10' is used to stored the references to other modules for a given record.
These dependent records can be retrieved through this function.
For eg: A trouble ticket can be related to an Account or a Contact.
From a given Contact/Account if we need to fetch all such dependent trouble tickets, get_dependents_list function can be used.


get_related_list($id, $cur_tab_id, $rel_tab_id, $actions = false)   X-Ref
Function to handle the related list for the module.
NOTE: Vtiger_Module::setRelatedList sets reference to this function in vtiger_relatedlists table
if function name is not explicitly specified.


getRelatedContactsIds($id = null)   X-Ref
No description



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