FacturaScripts

InitClass
in package

Description of InitClass

Tags
author

Carlos García Gómez [email protected]

Table of Contents

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

Methods

init()

Code to load every time FacturaScripts starts.

public abstract init() : mixed
Return values
mixed

uninstall()

Code that is executed when uninstalling a plugin.

public uninstall() : mixed
Return values
mixed

update()

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

public abstract update() : mixed
Return values
mixed

getNamespace()

protected getNamespace() : string
Return values
string

loadExtension()

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

updateTableData()

protected updateTableData(string $tableName) : mixed
Parameters
$tableName : string
Return values
mixed

loadBusinessDocumentExtension()

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

Search results