439
edits
m (→Usage) |
|||
| Line 38: | Line 38: | ||
</source> | </source> | ||
'''$hookmanager->executeHooks()''' takes 4 parameters: | '''$hookmanager->executeHooks()''' takes 4 parameters and add a hook (an entry point in your script for external functions): | ||
- ''''hookname'''' is the hook's name as a string (can be anything you want, or you can follow the Dolibarr's nomenclatura, look at the list of hooks below). eg: 'formObjectOptions' | - ''''hookname'''' is the hook's name as a string (can be anything you want, or you can follow the Dolibarr's nomenclatura, look at the list of hooks below). eg: 'formObjectOptions' | ||
edits