dolibarr  7.0.0-beta
Public Member Functions | Private Member Functions | List of all members
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. More...
 
 assign_values (&$action, $id)
 Assign custom values for canvas. More...
 
 LoadListDatas ($limit, $offset, $sortfield, $sortorder)
 Fetch datas list and save into ->list_datas. More...
 
- Public Member Functions inherited from ActionsContactCardCommon
 getObject ($id)
 Get object. More...
 
 doActions (&$action, $id)
 doActions of a canvas is not the doActions of the hook More...
 
 assign_values (&$action, $id)
 Set content of ->tpl array, to use into template. 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.
 
 $error
 Error string.
 
 $errors =array()
 Error array.
 

Detailed Description

Classe permettant la gestion des contacts par defaut.

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

Constructor & Destructor Documentation

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

ActionsContactCardDefault::assign_values ( $action,
  $id 
)
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().

ActionsContactCardDefault::LoadListDatas (   $limit,
  $offset,
  $sortfield,
  $sortorder 
)

Fetch datas list and save into ->list_datas.

Parameters
int$limitLimit number of responses
int$offsetOffset for first response
string$sortfieldSort field
string$sortorderSort order ('ASC' or 'DESC')
Returns
void

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

Referenced by assign_values().


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