Marketplace
class Marketplace implements ApplicationAwareInterface (View source)
Traits
Trait ApplicationAwareTrait A trait used with ApplicationAwareInterface
Constants
| E_INVALID_BASE_URL | 
                     
  | 
            
| E_MARKETPLACE_SUPPORT_MANUALLY_DISABLED | 
                     
  | 
            
| E_UNRECOGNIZED_SITE_TOKEN | 
                     
  | 
            
| E_DELETED_SITE_TOKEN | 
                     
  | 
            
| E_SITE_TYPE_MISMATCH_MULTISITE | 
                     
  | 
            
| E_CONNECTION_TIMEOUT | 
                     
  | 
            
| E_GENERAL_CONNECTION_ERROR | 
                     
  | 
            
Properties
| protected Application | $app | from ApplicationAwareTrait | |
| protected | $isConnected | ||
| protected | $connectionError | ||
| protected Repository | $config | ||
| protected Repository | $databaseConfig | ||
| protected File | $fileHelper | ||
| protected PathUrlResolver | $urlResolver | ||
| protected Request | $request | 
Methods
No description
Get the contents of a URL
No description
No description
Runs through all packages on the marketplace, sees if they're installed here, and updates the available version number for them.
No description
No description
No description
No description
No description
No description
No description
No description
No description
Details
        
                            
    setApplication(Application $application)
        
    
    Set the application object.
        
                            
    isConnected()
        
    
    No description
        
                        private    string|null
    get($url)
        
    
    Get the contents of a URL
        
                static            Marketplace|Marketplace
    getInstance()
        
    
    No description
        
                static            int|mixed|string
    downloadRemoteFile($file)
        
    
    No description
        
                static            
    checkPackageUpdates()
        
    
    Runs through all packages on the marketplace, sees if they're installed here, and updates the available version number for them.
        
                static            
    getAvailableMarketplaceItems($filterInstalled = true)
        
    
    No description
        
                            
    getConnectionError()
        
    
    No description
        
                            
    getSitePageURL()
        
    
    No description
        
                            
    getMarketplaceFrame($width = '100%', $height = '300', $completeURL = false, $connectMethod = 'view')
        
    
    No description
        
                            
    hasConnectionError()
        
    
    No description
        
                            bool|string
    generateSiteToken()
        
    
    No description
        
                static            
    getSiteToken()
        
    
    No description
        
                            
    getSiteURL()
        
    
    No description
        
                            
    getMarketplacePurchaseFrame($mp, $width = '100%', $height = '530')
        
    
    No description