iTx Technologies offre gratuitement
cet espace pour SugarCRM !

title

Body

[fermer]

/include/ -> MassUpdate.php (sommaire)

MassUpdate for ListViews SugarCRM is a customer relationship management program developed by SugarCRM, Inc. Copyright (C) 2004 - 2009 SugarCRM Inc.

Taille du fichier: 1069 lignes (41 kb)
Inclus ou requis: 3 fois
Réferencé: 0 fois
Inclus ou requis: 4 fichiers
 include/EditView/EditView2.php
 include/SearchForm/SearchForm.php
 include/formbase.php
 include/SearchForm/SearchForm2.php

Définit la class 1 class

MassUpdate:: (20 methods):
  setSugarBean()
  getDisplayMassUpdateForm()
  getMassUpdateFormHeader()
  handleMassUpdate()
  getMassUpdateForm()
  getFunctionValue()
  endMassUpdateForm()
  handleRelationship()
  addParent()
  addInputType()
  addGenericModuleID()
  addAccountID()
  addAssignedUserID()
  addStatus()
  addBool()
  addStatusMulti()
  addDate()
  date_to_dateTime()
  checkClearField()
  generateSearchWhere()


Classe: MassUpdate  - X-Ref

MassUpdate class for updating multiple records at once

setSugarBean($sugar)   X-Ref
set the sugar bean to its internal member

param: sugar bean reference

getDisplayMassUpdateForm($bool, $multi_select_popup = false)   X-Ref
get the massupdate form

param: bool boolean need to execute the massupdate form or not
param: multi_select_popup booleanif it is a multi-select value

getMassUpdateFormHeader($multi_select_popup = false)   X-Ref
returns the mass update's html form header

param: multi_select_popup boolean if it is a mult-select or not

handleMassUpdate()   X-Ref
Executes the massupdate form

param: displayname Name to display in the popup window
param: varname name of the variable

getMassUpdateForm()   X-Ref
Displays the massupdate form


getFunctionValue($focus, $vardef)   X-Ref
Aucune description

endMassUpdateForm()   X-Ref
Returns end of the massupdate form


handleRelationship($displayname, $field)   X-Ref
Decides which popup HTML code is needed for mass updating

param: displayname Name to display in the popup window
param: field name of the field to update

addParent($displayname, $field)   X-Ref
Add a parent selection popup window

param: displayname Name to display in the popup window
param: field_name name of the field

addInputType($displayname, $varname)   X-Ref
Add a generic input type='text' field

param: displayname Name to display in the popup window
param: field_name name of the field

addGenericModuleID($displayname, $varname, $id_name='', $mod_type)   X-Ref
Add a generic module popup selection popup window HTML code.
Currently supports Contact and Releases

param: displayname Name to display in the popup window
param: varname name of the variable
param: id_name name of the id in vardef
param: mod_type name of the module, either "Contact" or "Releases" currently

addAccountID($displayname, $varname, $id_name='')   X-Ref
Add Account selection popup window HTML code

param: displayname Name to display in the popup window
param: varname name of the variable
param: id_name name of the id in vardef

addAssignedUserID($displayname, $varname)   X-Ref
Add AssignedUser popup window HTML code

param: displayname Name to display in the popup window
param: varname name of the variable

addStatus($displayname, $varname, $options)   X-Ref
Add Status selection popup window HTML code

param: displayname Name to display in the popup window
param: varname name of the variable
param: options array of options for status

addBool($displayname, $varname)   X-Ref
Add Status selection popup window HTML code

param: displayname Name to display in the popup window
param: varname name of the variable
param: options array of options for status

addStatusMulti($displayname, $varname, $options)   X-Ref
Aucune description

addDate($displayname, $varname)   X-Ref
Add Date selection popup window HTML code

param: displayname Name to display in the popup window
param: varname name of the variable

date_to_dateTime($field, $value)   X-Ref
Aucune description

checkClearField($field, $value)   X-Ref
Aucune description

generateSearchWhere($module, $query)   X-Ref
Aucune description



Generé en: Thu Mar 4 09:44:50 2010 | Cross-referenced par PHPXref 0.7