dolibarr  9.0.0
Public Member Functions | Private Member Functions | List of all members
ActionsAdherentCardDefault Class Reference

Class allowing the management of the members by default. More...

+ Inheritance diagram for ActionsAdherentCardDefault:
+ Collaboration diagram for ActionsAdherentCardDefault:

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 ActionsAdherentCardCommon
 getObject ($id)
 Get object. 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 ActionsAdherentCardCommon
 $tpl = array()
 Template container.
 
 $object
 Object container.
 

Detailed Description

Class allowing the management of the members by default.

Definition at line 31 of file actions_adherentcard_default.class.php.

Constructor & Destructor Documentation

◆ __construct()

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

Constructor.

Parameters
DoliDB$dbHandler acces data base
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 42 of file actions_adherentcard_default.class.php.

Member Function Documentation

◆ assign_values()

ActionsAdherentCardDefault::assign_values ( $action,
  $id 
)

Assign custom values for canvas.

Parameters
string$actionType of action
int$idId
Returns
void

Definition at line 78 of file actions_adherentcard_default.class.php.

◆ getTitle()

ActionsAdherentCardDefault::getTitle (   $action)
private

Return the title of card.

Parameters
string$actionAction code
Returns
string Title

Definition at line 57 of file actions_adherentcard_default.class.php.

◆ LoadListDatas()

ActionsAdherentCardDefault::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 135 of file actions_adherentcard_default.class.php.


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