Arikaim CMS

ModuleInterface

Module interface

Table of Contents

Methods

boot()  : void
Boot module callback
getConfig()  : array<string|int, mixed>
Get module config
getInstance()  : mixed|null
Get module instance
getModuleName()  : string
Get module name
getTestError()  : string|null
Get etst error
install()  : void
Install module callbaxk
setConfig()  : void
Set module config
setModuleName()  : void
Set module name
test()  : bool
Test module

Methods

getConfig()

Get module config

public getConfig([string|null $key = null ]) : array<string|int, mixed>
Parameters
$key : string|null = null
Return values
array<string|int, mixed>

getInstance()

Get module instance

public getInstance() : mixed|null
Return values
mixed|null

getModuleName()

Get module name

public getModuleName() : string
Return values
string

getTestError()

Get etst error

public getTestError() : string|null
Return values
string|null

setConfig()

Set module config

public setConfig(array<string|int, mixed> $config) : void
Parameters
$config : array<string|int, mixed>

setModuleName()

Set module name

public setModuleName(string $name) : void
Parameters
$name : string

        
On this page

Search results