Class with controller methods for product canvas.
More...
|
| $tpl = array() |
| Template container.
|
|
Class with controller methods for product canvas.
Definition at line 29 of file actions_card_service.class.php.
◆ __construct()
ActionsCardService::__construct |
( |
|
$db, |
|
|
|
$targetmodule, |
|
|
|
$canvas, |
|
|
|
$card |
|
) |
| |
Constructor.
- Parameters
-
DoliDB | $db | Handler acces base de donnees |
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 58 of file actions_card_service.class.php.
◆ assign_values()
ActionsCardService::assign_values |
( |
& |
$action, |
|
|
|
$id = 0 , |
|
|
|
$ref = '' |
|
) |
| |
Assign custom values for canvas (for example into this->tpl to be used by templates)
- Parameters
-
string | $action | Type of action |
integer | $id | Id of object |
string | $ref | Ref of object |
- Returns
- void
Definition at line 82 of file actions_card_service.class.php.
◆ getFieldListCanvas()
ActionsCardService::getFieldListCanvas |
( |
| ) |
|
|
private |
◆ LoadListDatas()
ActionsCardService::LoadListDatas |
( |
|
$limit, |
|
|
|
$offset, |
|
|
|
$sortfield, |
|
|
|
$sortorder |
|
) |
| |
Fetch datas list and save into ->list_datas.
- Parameters
-
int | $limit | Limit number of responses |
int | $offset | Offset for first response |
string | $sortfield | Sort field |
string | $sortorder | Sort order ('ASC' or 'DESC') |
- Returns
- void
Definition at line 281 of file actions_card_service.class.php.
The documentation for this class was generated from the following file: