dolibarr 19.0.3
|
Class ActionsMyModule. More...
Public Member Functions | |
__construct ($db) | |
Constructor. | |
getNomUrl ($parameters, &$object, &$action) | |
Execute action. | |
doActions ($parameters, &$object, &$action, $hookmanager) | |
Overloading the doActions function : replacing the parent's function with the one below. | |
doMassActions ($parameters, &$object, &$action, $hookmanager) | |
Overloading the doMassActions function : replacing the parent's function with the one below. | |
addMoreMassActions ($parameters, &$object, &$action, $hookmanager) | |
Overloading the addMoreMassActions function : replacing the parent's function with the one below. | |
beforePDFCreation ($parameters, &$object, &$action) | |
Execute action. | |
afterPDFCreation ($parameters, &$pdfhandler, &$action) | |
Execute action. | |
loadDataForCustomReports ($parameters, &$action, $hookmanager) | |
Overloading the loadDataForCustomReports function : returns data to complete the customreport tool. | |
restrictedArea ($parameters, &$action, $hookmanager) | |
Overloading the restrictedArea function : check permission on an object. | |
completeTabsHead (&$parameters, &$object, &$action, $hookmanager) | |
Execute action completeTabsHead. | |
Class ActionsMyModule.
Definition at line 31 of file actions_mymodule.class.php.
ActionsMyModule::__construct | ( | $db | ) |
Constructor.
Definition at line 70 of file actions_mymodule.class.php.
ActionsMyModule::addMoreMassActions | ( | $parameters, | |
& | $object, | ||
& | $action, | ||
$hookmanager ) |
Overloading the addMoreMassActions function : replacing the parent's function with the one below.
array | $parameters | Hook metadatas (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 167 of file actions_mymodule.class.php.
ActionsMyModule::afterPDFCreation | ( | $parameters, | |
& | $pdfhandler, | ||
& | $action ) |
Execute action.
array | $parameters | Array of parameters |
Object | $pdfhandler | PDF builder handler |
string | $action | 'add', 'update', 'view' |
Definition at line 227 of file actions_mymodule.class.php.
References dol_syslog().
ActionsMyModule::beforePDFCreation | ( | $parameters, | |
& | $object, | ||
& | $action ) |
Execute action.
array | $parameters | Array of parameters |
Object | $object | Object output on PDF |
string | $action | 'add', 'update', 'view' |
Definition at line 199 of file actions_mymodule.class.php.
References dol_syslog().
ActionsMyModule::completeTabsHead | ( | & | $parameters, |
& | $object, | ||
& | $action, | ||
$hookmanager ) |
Execute action completeTabsHead.
array | $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 326 of file actions_mymodule.class.php.
References dol_buildpath().
ActionsMyModule::doActions | ( | $parameters, | |
& | $object, | ||
& | $action, | ||
$hookmanager ) |
Overloading the doActions function : replacing the parent's function with the one below.
array | $parameters | Hook metadatas (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 102 of file actions_mymodule.class.php.
ActionsMyModule::doMassActions | ( | $parameters, | |
& | $object, | ||
& | $action, | ||
$hookmanager ) |
Overloading the doMassActions function : replacing the parent's function with the one below.
array | $parameters | Hook metadatas (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 134 of file actions_mymodule.class.php.
ActionsMyModule::getNomUrl | ( | $parameters, | |
& | $object, | ||
& | $action ) |
Execute action.
array | $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 86 of file actions_mymodule.class.php.
ActionsMyModule::loadDataForCustomReports | ( | $parameters, | |
& | $action, | ||
$hookmanager ) |
Overloading the loadDataForCustomReports function : returns data to complete the customreport tool.
array | $parameters | Hook metadatas (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 256 of file actions_mymodule.class.php.
References dol_buildpath().
ActionsMyModule::restrictedArea | ( | $parameters, | |
& | $action, | ||
$hookmanager ) |
Overloading the restrictedArea function : check permission on an object.
array | $parameters | Hook metadatas (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 298 of file actions_mymodule.class.php.