dolibarr 21.0.3
fediverse.php File Reference

Page to setup fedivers in module Socialnetworks. More...

Go to the source code of this file.

Functions

 _isInBoxListFediverse (int $id, array $boxlist)
 Check if the given fediverse feed if inside the list of boxes/widgets.
 

Variables

if(!isModEnabled('oauth')) else
 @phan-var-force array<string, array{label:string, data-html:string, disable?:int, css?:string}> $oauthservices
 

Detailed Description

Page to setup fedivers in module Socialnetworks.

Definition in file fediverse.php.

Function Documentation

◆ _isInBoxListFediverse()

_isInBoxListFediverse ( int $id,
array $boxlist )

Check if the given fediverse feed if inside the list of boxes/widgets.

Parameters
int$idThe id of the socialnetwork
ModeleBoxes[]$boxlistA list with boxes/widgets
Returns
bool True if the socialnetwork is inside the box/widget list, otherwise false

Definition at line 595 of file fediverse.php.