SproutCMS

This is the code documentation for the SproutCMS project

function table()

Converts a DB result set or similar multi-dimensional array into HTML for a table

Usage

string Debug::table ( array|PDOStatement $data );

Arguments

  1. array|PDOStatement $data
    If a PDOStatement, the cursor will automatically be closed after rendering

Return value

  • string