dolibarr 18.0.6
ActionsContactCardDefault Class Reference

Classe permettant la gestion des contacts par defaut. More...

Inheritance diagram for ActionsContactCardDefault:
Collaboration diagram for ActionsContactCardDefault:

Public Member Functions

 __construct ($db, $dirmodule, $targetmodule, $canvas, $card)
 Constructor.
 
 assign_values (&$action, $id)
 Assign custom values for canvas.
 
- Public Member Functions inherited from ActionsContactCardCommon
 getObject ($id)
 Get object.
 

Private Member Functions

 getTitle ($action)
 Return the title of card.
 

Additional Inherited Members

- Public Attributes inherited from ActionsContactCardCommon
 $tpl = array()
 Template container.
 
 $object
 Object container.
 

Detailed Description

Classe permettant la gestion des contacts par defaut.

Definition at line 30 of file actions_contactcard_default.class.php.

Constructor & Destructor Documentation

◆ __construct()

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

Constructor.

Parameters
DoliDB$dbHandler acces base de donnees
string$dirmoduleName of directory of module
string$targetmoduleName of directory of module where canvas is stored
string$canvasName of canvas
string$cardName of tab (sub-canvas)

Definition at line 41 of file actions_contactcard_default.class.php.

Member Function Documentation

◆ assign_values()

ActionsContactCardDefault::assign_values ( & $action,
$id )

Assign custom values for canvas.

Parameters
string$actionType of action
int$idId
Returns
void

Reimplemented from ActionsContactCardCommon.

Definition at line 83 of file actions_contactcard_default.class.php.

References contact_prepare_head(), dol_get_fiche_end(), dol_get_fiche_head(), ActionsContactCardCommon\getObject(), getTitle(), show_actions_done(), and show_actions_todo().

◆ getTitle()

ActionsContactCardDefault::getTitle ( $action)
private

Return the title of card.

Parameters
string$actionCode action
Returns
string Title

Definition at line 56 of file actions_contactcard_default.class.php.

Referenced by assign_values().


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