dolibarr  13.0.2
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

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.

References db.

Member Function Documentation

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.

References $_SERVER, dol_get_fiche_end(), dol_get_fiche_head(), ActionsAdherentCardCommon\getObject(), getTitle(), LoadListDatas(), member_prepare_head(), show_actions_done(), and show_actions_todo().

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.

Referenced by assign_values().

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 130 of file actions_adherentcard_default.class.php.

Referenced by assign_values().


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