Skip to content

Calling generateSkippedTable #17

Closed
@DigiLive

Description

@DigiLive

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>&hellip;</th>';
        $html .= '<th>&hellip;</th>';
        $html .= '<td>&#xA0;</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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions