dolibarr  13.0.2
Public Member Functions | Public Attributes | Protected Member Functions | Private Member Functions | List of all members
ActionsCardCommon Class Reference

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

+ Inheritance diagram for ActionsCardCommon:

Public Member Functions

 assign_values (&$action, $id=0, $ref= '')
 Assign custom values for canvas (for example into this->tpl to be used by templates) More...
 

Public Attributes

 $tpl = array()
 Template container.
 
 $object
 Object container.
 

Protected Member Functions

 getObject ($id, $ref= '')
 Get object from id or ref and save it into this->object. More...
 

Private Member Functions

 assign_post ($action)
 Assign POST values into object. More...
 

Detailed Description

Classe permettant la gestion des tiers par defaut.

Definition at line 28 of file actions_card_common.class.php.

Member Function Documentation

ActionsCardCommon::assign_post (   $action)
private

Assign POST values into object.

Parameters
string$actionAction string
Returns
string HTML output

Definition at line 368 of file actions_card_common.class.php.

References getCountry().

Referenced by assign_values().

ActionsCardCommon::assign_values ( $action,
  $id = 0,
  $ref = '' 
)

Assign custom values for canvas (for example into this->tpl to be used by templates)

Parameters
string$actionType of action
integer$idId of object
string$refRef of object
Returns
void

Definition at line 82 of file actions_card_common.class.php.

References assign_post(), db, dol_get_fiche_end(), dol_get_fiche_head(), dol_include_once(), dol_nl2br(), dol_print_email(), dol_print_phone(), dol_print_url(), dol_strlen(), get_htmloutput_errors(), get_htmloutput_mesg(), img_edit(), info_admin(), picto_from_langcode(), Form\selectarray(), societe_prepare_head(), and yn().

ActionsCardCommon::getObject (   $id,
  $ref = '' 
)
protected

Get object from id or ref and save it into this->object.

Parameters
int$idObject id
string$refObject ref
Returns
object Object loaded

Definition at line 64 of file actions_card_common.class.php.

References $object, and db.

Referenced by ActionsCardCompany\assign_values(), ActionsCardIndividual\assign_values(), and ActionsCardIndividual\doActions().


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