protected function single_row_columns($item)
    {
        list($columns, $hidden) = $this->get_column_info();

        foreach ($columns as $column_name => $column_display_name) {
            $class = "class='$column_name column-$column_name'";
            $style = '';

            if (in_array($column_name, $hidden)) {
                $style = ' style="display:none;"';
            }

            $attributes = "$class$style";

            if ('cb' == $column_name) {
                echo '<th scope="row" class="check-column">';
                echo $this->column_cb($item);
                echo '</th>';
            } elseif (method_exists($this, 'column_' . $column_name)) {
                echo "<td $attributes>";
                echo call_user_func(array(&$this, 'column_' . $column_name), $item);
                echo "</td>";
            } else {
                echo "<td $attributes>";
                echo $this->column_default($item, $column_name);
                echo "</td>";
            }
        }
    }
protected function single_row_columns($item)
    {
        list($columns, $hidden) = $this->get_column_info();

        foreach ($columns as $column_name => $column_display_name) {
            $class = "class='$column_name column-$column_name'";
            $style = '';

            if (in_array($column_name, $hidden)) {
                $style = ' style="display:none;"';
            }

            $attributes = "$class$style";

            if ('cb' == $column_name) {
                echo '<th scope="row" class="check-column">';
                echo $this->column_cb($item);
                echo '</th>';
            } elseif (method_exists($this, 'column_' . $column_name)) {
                echo "<td $attributes>";
                echo call_user_func(array(&$this, 'column_' . $column_name), $item);
                echo "</td>";
            } else {
                echo "<td $attributes>";
                echo $this->column_default($item, $column_name);
                echo "</td>";
            }
        }
    }
protected function single_row_columns ( $ item ) { list ( $ columns , $ hidden ) = $ this -> get_column_info ( ) ; foreach ( $ columns as $ column_name => $ column_display_name ) { $ class = "class='$column_name column-$column_name'" ; $ style = '' ; if ( in_array ( $ column_name , $ hidden ) ) { $ style = ' style="display:none;"' ; } $ attributes = "$class$style" ; if ( 'cb' == $ column_name ) { echo '<th scope="row" class="check-column">' ; echo $ this -> column_cb ( $ item ) ; echo '</th>' ; } elseif ( method_exists ( $ this , 'column_' . $ column_name ) ) { echo "<td $attributes>" ; echo call_user_func ( array ( & $ this , 'column_' . $ column_name ) , $ item ) ; echo "</td>" ; } else { echo "<td $attributes>" ; echo $ this -> column_default ( $ item , $ column_name ) ; echo "</td>" ; } } }
Generates the columns for a single row of the table.

@param object $item The current item
Generates the columns for a single row of the table .