You are here

function total_control_overview_user_content_type_render in Total Control Admin Dashboard 6.2

Same name and namespace in other branches
  1. 6 plugins/content_types/overview_user.inc \total_control_overview_user_content_type_render()
  2. 7.2 plugins/content_types/overview_user.inc \total_control_overview_user_content_type_render()

Run-time rendering of the body of the block.

Parameters

$subtype:

$conf: Configuration as done at admin time.

$args:

$context: Context - in this case we don't have any.

Return value

An object with at least title and content members.

1 string reference to 'total_control_overview_user_content_type_render'
overview_user.inc in plugins/content_types/overview_user.inc
overview_user.inc

File

plugins/content_types/overview_user.inc, line 67
overview_user.inc

Code

function total_control_overview_user_content_type_render($subtype, $conf, $panel_args, &$context) {
  $block = new stdClass();
  $block->module = t('total_control');
  $block->title = t('Overview of user accounts');
  $overview = total_control_get_user_overview($conf);
  $block->content = theme('total_control_overview_user', $overview);
  return $block;
}