ModuleInstall/PackageManager/PackageManagerComm.php
Constants
\PackageManagerComm
Methods


 addDownload(
          \category_id $category_id, \package_id $package_id, \release_id $release_id
          )
        
        :
          \the
addDownload(
          \category_id $category_id, \package_id $package_id, \release_id $release_id
          )
        
        :
          \theAdd a requested download to the queue
| Name | Type | Description | 
|---|---|---|
| $category_id | \category_id | the category_id to fetch | 
| $package_id | \package_id | the package id which the release belongs to | 
| $release_id | \release_id | the release we want to download | 
| Type | Description | 
|---|---|
| \the | filename to download | 


 checkForUpdates(
          \objects_to_check $objects_to_check
          )
        
        :
          array
checkForUpdates(
          \objects_to_check $objects_to_check
          )
        
        :
          arraySend the list of installed objects, could be patches, or modules, .. to the depot and allow the depot to send back a list of corresponding updates
| Name | Type | Description | 
|---|---|---|
| $objects_to_check | \objects_to_check | an array of name_value_lists which contain the appropriate values which will allow the depot to check for updates | 
| Type | Description | 
|---|---|
| array | of name_value_lists of corresponding updates | 


 download(
          \category_id $category_id, \package_id $package_id, \release_id $release_id
          )
        
        :
          \download
download(
          \category_id $category_id, \package_id $package_id, \release_id $release_id
          )
        
        :
          \downloadDownload a given release
| Name | Type | Description | 
|---|---|---|
| $category_id | \category_id | the category_id to fetch | 
| $package_id | \package_id | the package id which the release belongs to | 
| $release_id | \release_id | the release we want to download | 
| Type | Description | 
|---|---|
| \download | 
- See
- \download


 downloadedDocumentation(
          \document_id $document_id
          )
        
        :
          void
downloadedDocumentation(
          \document_id $document_id
          )
        
        :
          voidLog that the user has clicked on a document
| Name | Type | Description | 
|---|---|---|
| $document_id | \document_id | the document the user has clicked on | 


 getCategories(
          \category_id $category_id, \filter $filter
              =
              array()
          )
        
        :
          \categories_and_packages
getCategories(
          \category_id $category_id, \filter $filter
              =
              array()
          )
        
        :
          \categories_and_packagesReturn a list of child categories to the parent specified in category_id
| Name | Type | Description | 
|---|---|---|
| $category_id | \category_id | the parent category_id | 
| $filter | \filter | a filter which will limit theh number of results returned | 
| Type | Description | 
|---|---|
| \categories_and_packages | 
- See
- \categories_and_packages


 getCategoryPackages(
          \category_id $category_id, \filter $filter
              =
              array()
          )
        
        :
          \categories_and_packages
getCategoryPackages(
          \category_id $category_id, \filter $filter
              =
              array()
          )
        
        :
          \categories_and_packagesA generic function which given a category_id some filter will return an object which contains categories and packages
| Name | Type | Description | 
|---|---|---|
| $category_id | \category_id | the category_id to fetch | 
| $filter | \filter | a filter which will limit theh number of results returned | 
| Type | Description | 
|---|---|
| \categories_and_packages | 
- See
- \categories_and_packages


 getDocumentation(
          \package_id $package_id, \release_id $release_id
          )
        
        :
          \documents
getDocumentation(
          \package_id $package_id, \release_id $release_id
          )
        
        :
          \documentsRetrieve documentation for the given release or package
| Name | Type | Description | 
|---|---|---|
| $package_id | \package_id | the specified package to retrieve documentation | 
| $release_id | \release_id | the specified release to retrieve documentation | 
| Type | Description | 
|---|---|
| \documents | 


 getPackages(
          \category_id $category_id, \filter $filter
              =
              array()
          )
        
        :
          \packages
getPackages(
          \category_id $category_id, \filter $filter
              =
              array()
          )
        
        :
          \packagesReturn a list of packages which belong to the parent category_id
| Name | Type | Description | 
|---|---|---|
| $category_id | \category_id | the category_id to fetch | 
| $filter | \filter | a filter which will limit theh number of results returned | 
| Type | Description | 
|---|---|
| \packages | 
- See
- \packages


 getReleases(
          \category_id $category_id, \package_id $package_id,  $filter
              =
              array()
          )
        
        :
          \packages
getReleases(
          \category_id $category_id, \package_id $package_id,  $filter
              =
              array()
          )
        
        :
          \packagesReturn a list of releases belong to a package
| Name | Type | Description | 
|---|---|---|
| $category_id | \category_id | the category_id to fetch | 
| $package_id | \package_id | the package id which the release belongs to | 
| $filter | 
| Type | Description | 
|---|---|
| \packages | 
- See
- \packages


 initialize(
          \login $login
              =
              true
          )
        
        :
          void
initialize(
          \login $login
              =
              true
          )
        
        :
          voidInitialize the soap client and store in the $GLOBALS object for use
| Name | Type | Description | 
|---|---|---|
| $login | \login | designates whether we want to try to login after we initialize or not | 


 isAlive(
          
          )
        
        :
          true
isAlive(
          
          )
        
        :
          truePing the server to determine if we have established proper communication
| Type | Description | 
|---|---|
| true | if we can communicate with the server and false otherwise | 


 login(
           $terms_checked
              =
              true
          )
        
        :
          true
login(
           $terms_checked
              =
              true
          )
        
        :
          trueLogin to the depot
| Name | Type | Description | 
|---|---|---|
| $terms_checked | 
| Type | Description | 
|---|---|
| true | if successful, false otherwise | 


 performDownload(
          \filename $filename
          )
        
        :
          \path
performDownload(
          \filename $filename
          )
        
        :
          \pathCall the PackageManagerDownloader function which uses curl in order to download the specified file
| Name | Type | Description | 
|---|---|---|
| $filename | \filename | the file to download | 
| Type | Description | 
|---|---|
| \path | to downloaded file | 


 Constants
                          Constants
                       Functions
                          Functions
                       Classes
                          Classes
                      