[ Index ]
 

Code source de SugarCRM 5.0.0beta1

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/ModuleInstall/PackageManager/ -> PackageManagerDisplay.php (sommaire)

(pas de description)

Poids: 562 lignes (28 kb)
Inclus ou requis: 7 fois
Référencé: 3 fois
Nécessite: 7 fichiers
 ModuleInstall/PackageManager/ListViewPackages.php
 data/SugarBean.php
 include/utils.php
 include/ytree/Node.php
 include/ytree/Tree.php
 include/Sugar_Smarty.php
 ModuleInstall/PackageManager/PackageManager.php

Définit 1 class

PackageManagerDisplay:: (13 méthodes):
  buildPackageDisplay()
  buildPatchDisplay()
  buildInstalledGrid()
  buildLoginPanel()
  buildGridOutput()
  buildTreeView()
  getLicenseDisplay()
  getDisplayScript()
  createJavascriptPackageArray()
  createJavascriptModuleArray()
  buildLicenseOutput()
  getHeader()
  buildInstallGrid()


Classe: PackageManagerDisplay  - X-Ref

buildPackageDisplay($form1, $hidden_fields, $form_action, $types = array('module')   X-Ref
A Static method to Build the display for the package manager

param: String form1 - the form to display for manual downloading
param: String hidden_fields - the hidden fields related to downloading a package
param: String form_action - the form_action to be used when downloading from the server
param: String types - the types of objects we will request from the server
param: String active_form - the form to display first   
return: String - a string of html which will be used to display the forms

buildPatchDisplay($form1, $hidden_fields, $form_action, $types = array('module')   X-Ref
A Static method to Build the display for the package manager

param: String form1 - the form to display for manual downloading
param: String hidden_fields - the hidden fields related to downloading a package
param: String form_action - the form_action to be used when downloading from the server
param: String types - the types of objects we will request from the server
param: String active_form - the form to display first   
return: String - a string of html which will be used to display the forms

buildInstalledGrid($mod_strings, $types = array('modules')   X-Ref
Pas de description

buildLoginPanel($mod_strings, $display_cancel)   X-Ref
Pas de description

buildGridOutput($tree, $mod_strings, $display = true, $show_login = true)   X-Ref
Build html in order to display the grids relevant for module loader

param: Tree tree - the tree which we are using to display the categories
param: Array mod_strings - the local mod strings to display
return: String - a string of html

buildTreeView($div_id, $isAlive = true)   X-Ref
A Static method used to build the initial treeview when the page is first displayed

param: String div_id - this div in which to display the tree   
return: Tree - the tree that is built

getLicenseDisplay($license_file, $form_action, $next_step, $zipFile, $type, $manifest, $modify_field)   X-Ref
A Static method used to obtain the div for the license

param: String license_file - the path to the license file
param: String form_action - the form action when accepting the license file
param: String next_step - the value for the next step in the installation process
param: String zipFile - a string representing the path to the zip file
param: String type - module/patch....
param: String manifest - the path to the manifest file
param: String modify_field - the field to update when the radio button is changed
return: String - a form used to display the license

getDisplayScript($install = false, $type = 'module', $releases = null, $types = array()   X-Ref
A Static method used to generate the javascript for the page

return: String - the javascript required for the page

createJavascriptPackageArray($releases)   X-Ref
Pas de description

createJavascriptModuleArray($modules, $variable_name = 'mti_data')   X-Ref
Pas de description

buildLicenseOutput($file)   X-Ref
This method is meant to be used to display the license agreement inline on the page
if the system would like to perform the installation on the same page via an Ajax call


getHeader()   X-Ref
Pas de description

buildInstallGrid($view)   X-Ref
Pas de description



Généré le : Tue Sep 11 10:48:47 2007 par Balluche grâce à PHPXref 0.7