[ Index ] |
|
Code source de SugarCRM 5.0.0beta1 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 381 lignes (17 kb) |
Inclus ou requis: | 1 fois |
Référencé: | 1 fois |
Nécessite: | 3 fichiers include/json_config.php ModuleInstall/PackageManager/PackageManagerDisplay.php ModuleInstall/PackageManager/PackageManager.php |
PackageController:: (16 méthodes):
PackageController()
performBasicSearch()
getPackages()
getReleases()
getPromotion()
download()
getCategories()
getNodes()
checkForUpdates()
getLicenseText()
getPackagesInStaging()
performInstall()
authenticate()
getDocumentation()
downloadedDocumentation()
remove()
Classe: PackageController - X-Ref
PackageController() X-Ref |
Constructor: this class is called from the the ajax call and handles invoking the correct functionality on the server. |
performBasicSearch() X-Ref |
Pas de description |
getPackages() X-Ref |
Retrieve a list of packages which belong to the corresponding category param: category_id this is passed via POST and is the category id of packages return: packages xml string consisting of the packages and releases which belong to |
getReleases() X-Ref |
Obtain a list of releases from the server. This function is currently used for generating the patches/langpacks for upgrade wizard as well as during installation |
getPromotion() X-Ref |
Obtain a promotion from the depot |
download() X-Ref |
Download the given release param: category_id this is passed via POST and is the category id of the release we wish to download param: package_id this is passed via POST and is the package id of the release we wish to download param: release_id this is passed via POST and is the release id of the release we wish to download return: bool true is successful in downloading, false otherwise |
getCategories() X-Ref |
Retrieve a list of categories that are subcategories to the selected category param: id - the id of the parent_category, -1 if this is the root return: array - a list of categories/nodes which are underneath this node |
getNodes() X-Ref |
Pas de description |
checkForUpdates() X-Ref |
Check the SugarDepot for updates for the given type as passed in via POST param: type the type to check for return: array return an array of releases for each given installed object if an update is found |
getLicenseText() X-Ref |
Pas de description |
getPackagesInStaging() X-Ref |
build the list of modules that are currently in the staging area waiting to be installed |
performInstall() X-Ref |
build the list of modules that are currently in the staging area waiting to be installed |
authenticate() X-Ref |
Pas de description |
getDocumentation() X-Ref |
Pas de description |
downloadedDocumentation() X-Ref |
Pas de description |
remove() X-Ref |
Pas de description |
Généré le : Tue Sep 11 10:48:47 2007 | par Balluche grâce à PHPXref 0.7 |