dolibarr 24.0.0-beta
ActionsQuickMemo Class Reference

Class ActionsQuickMemo. More...

Inheritance diagram for ActionsQuickMemo:
Collaboration diagram for ActionsQuickMemo:

Public Member Functions

 __construct ($db)
 Constructor.
 
 llxFooter ($parameters, &$object, &$action, $hookmanager)
 Overload the llxFooter function : add or replace array of object linkable.
 
 addMoreActionsButtons ($parameters, &$object, &$action, $hookmanager)
 Overload the addHtmlHeader function : add or replace array of object linkable.
 

Additional Inherited Members

- Protected Member Functions inherited from CommonHookActions
 isContext ($parameters, $allContexts)
 Check context of hook.
 

Detailed Description

Class ActionsQuickMemo.

Definition at line 34 of file actions_quickmemo.class.php.

Constructor & Destructor Documentation

◆ __construct()

ActionsQuickMemo::__construct ( $db)

Constructor.

Parameters
DoliDB$dbDatabase handler

Definition at line 73 of file actions_quickmemo.class.php.

Member Function Documentation

◆ addMoreActionsButtons()

ActionsQuickMemo::addMoreActionsButtons ( $parameters,
& $object,
& $action,
$hookmanager )

Overload the addHtmlHeader function : add or replace array of object linkable.

Parameters
array<string,mixed>$parameters Hook metadata (context, etc...)
CommonObject$objectThe object to process (an invoice if you are in invoice module, a propale in propale's module, etc...)
?string$actionCurrent action (if set). Generally create or edit or null
HookManager$hookmanagerHook manager propagated to allow calling another hook
Returns
int Return integer < 0 on error, 0 on success, 1 to replace standard code

Definition at line 125 of file actions_quickmemo.class.php.

References $object, Memo\getMemoContext(), isModEnabled(), and Memo\loadQuickMemoJsInterface().

◆ llxFooter()

ActionsQuickMemo::llxFooter ( $parameters,
& $object,
& $action,
$hookmanager )

Overload the llxFooter function : add or replace array of object linkable.

Parameters
array<string,mixed>$parameters Hook metadata (context, etc...)
CommonObject$objectThe object to process (an invoice if you are in invoice module, a propale in propale's module, etc...)
?string$actionCurrent action (if set). Generally create or edit or null
HookManager$hookmanagerHook manager propagated to allow calling another hook
Returns
int Return integer < 0 on error, 0 on success, 1 to replace standard code

Definition at line 87 of file actions_quickmemo.class.php.

References $context, $object, Memo\getMemoContext(), isModEnabled(), and Memo\loadQuickMemoJsInterface().


The documentation for this class was generated from the following file: