dolibarr  20.0.0-alpha
Public Member Functions | Private Member Functions | List of all members
ActionsContactCardDefault Class Reference

Default Class to manage contacts. More...

Inheritance diagram for ActionsContactCardDefault:
Inheritance graph
[legend]
Collaboration diagram for ActionsContactCardDefault:
Collaboration graph
[legend]

Public Member Functions

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

Private Member Functions

 getTitle ($action)
 Return the title of card. More...
 

Additional Inherited Members

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

Detailed Description

Default Class to manage contacts.

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

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


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