dolibarr  7.0.0-beta
Public Member Functions | Public Attributes | Private Member Functions | List of all members
ActionsContactCardCommon Class Reference

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

+ Inheritance diagram for ActionsContactCardCommon:

Public Member Functions

 getObject ($id)
 Get object. More...
 
 doActions (&$action, $id)
 doActions of a canvas is not the doActions of the hook More...
 
 assign_values (&$action, $id)
 Set content of ->tpl array, to use into template. More...
 

Public Attributes

 $tpl = array()
 Template container.
 
 $object
 Object container.
 
 $error
 Error string.
 
 $errors =array()
 Error array.
 

Private Member Functions

 getInstanceDao ()
 Instantiation of DAO class. More...
 
 assign_post ()
 Assign POST values into object. More...
 

Detailed Description

Classe permettant la gestion des contacts par defaut.

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

Member Function Documentation

ActionsContactCardCommon::assign_post ( )
private

Assign POST values into object.

Returns
string HTML output

Definition at line 425 of file actions_contactcard_common.class.php.

References $resql, and dol_print_error().

Referenced by assign_values(), and doActions().

ActionsContactCardCommon::assign_values ( $action,
  $id 
)

Set content of ->tpl array, to use into template.

Parameters
string$actionType of action
int$idId
Returns
string HTML output

Definition at line 238 of file actions_contactcard_common.class.php.

References $error, $errors, $form, assign_post(), dol_buildlogin(), dol_nl2br(), dol_print_email(), dol_print_phone(), dol_strlen(), getRandomPassword(), info_admin(), and picto_from_langcode().

ActionsContactCardCommon::doActions ( $action,
  $id 
)

doActions of a canvas is not the doActions of the hook

Deprecated:
Use the doActions of hooks instead of this.
Parameters
string$actionType of action
int$idId of object
Returns
void

Definition at line 104 of file actions_contactcard_common.class.php.

References $object, assign_post(), and GETPOST().

ActionsContactCardCommon::getInstanceDao ( )
private

Instantiation of DAO class.

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

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

References dol_buildpath(), and dol_syslog().

ActionsContactCardCommon::getObject (   $id)

Get object.

Parameters
int$idObject id
Returns
object Object loaded

Definition at line 80 of file actions_contactcard_common.class.php.

References $object.

Referenced by ActionsContactCardDefault\assign_values().


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