added get_synapse_weight function
[mirrors/Kyberia-bloodline.git] / wwwroot / inc / smarty / node_methodz / function.get_synapse_weight.php
CommitLineData
186fa4a9 1<?php
2
3// Function for getting synapse weight from actual user to a node
4// used for node setting
5
6function smarty_function_get_synapse_weight($params,&$smarty) {
7
8 global $db,$node;
9
10 $user_id=$_SESSION['user_id'];
11 $node_id=$params['node_id'];
12
13 $synapse_weight=nodes::getSynapseWeight($user_id,$node_id);
14
15 $smarty->assign('synapse_weight',$synapse_weight);
16
17}
18?>
This page took 0.124758 seconds and 4 git commands to generate.