dolibarr 19.0.4
contact.lib.php File Reference

Ensemble de fonctions de base pour les contacts. More...

Go to the source code of this file.

Functions

 contact_prepare_head (Contact $object)
 Prepare array with list of tabs.
 
 show_contacts_projects ($conf, $langs, $db, $object, $backtopage='', $nocreatelink=0, $morehtmlright='')
 Show html area for list of projects.
 

Detailed Description

Ensemble de fonctions de base pour les contacts.

Definition in file contact.lib.php.

Function Documentation

◆ contact_prepare_head()

contact_prepare_head ( Contact $object)

Prepare array with list of tabs.

Parameters
Contact$objectObject related to tabs
Returns
array Array of tabs to show

Definition at line 33 of file contact.lib.php.

References complete_head_from_modules(), Link\count(), dol_dir_list(), dol_getcache(), dol_print_error(), dol_sanitizeFileName(), dol_setcache(), and getDolGlobalString().

Referenced by ActionsContactCardDefault\assign_values().

◆ show_contacts_projects()

show_contacts_projects ( $conf,
$langs,
$db,
$object,
$backtopage = '',
$nocreatelink = 0,
$morehtmlright = '' )

Show html area for list of projects.

Parameters
Conf$confObject conf
Translate$langsObject langs
DoliDB$dbDatabase handler
Object$objectThird party object
string$backtopageUrl to go once contact is created
int$nocreatelink1=Hide create project link
string$morehtmlrightMore html on right of title
Returns
int

Definition at line 170 of file contact.lib.php.

References dol_print_error(), dolGetButtonTitle(), load_fiche_titre(), and price().