dolibarr  19.0.0-dev
Public Member Functions | Public Attributes | Private Member Functions | List of all members
ActionsCardProduct Class Reference

Class with controller methods for product canvas. More...

Public Member Functions

 __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...
 

Public Attributes

 $tpl = array()
 Template container.
 

Private Member Functions

 getFieldListCanvas ()
 Fetch field list. More...
 

Detailed Description

Class with controller methods for product canvas.

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

Constructor & Destructor Documentation

◆ __construct()

ActionsCardProduct::__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 53 of file actions_card_product.class.php.

Member Function Documentation

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

Definition at line 77 of file actions_card_product.class.php.

◆ getFieldListCanvas()

ActionsCardProduct::getFieldListCanvas ( )
private

Fetch field list.

Returns
void

Definition at line 234 of file actions_card_product.class.php.


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