[ PHPXref.com ] [ Generated: Sun Jul 20 17:59:13 2008 ] [ GLPI 0.65 ]
[ Index ]     [ Variables ]     [ Functions ]     [ Classes ]     [ Constants ]     [ Statistics ]

title

Body

[close]

/ -> update.php (summary)

(no description)

File Size: 4142 lines (170 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 6 files
 _relpos.php
 glpi/common/functions.php
 glpi/common/classes.php
 glpi/users/classes.php
 glpi/config/based_config.php
 glpi/common/functions_db.php

Defines 1 class

enum:: (10 methods):
  date_diff()
  updateMaintenanceInfos()
  updateWarrantyInfos()
  isMaintenanceUsed()
  dropMaintenanceField()
  update05to051()
  update051to06()
  update06to065()
  updateTreeDropdown()
  showFormSu()

Defines 10 functions

  loadLang()
  compDpd2Device()
  superAdminExists()
  updaterootdoc()
  showContentUpdateForm()
  validate_new_location()
  display_new_locations()
  display_old_locations()
  location_create_new()
  showLocationUpdateForm()
  test_connect()
  changeVarcharToID()
  updateDbTo031()
  updatedbUpTo031()
  update031to04()
  update04to042()
  update042to05()

Interface: enum  - X-Ref

date_diff($from, $to)   X-Ref
No description

updateMaintenanceInfos($table,$type,$ID)   X-Ref
No description

updateWarrantyInfos($table,$type)   X-Ref
No description

isMaintenanceUsed()   X-Ref
No description

dropMaintenanceField()   X-Ref
No description

update05to051()   X-Ref
No description

update051to06()   X-Ref
No description

update06to065()   X-Ref
No description

updateTreeDropdown()   X-Ref
No description

showFormSu()   X-Ref
No description

Functions
Functions that are not part of a class:

loadLang($language)   X-Ref
No description

compDpd2Device($devtype,$devname,$dpdname,$compDpdName,$specif='')   X-Ref
Get data from old dropdowns to new devices

This function assure to keep clean data and integrity, during the change from
computers-dropdown to computers devices. Then delete the unused old elements.

returns: nothing if everything is good, else display mysql query and error.
param: $devtype integer the devtype number
param: $devname string the device table name (end of the name (glpi_device_thisparam))
param: $dpdname string the dropdown table name (end of the name (glpi_dropdown_thisparam))
param: $compDpdName string the name of the dropdown foreign key on glpi_computers (eg : hdtype, processor)
param: $specif string the name of the dropdown value entry on glpi_computer (eg : hdspace, processor_speed) optionnal argument.

superAdminExists()   X-Ref
Test if there is an user with superadmin rights

returns: boolean true if its ok, elsewhere false.

updaterootdoc()   X-Ref
Put the correct root_doc value on glpi_config table.

returns: nothing if everything is right, display query and mysql error if bad.

showContentUpdateForm()   X-Ref
Display the form of content update (addslashes compatibility (V0.4))

returns: nothing (displays)

validate_new_location()   X-Ref
No description

display_new_locations()   X-Ref
No description

display_old_locations()   X-Ref
No description

location_create_new($split_char,$add_first)   X-Ref
No description

showLocationUpdateForm()   X-Ref
No description

test_connect()   X-Ref
No description

changeVarcharToID($table1, $table2, $chps)   X-Ref
No description

updateDbTo031()   X-Ref
No description

updatedbUpTo031()   X-Ref
No description

update031to04()   X-Ref
No description

update04to042()   X-Ref
No description

update042to05()   X-Ref
No description



[ Powered by PHPXref - Served by Debian GNU/Linux ]