InitClass
in package
Description of InitClass
Tags
Table of Contents
- 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
Return values
void —uninstall()
Code that is executed when uninstalling a plugin.
public
abstract uninstall() : void
Return values
void —update()
Code to load every time the plugin is enabled or updated.
public
abstract update() : void
Return values
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
Return values
void —loadBusinessDocumentExtension()
private
loadBusinessDocumentExtension(mixed $extension, array<string|int, mixed> $models) : bool
Parameters
- $extension : mixed
- $models : array<string|int, mixed>