\pm_Extension

Extension wrapper

Summary

Methods
Properties
Constants
getId()
getName()
getVersion()
getRelease()
isActive()
getExtensions()
getById()
installById()
installByUrl()
installByFile()
uninstall()
enable()
disable()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A

Methods

getId()

getId() : integer

Retrieve extension id

Returns

integer

getName()

getName() : string

Retrieve extension name

Returns

string

getVersion()

getVersion() : string

Retrieve extension version

Returns

string

getRelease()

getRelease() : string

Retrieve extension release

Returns

string

isActive()

isActive() : boolean

Retrieve extension activity state

Returns

boolean

getExtensions()

getExtensions() : array<mixed,\pm_Extension>

Retrieve all installed extensions

Returns

array<mixed,\pm_Extension>

getById()

getById(string  $id) : \pm_Extension

Get extension by identifier

Parameters

string $id

Returns

\pm_Extension

installById()

installById(string  $id) : \pm_Extension

Install extension by identifier

Parameters

string $id

Throws

\pm_Exception

Returns

\pm_Extension

installByUrl()

installByUrl(string  $url) : \pm_Extension

Install extension by URL

Parameters

string $url

Throws

\pm_Exception

Returns

\pm_Extension

installByFile()

installByFile(string  $file) : \pm_Extension

Install extension by file

Parameters

string $file

Throws

\pm_Exception

Returns

\pm_Extension

uninstall()

uninstall() 

Uninstall the extension

Throws

\pm_Exception

enable()

enable() 

Enable the extension

Throws

\pm_Exception

disable()

disable() 

Disable the extension

Throws

\pm_Exception