dolibarr  7.0.0-beta
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

 doActions (&$action)
 doActions of a canvas is not the doActions of the hook More...
 
 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.
 
 $error
 Error string.
 
 $errors =array()
 Error array.
 

Protected Member Functions

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

Private Member Functions

 getInstanceDao ()
 Instantiation of DAO class. More...
 
 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 660 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 363 of file actions_card_common.class.php.

References $form, 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(), img_edit(), info_admin(), picto_from_langcode(), Form\selectarray(), societe_prepare_head(), and yn().

ActionsCardCommon::doActions ( $action)

doActions of a canvas is not the doActions of the hook

Deprecated:
Use the doActions of hooks instead of this.
Parameters
int$actionAction code
Returns
void

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

References $error, $object, dol_getIdFromCode(), dol_print_error(), dol_syslog(), GETPOST(), isValidUrl(), and thirdparty_doc_create().

ActionsCardCommon::getInstanceDao ( )
private

Instantiation of DAO class.

Returns
int 0
Deprecated:
Using getInstanceDao should not be used.

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

References dol_buildpath(), and dol_syslog().

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

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

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

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

References $object.

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


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