protected function makeTableRow($key, $variable)
    {
        $this->zebra = $this->zebra ? 0 : 1;
        $css = $this->getDataCss($variable);
        $output = [];
        $output[] = '<tr>';
        $output[] = '<td style="'.$css.';cursor:pointer" onclick="'.$this->evalToggleDumpOnClick().'">'.$this->evalKeyLabel($key).'</td>';
        $output[] = '<td style="'.$css.'">'.$this->evalVarLabel($variable).'</td>';
        $output[] = '<td style="'.$css.'">'.$this->evalVarDesc($variable, $key).'</td>';
        $output[] = '</tr>';
        $output[] = '<tr>';
        $output[] = '<td colspan="3">'.$this->evalVarDump($variable).'</td>';
        $output[] = '</tr>';
        return implode(PHP_EOL, $output);
    }
protected function makeTableRow($key, $variable)
    {
        $this->zebra = $this->zebra ? 0 : 1;
        $css = $this->getDataCss($variable);
        $output = [];
        $output[] = '<tr>';
        $output[] = '<td style="'.$css.';cursor:pointer" onclick="'.$this->evalToggleDumpOnClick().'">'.$this->evalKeyLabel($key).'</td>';
        $output[] = '<td style="'.$css.'">'.$this->evalVarLabel($variable).'</td>';
        $output[] = '<td style="'.$css.'">'.$this->evalVarDesc($variable, $key).'</td>';
        $output[] = '</tr>';
        $output[] = '<tr>';
        $output[] = '<td colspan="3">'.$this->evalVarDump($variable).'</td>';
        $output[] = '</tr>';
        return implode(PHP_EOL, $output);
    }
protected function makeTableRow ( $ key , $ variable ) { $ this -> zebra = $ this -> zebra ? 0 : 1 ; $ css = $ this -> getDataCss ( $ variable ) ; $ output = [ ] ; $ output [ ] = '<tr>' ; $ output [ ] = '<td style="' . $ css . ';cursor:pointer" onclick="' . $ this -> evalToggleDumpOnClick ( ) . '">' . $ this -> evalKeyLabel ( $ key ) . '</td>' ; $ output [ ] = '<td style="' . $ css . '">' . $ this -> evalVarLabel ( $ variable ) . '</td>' ; $ output [ ] = '<td style="' . $ css . '">' . $ this -> evalVarDesc ( $ variable , $ key ) . '</td>' ; $ output [ ] = '</tr>' ; $ output [ ] = '<tr>' ; $ output [ ] = '<td colspan="3">' . $ this -> evalVarDump ( $ variable ) . '</td>' ; $ output [ ] = '</tr>' ; return implode ( PHP_EOL , $ output ) ; }
Builds the HTML used for each table row.
@param  mixed $key
@param  mixed $variable
@return string
Builds the HTML used for each table row .