function _hosting_get_clients in Hosting 6.2
Same name and namespace in other branches
- 5 client/hosting_client.module \_hosting_get_clients()
- 7.4 client/hosting_client.module \_hosting_get_clients()
- 7.3 client/hosting_client.module \_hosting_get_clients()
Get 25 clients in a paged query.
1 call to _hosting_get_clients()
- hosting_client_list in client/
hosting_client.module - Make a themed list of clients.
File
- client/
hosting_client.module, line 881
Code
function _hosting_get_clients() {
$return = array();
$result = pager_query(db_rewrite_sql('SELECT n.nid, n.title from {node} n WHERE n.type = "client"'), 25);
while ($client = db_fetch_object($result)) {
$return[$client->nid] = $client->title;
}
return $return;
}