class Marketplace (View source)

Constants

E_INVALID_BASE_URL

E_MARKETPLACE_SUPPORT_MANUALLY_DISABLED

E_UNRECOGNIZED_SITE_TOKEN

E_DELETED_SITE_TOKEN

E_GENERAL_CONNECTION_ERROR

Properties

protected $isConnected
protected $connectionError

Methods

__construct()

No description

static 
getInstance()

No description

static 
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

isConnected()

No description

hasConnectionError()

No description

bool|string
generateSiteToken()

No description

static 
getSiteToken()

No description

getMarketplacePurchaseFrame($mp, $width = '100%', $height = '530')

No description

Details

__construct()

No description

static getInstance()

No description

static downloadRemoteFile($file)

No description

Parameters

$file

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

Parameters

$filterInstalled

getConnectionError()

No description

getSitePageURL()

No description

getMarketplaceFrame($width = '100%', $height = '300', $completeURL = false, $connectMethod = 'view')

No description

Parameters

$width
$height
$completeURL
$connectMethod

isConnected()

No description

hasConnectionError()

No description

bool|string generateSiteToken()

No description

Return Value

bool|string

Exceptions

TimeoutException

static getSiteToken()

No description

getMarketplacePurchaseFrame($mp, $width = '100%', $height = '530')

No description

Parameters

$mp
$width
$height