PEAR Manual
Prev |  | Next

# Console_Table::insertRow()

Console_Table::insertRow() -- Inserts a row after a given row number in the table.

## Synopsis

    require_once 'Console/Table.php';

``void Console_Table::insertRow` (array $row [, integer $row_id])`

## Description

Inserts a row after a given row number in the table. If $row_id is not given it will prepend the row.

## Parameter

array `$row`

  The data to insert

integer `$row_id`

  Row number to insert before

## Throws

throws no exceptions thrown

## Note

This function can not be called statically.

Prev | Home | Next
Console_Table::getTable() | Up | Console_Table::setHeaders()