function theme_tree_table

×

Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
cis7 token.pages.inc theme_tree_table($variables)
cle7 token.pages.inc theme_tree_table($variables)
elmsmedia7 token.pages.inc theme_tree_table($variables)
icor7 token.pages.inc theme_tree_table($variables)
meedjum_blog7 token.pages.inc theme_tree_table($variables)
mooc7 token.pages.inc theme_tree_table($variables)

Theme a tree table.

Related topics

3 string references to the theme hook from theme_tree_table()

Note: this list is generated by looking for the string for this theme hook, so it may include some references that are not actually using this theme hook.

theme_token_tree in sites/all/modules/ulmus/token/token.pages.inc
Provide a 'tree' display of nested tokens.
token_devel_token_object in sites/all/modules/ulmus/token/token.pages.inc
Menu callback; prints the available tokens and values for an object.
token_theme in sites/all/modules/ulmus/token/token.module
Implements hook_theme().

File

sites/all/modules/ulmus/token/token.pages.inc, line 70
User page callbacks for the token module.

Code

function theme_tree_table($variables) {
  foreach ($variables['rows'] as &$row) {
    $row += array('class' => array());
    if (!empty($row['parent'])) {
      $row['class'][] = 'child-of-' . $row['parent'];
      unset($row['parent']);
    }
  }

  if (!empty($variables['rows'])) {
    drupal_add_library('token', 'treeTable');
  }

  return theme('table', $variables);
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.