function gauth_account_list in Google Auth 7
Same name and namespace in other branches
- 7.2 gauth.admin.inc \gauth_account_list()
Menu callback; Listing of all current Api accounts.
1 string reference to 'gauth_account_list'
- gauth_menu in ./
gauth.module - Implements hook_menu().
File
- ./
gauth.admin.inc, line 10 - Administration pages for Google OAuth settings.
Code
function gauth_account_list() {
$query = db_select('gauth_accounts', 'ga')
->extend('PagerDefault');
$query
->fields('ga');
$accounts = $query
->limit(25)
->execute();
return theme('gauth_account_list', array(
'accounts' => $accounts,
));
}