// getNodesByType
-//
+// XXX
// Secure
// returns xxx
// getLinkedNodes
-//
+// XXX
+// Secure
// returns XXX
-function getLinkedNodes($node_id,$orderby,$offset,$listing_amount) {
+public static function getLinkedNodes($node_id,$orderby,$offset,$listing_amount) {
global $db;
if ((!is_numeric($node_id))