drupal_client_page
- Versions
- 4.7 – 5
drupal_client_page($sort = 'name')
Formats a list of all clients.
This function may be called from a custom page on sites that are Drupal directory servers.
Code
modules/drupal/drupal.module, line 212
<?php
function drupal_client_page($sort = 'name') {
$result = db_query('SELECT * FROM {client} ORDER BY %s', $sort);
$clients = array();
while ($client = db_fetch_object($result)) {
$clients[] = $client;
}
return theme('client_list', $clients);
}
?>Login or register to post comments 