|
dolibarr
13.0.2
|
Classe permettant la gestion des contacts par defaut. More...
Inheritance diagram for ActionsContactCardDefault:
Collaboration diagram for ActionsContactCardDefault:Public Member Functions | |
| __construct ($db, $dirmodule, $targetmodule, $canvas, $card) | |
| Constructor. More... | |
| assign_values (&$action, $id) | |
| Assign custom values for canvas. More... | |
| LoadListDatas ($limit, $offset, $sortfield, $sortorder) | |
| Fetch datas list and save into ->list_datas. More... | |
Public Member Functions inherited from ActionsContactCardCommon | |
| getObject ($id) | |
| Get object. More... | |
| assign_values (&$action, $id) | |
| Set content of ->tpl array, to use into template. More... | |
Private Member Functions | |
| getTitle ($action) | |
| Return the title of card. More... | |
Additional Inherited Members | |
Public Attributes inherited from ActionsContactCardCommon | |
| $tpl = array() | |
| Template container. | |
| $object | |
| Object container. | |
Classe permettant la gestion des contacts par defaut.
Definition at line 30 of file actions_contactcard_default.class.php.
| ActionsContactCardDefault::__construct | ( | $db, | |
| $dirmodule, | |||
| $targetmodule, | |||
| $canvas, | |||
| $card | |||
| ) |
Constructor.
| DoliDB | $db | Handler acces 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.
References db.
| ActionsContactCardDefault::assign_values | ( | & | $action, |
| $id | |||
| ) |
Assign custom values for canvas.
| string | $action | Type of action |
| int | $id | Id |
Definition at line 77 of file actions_contactcard_default.class.php.
References $_SERVER, contact_prepare_head(), dol_get_fiche_end(), dol_get_fiche_head(), ActionsContactCardCommon\getObject(), getTitle(), LoadListDatas(), 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.
Referenced by assign_values().
| ActionsContactCardDefault::LoadListDatas | ( | $limit, | |
| $offset, | |||
| $sortfield, | |||
| $sortorder | |||
| ) |
Fetch datas list and save into ->list_datas.
| int | $limit | Limit number of responses |
| int | $offset | Offset for first response |
| string | $sortfield | Sort field |
| string | $sortorder | Sort order ('ASC' or 'DESC') |
Definition at line 132 of file actions_contactcard_default.class.php.
Referenced by assign_values().