439
edits
(→Linking Dolibarr objects from two different modules: fix mistake with php object creation) |
|||
| Line 330: | Line 330: | ||
// Crafting a dummy intervention object | // Crafting a dummy intervention object | ||
$fromobject = | $fromobject = new stdClass(); // Init an empty object | ||
$fromobject->id = $sourceid; // We need the id and.. | $fromobject->id = $sourceid; // We need the id and.. | ||
$fromobject->table_element = 'fichinter'; // the table_element (name of the table) | $fromobject->table_element = 'fichinter'; // the table_element (name of the table) | ||
edits