You are here

function _fb_app_query_all in Drupal for Facebook 5

Same name and namespace in other branches
  1. 5.2 fb_app.module \_fb_app_query_all()

Helper function returns a database query for all apps.

3 calls to _fb_app_query_all()
fb_app_fb in ./fb_app.module
hook_fb
fb_app_user in ./fb_app.module
Implementation of hook_user.
fb_user_user in ./fb_user.module
Implementation of hook_user.

File

./fb_app.module, line 358
Defines a custom node type that stores a facebook application configuration.

Code

function _fb_app_query_all() {
  $result = db_query("SELECT fb.*, n.title FROM {fb_app} fb INNER JOIN {node} n ON n.nid=fb.nid WHERE status=1");
  return $result;
}