node_build_content()
by 蘇德宙, 2011-04-30 16:11, 人氣(1390)
function node_build_content($node, $teaser = FALSE, $page = FALSE) {
if (node_hook($node, 'view')) // node_content_view
$node = node_invoke($node, 'view', $teaser, $page);
else
$node = node_prepare($node, $teaser);
$node = node_prepare($node, $teaser);
node_invoke_nodeapi($node, 'view', $teaser, $page);
return $node;
}
}