dolibarr 20.0.0
|
Class with controller methods for service 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 | |
$object | |
Object container. | |
$tpl = array() | |
Template container. | |
Private Member Functions | |
getFieldListCanvas () | |
Fetch field list. | |
Class with controller methods for service canvas.
Definition at line 30 of file actions_card_service.class.php.
ActionsCardService::__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 88 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 113 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 252 of file actions_card_service.class.php.
References dol_print_error(), and verifCond().