Closed
Description
This is not really an issue, but I'm trying to understand the code so I can apply changes properly to contribute and to adapt it to my needs.
When is the following method of the renderer called as defined in file Inline.php
?
/**
* Generates a string representation of empty table body.
*
* @return string Html code representing empty table body.
*/
public function generateSkippedTable(): string
{
$html = '<tbody class="Skipped">';
$html .= '<th>…</th>';
$html .= '<th>…</th>';
$html .= '<td> </td>';
$html .= '</tbody>';
return $html;
}
It's called here in file HtmlArray.php
:
// If this is a separate block, we're condensing code so output ...,
// indicating a significant portion of the code has been collapsed as
// it is the same
if ($i > 0) {
$html .= $object->generateSkippedTable();
}
but whatever I try, $i
is always 0.