dolibarr 21.0.0-beta
commonsocialnetworks.class.php File Reference

File of the superclass of object classes that support socialnetworks. More...

Go to the source code of this file.

Functions

 showSocialNetwork ($socialnetworks, $colspan=4)
 Show social network part if the module is enabled with hiding functionality.
 

Variables

trait CommonSocialNetworks
 Superclass for social networks.
 

Detailed Description

File of the superclass of object classes that support socialnetworks.

Definition in file commonsocialnetworks.class.php.

Function Documentation

◆ showSocialNetwork()

showSocialNetwork ( $socialnetworks,
$colspan = 4 )

Show social network part if the module is enabled with hiding functionality.

Parameters
array<string,array{active:int<0,1>,icon:string,label:string}>$socialnetworks Array of social networks
int$colspanColspan
Returns
void

Definition at line 44 of file commonsocialnetworks.class.php.

References $object, dol_escape_htmltag(), dol_escape_js(), and GETPOST().