dolibarr 18.0.6
|
Class with controller methods for product canvas. More...
Public Member Functions | |
__construct ($db, $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_service.class.php.
ActionsCardService::__construct | ( | $db, | |
$targetmodule, | |||
$canvas, | |||
$card ) |
Constructor.
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 57 of file actions_card_service.class.php.
References name.
ActionsCardService::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 81 of file actions_card_service.class.php.
References description, dol_get_fiche_end(), dol_get_fiche_head(), get_htmloutput_errors(), product_prepare_head(), and Product\TYPE_SERVICE.
|
private |
Fetch field list.
Definition at line 220 of file actions_card_service.class.php.
References dol_print_error(), and verifCond().