function _forum_get_topic_order_sql in Drupal 5
Same name and namespace in other branches
- 4 modules/forum.module \_forum_get_topic_order_sql()
- 6 modules/forum/forum.module \_forum_get_topic_order_sql()
1 call to _forum_get_topic_order_sql()
- theme_forum_topic_navigation in modules/
forum/ forum.module - Format the next/previous forum topic navigation links.
File
- modules/
forum/ forum.module, line 1120 - Enable threaded discussions about general topics.
Code
function _forum_get_topic_order_sql($sortby) {
$order = _forum_get_topic_order($sortby);
return $order['field'] . ' ' . $order['sort'];
}