FacturaScripts

InitClass
in package

AbstractYes

Description of InitClass

Table of Contents

Methods

init()  : void
Code to load every time FacturaScripts starts.
uninstall()  : void
Code that is executed when uninstalling a plugin.
update()  : void
Code to load every time the plugin is enabled or updated.
getNamespace()  : string
loadExtension()  : bool
updateTableData()  : void
loadBusinessDocumentExtension()  : bool

Methods

init()

Code to load every time FacturaScripts starts.

public abstract init() : void

uninstall()

Code that is executed when uninstalling a plugin.

public abstract uninstall() : void

update()

Code to load every time the plugin is enabled or updated.

public abstract update() : void

getNamespace()

protected getNamespace() : string
Return values
string

loadExtension()

protected loadExtension(mixed $extension) : bool
Parameters
$extension : mixed
Return values
bool

updateTableData()

protected updateTableData(string $tableName) : void
Parameters
$tableName : string

loadBusinessDocumentExtension()

private loadBusinessDocumentExtension(mixed $extension, array<string|int, mixed> $models) : bool
Parameters
$extension : mixed
$models : array<string|int, mixed>
Return values
bool

        
On this page

Search results