Drupal HEAD(D7) Code Coverage - modules/user/user-profile-category.tpl.php

1 <?php
2 // $Id: user-profile-category.tpl.php,v 1.3 2008/10/13 12:31:43 dries Exp $
3
4 /**
5 * @file
6 * Default theme implementation to present profile categories (groups of
7 * profile items).
8 *
9 * Categories are defined when configuring user profile fields for the site.
10 * It can also be defined by modules. All profile items for a category will be
11 * output through the $profile_items variable.
12 *
13 * @see user-profile-item.tpl.php
14 * where each profile item is rendered. It is implemented as a definition
15 * list by default.
16 * @see user-profile.tpl.php
17 * where all items and categories are collected and printed out.
18 *
19 * Available variables:
20 * - $title: Category title for the group of items.
21 * - $profile_items: All the items for the group rendered through
22 * user-profile-item.tpl.php.
23 * - $attributes: HTML attributes. Usually renders classes.
24 *
25 * @see template_preprocess_user_profile_category()
26 */
27 ?>
28 <?php if ($title) : ?>
29 <h3><?php print $title; ?></h3>
30 <?php endif; ?>
31
32 <dl<?php print $attributes; ?>>
33 <?php print $profile_items; ?>
34 </dl>
35

Legend

Missed
lines code that were not excersized during program execution.
Covered
lines code were excersized during program execution.
Comment/non executable
Comment or non-executable line of code.
Dead
lines of code that according to xdebug could not be executed. This is counted as coverage code because in almost all cases it is code that runnable.