Class with controller methods for product canvas.
More...
|
| __construct ($db, $dirmodule, $targetmodule, $canvas, $card) |
| Constructor. More...
|
|
| assign_values (&$action, $id=0, $ref='') |
| Assign custom values for canvas (for example into this->tpl to be used by templates) More...
|
|
| LoadListDatas ($limit, $offset, $sortfield, $sortorder) |
| Fetch datas list and save into ->list_datas. More...
|
|
|
| $tpl = array() |
| Template container.
|
|
Class with controller methods for product canvas.
Definition at line 29 of file actions_card_product.class.php.
◆ __construct()
ActionsCardProduct::__construct |
( |
|
$db, |
|
|
|
$dirmodule, |
|
|
|
$targetmodule, |
|
|
|
$canvas, |
|
|
|
$card |
|
) |
| |
Constructor.
- Parameters
-
DoliDB | $db | Database handler |
string | $dirmodule | Name of directory of module |
string | $targetmodule | Name of directory where canvas is stored |
string | $canvas | Name of canvas |
string | $card | Name of tab (sub-canvas) |
Definition at line 54 of file actions_card_product.class.php.
◆ assign_values()
ActionsCardProduct::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 78 of file actions_card_product.class.php.
◆ getFieldListCanvas()
ActionsCardProduct::getFieldListCanvas |
( |
| ) |
|
|
private |
◆ LoadListDatas()
ActionsCardProduct::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 296 of file actions_card_product.class.php.
The documentation for this class was generated from the following file: