|
dolibarr 21.0.0-beta
|
Default Class to manage contacts. More...


Public Member Functions | |
| __construct ($db, $dirmodule, $targetmodule, $canvas, $card) | |
| Constructor. | |
| assign_values (&$action, $id) | |
| Assign custom values for canvas. | |
Public Member Functions inherited from ActionsContactCardCommon | |
| getObject ($id) | |
| Get object. | |
Private Member Functions | |
| getTitle ($action) | |
| Return the title of card. | |
Default Class to manage contacts.
Definition at line 30 of file actions_contactcard_default.class.php.
| ActionsContactCardDefault::__construct | ( | $db, | |
| $dirmodule, | |||
| $targetmodule, | |||
| $canvas, | |||
| $card ) |
Constructor.
| DoliDB | $db | Handler access base de donnees |
| string | $dirmodule | Name of directory of module |
| string | $targetmodule | Name of directory of module where canvas is stored |
| string | $canvas | Name of canvas |
| string | $card | Name of tab (sub-canvas) |
Definition at line 41 of file actions_contactcard_default.class.php.
| ActionsContactCardDefault::assign_values | ( | & | $action, |
| $id ) |
Assign custom values for canvas.
| string | $action | Type of action |
| int | $id | Id |
Reimplemented from ActionsContactCardCommon.
Definition at line 83 of file actions_contactcard_default.class.php.
References $conf, $id, contact_prepare_head(), dol_get_fiche_end(), dol_get_fiche_head(), ActionsContactCardCommon\getObject(), getTitle(), show_actions_done(), and show_actions_todo().
|
private |
Return the title of card.
| string | $action | Code action |
Definition at line 56 of file actions_contactcard_default.class.php.
References $conf, and getDolGlobalString().
Referenced by assign_values().