ActionsContactCardDefault
class ActionsContactCardDefault extends ActionsContactCardCommon (View source)
\class ActionsContactCardDefault \brief Default Class to manage contacts
Properties
| DoliDB | $db | from ActionsContactCardCommon | |
| string | $dirmodule | from ActionsContactCardCommon | |
| string | $targetmodule | from ActionsContactCardCommon | |
| string | $canvas | from ActionsContactCardCommon | |
| string | $card | from ActionsContactCardCommon | |
| array<string, mixed> | $tpl | from ActionsContactCardCommon | |
| Contact | $object | from ActionsContactCardCommon | |
| string | $error | from ActionsContactCardCommon | |
| string[] | $errors | from ActionsContactCardCommon |
Methods
assign_values($action, int $id, $ref = '')
Assign custom values for canvas
__construct(DoliDB $db, string $dirmodule, string $targetmodule, string $canvas, string $card)
Constructor
Details
object
getObject($id)
Get object
@param int $id Object id
assign_values($action, int $id, $ref = '')
Assign custom values for canvas
@param string $action Type of action
__construct(DoliDB $db, string $dirmodule, string $targetmodule, string $canvas, string $card)
Constructor