\pm_License

Panel license keys management class

Summary

Methods
Properties
Constants
getAdditionalKeysList()
hasAdditionalKey()
getAdditionalKey()
__construct()
getProperties()
getProperty()
getBodyProperty()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A

Properties

Methods

getAdditionalKeysList()

getAdditionalKeysList(null|string  $productName = null) : array

Gets list of additional keys data.

Parameters

null|string $productName

Returns

array

hasAdditionalKey()

hasAdditionalKey(string  $moduleId = null) : boolean

Checks if an additional license key for extension is present

Parameters

string $moduleId

Returns

boolean

getAdditionalKey()

getAdditionalKey(string  $moduleId = null) : null|static

Retrieves an additional key for extension

Parameters

string $moduleId

Returns

null|static

__construct()

__construct(null|string  $keyNumber = null) 

Main license key id will be used if keyNumber is not specified

Parameters

null|string $keyNumber

getProperties()

getProperties() : array

Gets license key's properties.

Throws

\pm_Exception

Returns

array

getProperty()

getProperty(  $propertyName) : null|string|boolean|integer

Gets license key's specified property.

Parameters

$propertyName

Returns

null|string|boolean|integer

getBodyProperty()

getBodyProperty(  $propertyName) : null|string|boolean|integer

Gets license key's specified inner property.

Parameters

$propertyName

Returns

null|string|boolean|integer