ActionsCardService
class ActionsCardService (View source)
Class with controller methods for service canvas
Properties
| DoliDB | $db | ||
| string | $dirmodule | ||
| string | $module | ||
| string | $label | ||
| string | $price_base_type | ||
| string | $accountancy_code_sell | ||
| string | $accountancy_code_buy | ||
| string | $targetmodule | ||
| string | $canvas | ||
| string | $card | ||
| string | $name | ||
| string | $definition | ||
| string | $fieldListName | ||
| string | $next_prev_filter | ||
| Product | $object | ||
| $tpl | |||
| $field_list | |||
| string | $id | ||
| string | $ref | ||
| string | $description | ||
| string | $note | ||
| float | $price | ||
| float | $price_min | ||
| string | $error | ||
| string[] | $errors |
Methods
__construct($db, string $dirmodule, $targetmodule, $canvas, $card)
Constructor
assign_values($action, int $id = 0, $ref = '')
Assign custom values for canvas (for example into this->tpl to be used by templates)
Details
__construct($db, string $dirmodule, $targetmodule, $canvas, $card)
Constructor
@param DoliDB $db Database handler
assign_values($action, int $id = 0, $ref = '')
Assign custom values for canvas (for example into this->tpl to be used by templates)
@param string $action Type of action