blog_page
- Versions
- 4.6 – 5
blog_page($a = NULL, $b = NULL)
Menu callback; displays a Drupal page containing recent blog entries.
Code
modules/blog/blog.module, line 106
<?php
function blog_page($a = NULL, $b = NULL) {
if (is_numeric($a)) { // $a is a user ID
if ($b == 'feed') {
return blog_feed_user($a);
}
else {
return blog_page_user($a);
}
}
else if ($a == 'feed') {
return blog_feed_last();
}
else if ($a === NULL) {
return blog_page_last();
}
drupal_not_found();
}
?>Login or register to post comments 