|
dolibarr 18.0.8
|
Class with controller methods for product canvas. More...
Public Member Functions | |
| __construct ($db, $dirmodule, $targetmodule, $canvas, $card) | |
| Constructor. | |
| assign_values (&$action, $id=0, $ref='') | |
| Assign custom values for canvas (for example into this->tpl to be used by templates) | |
Public Attributes | |
| $tpl = array() | |
| Template container. | |
Private Member Functions | |
| getFieldListCanvas () | |
| Fetch field list. | |
Class with controller methods for product canvas.
Definition at line 29 of file actions_card_product.class.php.
| ActionsCardProduct::__construct | ( | $db, | |
| $dirmodule, | |||
| $targetmodule, | |||
| $canvas, | |||
| $card ) |
Constructor.
| 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 53 of file actions_card_product.class.php.
References name.
| ActionsCardProduct::assign_values | ( | & | $action, |
| $id = 0, | |||
| $ref = '' ) |
Assign custom values for canvas (for example into this->tpl to be used by templates)
| string | $action | Type of action |
| integer | $id | Id of object |
| string | $ref | Ref of object |
Definition at line 77 of file actions_card_product.class.php.
References description, dol_get_fiche_end(), dol_get_fiche_head(), get_htmloutput_errors(), measuringUnitString(), product_prepare_head(), and Product\TYPE_SERVICE.
|
private |
Fetch field list.
Definition at line 234 of file actions_card_product.class.php.
References dol_print_error(), and verifCond().