Jetpack_Modules_List_Table::single_row PHP Method

single_row() public method

public single_row ( $item )
    function single_row($item)
    {
        static $i = 0;
        $row_class = ++$i % 2 ? ' alternate' : '';
        if (!empty($item['activated'])) {
            $row_class .= ' active';
        }
        if (!$this->is_module_available($item)) {
            $row_class .= ' unavailable';
        }
        echo '<tr class="jetpack-module' . esc_attr($row_class) . '" id="' . esc_attr($item['module']) . '">';
        $this->single_row_columns($item);
        echo '</tr>';
    }