PEAR Manual
Prev |  | Next

# Console_Table::addData()

Console_Table::addData() -- Adds data to the table.

## Synopsis

    require_once 'Console/Table.php';

``void Console_Table::addData` (array $data [, integer $col_id [, integer $row_id]])`

## Description

Adds data to the table. Argument should be a two dimensional array containing the data to be added.

## Parameter

array `$data`

  The data to add to the table

integer `$col_id`

  Optional starting column ID

integer `$row_id`

  Optional starting row ID

## Throws

throws no exceptions thrown

## Note

This function can not be called statically.

Prev | Home | Next
Console_Table::addCol() | Up | Console_Table::addRow()