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 bool|int | $connectionError | ||
protected Repository | $config | ||
protected Repository | $databaseConfig | ||
protected File | $fileHelper | ||
protected PathUrlResolver | $urlResolver | ||
protected Request | $request |
Methods
No description
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
Get the contents of a URL.
Details
setApplication(Application $application)
Set the application object.
bool
isConnected()
No description
static 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 array
getAvailableMarketplaceItems($filterInstalled = true)
No description
getConnectionError()
No description
string
getSitePageURL()
No description
string
getMarketplaceFrame($width = '100%', $height = '300', $completeURL = false, $connectMethod = 'view')
No description
bool
hasConnectionError()
No description
generateSiteToken()
No description
static
getSiteToken()
No description
string
getSiteURL()
No description
string
getMarketplacePurchaseFrame($mp, $width = '100%', $height = '530')
No description
private string|null
get($url)
Get the contents of a URL.