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

No exceptions thrown.

Note

This function can not be called statically.

Returns the table in wonderful ASCII art (Previous) Sets the headers for the columns (Next)
Last updated: Sat, 20 Dec 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.