dolibarr 19.0.3
ActionsCardService Class Reference

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.
 

Detailed Description

Class with controller methods for service canvas.

Definition at line 29 of file actions_card_service.class.php.

Constructor & Destructor Documentation

◆ __construct()

ActionsCardService::__construct ( $db,
$dirmodule,
$targetmodule,
$canvas,
$card )

Constructor.

Parameters
DoliDB$dbDatabase handler
string$dirmoduleName of directory of module
string$targetmoduleName of directory where canvas is stored
string$canvasName of canvas
string$cardName of tab (sub-canvas)

Definition at line 87 of file actions_card_service.class.php.

References name.

Member Function Documentation

◆ 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$actionType of action
integer$idId of object
string$refRef of object
Returns
void

Definition at line 112 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.

◆ getFieldListCanvas()

ActionsCardService::getFieldListCanvas ( )
private

Fetch field list.

Returns
void

Definition at line 251 of file actions_card_service.class.php.

References dol_print_error(), and verifCond().


The documentation for this class was generated from the following file: