|
dolibarr
13.0.2
|
Class allowing the management of the members by default. More...
Inheritance diagram for ActionsAdherentCardDefault:
Collaboration diagram for ActionsAdherentCardDefault: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 ActionsAdherentCardCommon | |
| 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 ActionsAdherentCardCommon | |
| $tpl = array() | |
| Template container. | |
| $object | |
| Object container. | |
Class allowing the management of the members by default.
Definition at line 31 of file actions_adherentcard_default.class.php.
| ActionsAdherentCardDefault::__construct | ( | $db, | |
| $dirmodule, | |||
| $targetmodule, | |||
| $canvas, | |||
| $card | |||
| ) |
Constructor.
| DoliDB | $db | Handler acces data base |
| 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 42 of file actions_adherentcard_default.class.php.
References db.
| ActionsAdherentCardDefault::assign_values | ( | & | $action, |
| $id | |||
| ) |
Assign custom values for canvas.
| string | $action | Type of action |
| int | $id | Id |
Definition at line 78 of file actions_adherentcard_default.class.php.
References $_SERVER, dol_get_fiche_end(), dol_get_fiche_head(), ActionsAdherentCardCommon\getObject(), getTitle(), LoadListDatas(), member_prepare_head(), show_actions_done(), and show_actions_todo().
|
private |
Return the title of card.
| string | $action | Action code |
Definition at line 57 of file actions_adherentcard_default.class.php.
Referenced by assign_values().
| ActionsAdherentCardDefault::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 130 of file actions_adherentcard_default.class.php.
Referenced by assign_values().