You are here

protected function Dbug::makeTdHeader in dBug for Drupal 2.0.x

Same name and namespace in other branches
  1. 8 src/Dbug.php \Drupal\dbug\Dbug::makeTdHeader()
  2. 1.0.x src/Dbug.php \Drupal\dbug\Dbug::makeTdHeader()

Create the table row header.

Parameters

string $type: The type.

string $header: The header.

5 calls to Dbug::makeTdHeader()
Dbug::varIsArray in src/Dbug.php
If variable is an array type.
Dbug::varIsGdResource in src/Dbug.php
If variable is an image/gd resource type.
Dbug::varIsObject in src/Dbug.php
If variable is an object type.
Dbug::varIsXmlResource in src/Dbug.php
If variable is an xml resource type.
Dbug::xmlEndElement in src/Dbug.php
Xml: initiated when an end tag is encountered.

File

src/Dbug.php, line 274

Class

Dbug
Implementation of dBug for Drupal.

Namespace

Drupal\dbug

Code

protected function makeTdHeader($type, $header) {
  $str_d = $this->bCollapsed ? " style=\"display:none\"" : "";
  $this->output[] = "<tr" . $str_d . ">\n\t\t\t\t<td valign=\"top\" onClick='dBug_toggleRow(this)' class=\"dBug_" . $type . "Key\">" . $header . "</td>\n\t\t\t\t<td>";
}