dolibarr 21.0.0-alpha
ActionsCardCommon Class Reference

Abstract class to manage third parties. 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)
 

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.
 

Private Member Functions

 assign_post ($action)
 Assign POST values into object.
 

Detailed Description

Abstract class to manage third parties.

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

Member Function Documentation

◆ assign_post()

ActionsCardCommon::assign_post ( $action)
private

Assign POST values into object.

Parameters
string$actionAction string
Returns
void

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

References getCountry(), and GETPOST().

Referenced by assign_values().

◆ 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

Reimplemented in ActionsCardCompany, and ActionsCardIndividual.

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

References assign_post(), 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(), getDolGlobalInt(), getDolGlobalString(), GETPOST(), img_edit(), info_admin(), picto_from_langcode(), Form\selectarray(), societe_prepare_head(), and yn().

◆ getObject()

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.

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


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