You are here

function favorites_list in Favorites 6

Same name and namespace in other branches
  1. 7.2 favorites.module \favorites_list()
  2. 7 favorites.module \favorites_list()

Generate the "My Favorites" list.

3 calls to favorites_list()
favorites_add_favorite_js in ./favorites.module
AHAH callback for add favorites form.
favorites_block in ./favorites.module
Implements hook_block().
favorites_remove_favorite in ./favorites.module
Deletes a favorite.

File

./favorites.module, line 126
The favorites module allows users to bookmark any path within a site.

Code

function favorites_list() {
  global $user;
  $favorites = favorites_load_favorites($user->uid);
  return theme('favorites', $favorites);
}