|
dolibarr 21.0.4
|
Class ActionsMyModule. More...


Public Member Functions | |
| __construct ($db) | |
| Constructor. | |
| getNomUrl ($parameters, &$object, &$action) | |
| Execute action. | |
| doActions ($parameters, &$object, &$action, $hookmanager) | |
| Overload the doActions function : replacing the parent's function with the one below. | |
| doMassActions ($parameters, &$object, &$action, $hookmanager) | |
| Overload the doMassActions function : replacing the parent's function with the one below. | |
| addMoreMassActions ($parameters, &$object, &$action, $hookmanager) | |
| Overload the addMoreMassActions function : replacing the parent's function with the one below. | |
| beforePDFCreation ($parameters, &$object, &$action) | |
| Execute action before PDF (document) creation. | |
| afterPDFCreation ($parameters, &$pdfhandler, &$action) | |
| Execute action after PDF (document) creation. | |
| loadDataForCustomReports ($parameters, &$action, $hookmanager) | |
| Overload the loadDataForCustomReports function : returns data to complete the customreport tool. | |
| restrictedArea ($parameters, &$action, $hookmanager) | |
| Overload the restrictedArea function : check permission on an object. | |
| completeTabsHead (&$parameters, &$object, &$action, $hookmanager) | |
| Execute action completeTabsHead. | |
Additional Inherited Members | |
Protected Member Functions inherited from CommonHookActions | |
| isContext ($parameters, $allContexts) | |
| Check context of hook. | |
Class ActionsMyModule.
Definition at line 32 of file actions_mymodule.class.php.
| ActionsMyModule::__construct | ( | $db | ) |
Constructor.
Definition at line 71 of file actions_mymodule.class.php.
| ActionsMyModule::addMoreMassActions | ( | $parameters, | |
| & | $object, | ||
| & | $action, | ||
| $hookmanager ) |
Overload the addMoreMassActions function : replacing the parent's function with the one below.
| array<string,mixed> | $parameters Hook metadata (context, etc...) | |
| CommonObject | $object | The object to process (an invoice if you are in invoice module, a propale in propale's module, etc...) |
| ?string | $action | Current action (if set). Generally create or edit or null |
| HookManager | $hookmanager | Hook manager propagated to allow calling another hook |
Definition at line 174 of file actions_mymodule.class.php.
References $conf.
| ActionsMyModule::afterPDFCreation | ( | $parameters, | |
| & | $pdfhandler, | ||
| & | $action ) |
Execute action after PDF (document) creation.
| array<string,mixed> | $parameters Array of parameters | |
| CommonDocGenerator | $pdfhandler | PDF builder handler |
| string | $action | 'add', 'update', 'view' |
Definition at line 235 of file actions_mymodule.class.php.
References $conf, and dol_syslog().
| ActionsMyModule::beforePDFCreation | ( | $parameters, | |
| & | $object, | ||
| & | $action ) |
Execute action before PDF (document) creation.
| array<string,mixed> | $parameters Array of parameters | |
| CommonObject | $object | Object output on PDF |
| string | $action | 'add', 'update', 'view' |
Definition at line 206 of file actions_mymodule.class.php.
References $conf, and dol_syslog().
| ActionsMyModule::completeTabsHead | ( | & | $parameters, |
| & | $object, | ||
| & | $action, | ||
| $hookmanager ) |
Execute action completeTabsHead.
| array<string,mixed> | $parameters Array of parameters | |
| CommonObject | $object | The object to process (an invoice if you are in invoice module, a propale in propale's module, etc...) |
| string | $action | 'add', 'update', 'view' |
| Hookmanager | $hookmanager | Hookmanager |
Definition at line 340 of file actions_mymodule.class.php.
References $conf, $id, and dol_buildpath().
| ActionsMyModule::doActions | ( | $parameters, | |
| & | $object, | ||
| & | $action, | ||
| $hookmanager ) |
Overload the doActions function : replacing the parent's function with the one below.
| array<string,mixed> | $parameters Hook metadata (context, etc...) | |
| CommonObject | $object | The object to process (an invoice if you are in invoice module, a propale in propale's module, etc...) |
| ?string | $action | Current action (if set). Generally create or edit or null |
| HookManager | $hookmanager | Hook manager propagated to allow calling another hook |
Definition at line 103 of file actions_mymodule.class.php.
References $conf.
| ActionsMyModule::doMassActions | ( | $parameters, | |
| & | $object, | ||
| & | $action, | ||
| $hookmanager ) |
Overload the doMassActions function : replacing the parent's function with the one below.
| array<string,mixed> | $parameters Hook metadata (context, etc...) | |
| CommonObject | $object | The object to process (an invoice if you are in invoice module, a propale in propale's module, etc...) |
| ?string | $action | Current action (if set). Generally create or edit or null |
| HookManager | $hookmanager | Hook manager propagated to allow calling another hook |
Definition at line 138 of file actions_mymodule.class.php.
References $conf.
| ActionsMyModule::getNomUrl | ( | $parameters, | |
| & | $object, | ||
| & | $action ) |
Execute action.
| array<string,mixed> | $parameters Array of parameters | |
| CommonObject | $object | The object to process (an invoice if you are in invoice module, a propale in propale's module, etc...) |
| string | $action | 'add', 'update', 'view' |
Definition at line 87 of file actions_mymodule.class.php.
References $conf.
| ActionsMyModule::loadDataForCustomReports | ( | $parameters, | |
| & | $action, | ||
| $hookmanager ) |
Overload the loadDataForCustomReports function : returns data to complete the customreport tool.
| array<string,mixed> | $parameters Hook metadata (context, etc...) | |
| ?string | $action | Current action (if set). Generally create or edit or null |
| HookManager | $hookmanager | Hook manager propagated to allow calling another hook |
Definition at line 265 of file actions_mymodule.class.php.
References dol_buildpath().
| ActionsMyModule::restrictedArea | ( | $parameters, | |
| & | $action, | ||
| $hookmanager ) |
Overload the restrictedArea function : check permission on an object.
| array<string,mixed> | $parameters Hook metadata (context, etc...) | |
| string | $action | Current action (if set). Generally create or edit or null |
| HookManager | $hookmanager | Hook manager propagated to allow calling another hook |
Definition at line 312 of file actions_mymodule.class.php.