mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
Merge branch 'feature/new_networkmap' of https://github.com/pandorafms/pandorafms into feature/new_networkmap
This commit is contained in:
commit
496313b2ec
@ -127,4 +127,14 @@ function maps_update_map ($id, $values) {
|
|||||||
$result = db_process_sql_update('tmap', $values, $where);
|
$result = db_process_sql_update('tmap', $values, $where);
|
||||||
return (int)$result;
|
return (int)$result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function maps_add_node ($values) {
|
||||||
|
$result_add_node = db_process_sql_insert('titem', $values);
|
||||||
|
return $result_add_node;
|
||||||
|
}
|
||||||
|
|
||||||
|
function maps_add_node_relationship ($values) {
|
||||||
|
$result_add_node_rel = db_process_sql_insert('trel_item', $values);
|
||||||
|
return $result_add_node_rel;
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user