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, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.