dolibarr 21.0.0-beta
webhook.php File Reference

File to make Ajax action on webhook. More...

Go to the source code of this file.

Functions

if( $action=="getjsonformtrigger") findobjecttosend ($objecttype)
 Find and init a specimen for the given object type.
 

Detailed Description

File to make Ajax action on webhook.

Definition in file webhook.php.

Function Documentation

◆ findobjecttosend()

if($action=="getjsonformtrigger") findobjecttosend ( $objecttype)

Find and init a specimen for the given object type.

Parameters
string$objecttypeObject type to init as a specimen
Returns
CommonObject|false

Definition at line 142 of file webhook.php.

References dol_strtolower(), dol_syslog(), and fetchObjectByElement().