ModuleInstall/PackageManager/PackageController.php

Show: inherited
Table of Contents

\PackageController

Package:

Properties

Propertypublic  $_pm= ''
Details
Type
n/a

Methods

methodpublicPackageController( ) : void

Constructor: this class is called from the the ajax call and handles invoking the correct functionality on the server.

methodpublicauthenticate( ) : void

methodpubliccheckForUpdates( ) : array

Check the SugarDepot for updates for the given type as passed in via POST

Returns
Type Description
array return an array of releases for each given installed object if an update is found
methodpublicdownload( ) : bool

Download the given release

Returns
Type Description
bool true is successful in downloading, false otherwise
methodpublicdownloadedDocumentation( ) : void

methodpublicgetCategories( ) : array

Retrieve a list of categories that are subcategories to the selected category

Returns
Type Description
array - a list of categories/nodes which are underneath this node
methodpublicgetDocumentation( ) : void

methodpublicgetLicenseText( ) : void

methodpublicgetNodes( ) : void

methodpublicgetPackages( ) : \packages

Retrieve a list of packages which belong to the corresponding category

Returns
Type Description
\packages xml string consisting of the packages and releases which belong to the category
methodpublicgetPackagesInStaging( ) : void

build the list of modules that are currently in the staging area waiting to be installed

methodpublicgetPromotion( ) : void

Obtain a promotion from the depot

methodpublicgetReleases( ) : void

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

methodpublicperformBasicSearch( ) : void

methodpublicperformInstall( ) : void

build the list of modules that are currently in the staging area waiting to be installed

methodpublicremove( ) : void

methodprotectedrmMetaFile( \unknown_type $file, \unknown_type $meta ) : void

Remove metadata files such as foo-manifest Enter description here ...

Parameters
Name Type Description
$file \unknown_type
$meta \unknown_type
Documentation was generated by DocBlox 0.18.1.