menu_node_exists($nid, $mlid)Check to see if a specific nid/mlid combination exists.
$nid The node id.
$mlid The menu link id.
The count of matches (which should be 1 or 0).
./menu_node.module, line 312
<?php
function menu_node_exists($nid, $mlid) {
return db_result(db_query("SELECT COUNT(nid) FROM {menu_node} WHERE nid = %d AND mlid = %d", $nid, $mlid));
}
?>