phpdoc/Library/Tool/Table.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="robots" content="index, follow, all" />
<title>Library\Tool\Table | Library</title>
<link rel="stylesheet" type="text/css" href="../../css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="../../css/bootstrap-theme.min.css">
<link rel="stylesheet" type="text/css" href="../../css/sami.css">
<script src="../../js/jquery-1.11.1.min.js"></script>
<script src="../../js/bootstrap.min.js"></script>
<script src="../../js/typeahead.min.js"></script>
<script src="../../sami.js"></script>
<meta name="MobileOptimized" content="width">
<meta name="HandheldFriendly" content="true">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
</head>
<body id="class" data-name="class:Library_Tool_Table" data-root-path="../../">
<div id="content">
<div id="left-column">
<div id="control-panel">
<form id="search-form" action="../../search.html" method="GET">
<span class="glyphicon glyphicon-search"></span>
<input name="search"
class="typeahead form-control"
type="search"
placeholder="Search">
</form>
</div>
<div id="api-tree"></div>
</div>
<div id="right-column">
<nav id="site-nav" class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-elements">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="../../index.html">Library</a>
</div>
<div class="collapse navbar-collapse" id="navbar-elements">
<ul class="nav navbar-nav">
<li><a href="../../classes.html">Classes</a></li>
<li><a href="../../namespaces.html">Namespaces</a></li>
<li><a href="../../interfaces.html">Interfaces</a></li>
<li><a href="../../traits.html">Traits</a></li>
<li><a href="../../doc-index.html">Index</a></li>
<li><a href="../../search.html">Search</a></li>
</ul>
</div>
</div>
</nav>
<div class="namespace-breadcrumbs">
<ol class="breadcrumb">
<li><span class="label label-default">class</span></li>
<li><a href="../../Library.html">Library</a></li>
<li><a href="../../Library/Tool.html">Tool</a></li>
<li>Table</li>
</ol>
</div>
<div id="page-content">
<div class="page-header">
<h1>Table</h1>
</div>
<p> class
<strong>Table</strong>
</p>
<div class="description">
<p>Table helper tool</p> <p><h2>Presentation</h2>
<p>This class helps to build and work with table in an HTML style, meaning that the table
may have a caption, and three parts separated in a header, a footer and a body composed
of lines separated in cells. The class does NOT build any HTML string but organizes and
completes each table part to have a cleaned and ready-to-work-with array representation
of the table.</p>
<p>A full text schema like a Mysql query result is embedded using method <code>render()</code>.</p>
<h2>Construction of the table</h2>
<p>The table built in this class can be schematized like below ; it is considered as a set
of cells stored in lines that builds columns.</p>
<pre><code>+------------+------------+
| table | headers | // "thead" : can be more than 1 line
+------------+------------+
| table | line 1 | // "tbody"
| table | line 2 |
+------------+------------+
| table | footers | // "tfoot" : can be more than 1 line
+------------+------------+
</code></pre>
<p>This schema is render as a matrix like, concerning only the body:</p>
<pre><code> | col A | col B |
---------------------
line 1 | cell A1 | cell B1 |
line 2 | cell A2 | cell B2 |
</code></pre>
<p>Lines, columns and cells are 1 based arrays: first item has key "1" when you want
to get or set a position.</p>
<h2>Usage</h2>
<p>For convenience, the best practice is to use an alias:</p>
<pre><code>use Library\Tool\Table as TableTool;
</code></pre>
</p> </div>
<h2>Constants</h2>
<table class="table table-condensed">
<tr>
<td>PAD_BY_SPAN</td>
<td class="last">
<p><em>Using this flag as <code>$pad_flag</code>, last cell is pad as an HTML <code>colspan</code> for each line if necessary</em></p>
<p>
</p>
</td>
</tr>
<tr>
<td>PAD_BY_EMPTY_CELLS</td>
<td class="last">
<p><em>Using this flag as <code>$pad_flag</code>, each line is completed by empty cells if necessary</em></p>
<p>
</p>
</td>
</tr>
<tr>
<td>ITERATE_ON_LINES</td>
<td class="last">
<p><em>Using this flag, the <code>getTableIterator</code> method returns an iterator on table lines</em></p>
<p>
</p>
</td>
</tr>
<tr>
<td>ITERATE_ON_COLUMNS</td>
<td class="last">
<p><em>Using this flag, the <code>getTableIterator</code> method returns an iterator on table columns</em></p>
<p>
</p>
</td>
</tr>
</table>
<h2>Properties</h2>
<table class="table table-condensed">
<tr>
<td class="type" id="property_default_foot_mask">
static
string
</td>
<td>$default_foot_mask</td>
<td class="last">
</td>
<td></td>
</tr>
</table>
<h2>Methods</h2>
<div class="container-fluid underlined">
<div class="row">
<div class="col-md-2 type">
</div>
<div class="col-md-8 type">
<a href="#method___construct">__construct</a>(
array $body = array(),
array $header = array(),
array $footer = array(),
string $title = null,
int $pad_flag = self::PAD_BY_EMPTY_CELLS)
<p>Table construction</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
string
</div>
<div class="col-md-8 type">
<a href="#method___toString">__toString</a>()
<p>Rendering of the table</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
array
</div>
<div class="col-md-8 type">
<a href="#method_getTable">getTable</a>()
<p>Get the full table array</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
object
</div>
<div class="col-md-8 type">
<a href="#method_getTableIterator">getTableIterator</a>(
string $part = 'body',
int $iterator_flag = self::ITERATE_ON_LINES)
<p>Get the full table or a part of the table as an <code>ArrayIterator</code> object</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
array|null
</div>
<div class="col-md-8 type">
<a href="#method_getLine">getLine</a>(
int $line_index = null)
<p>Get a line of the table body</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
</div>
<div class="col-md-8 type">
<a href="#method_addLine">addLine</a>(
array|string $contents = null,
mixed $default = null)
<p>Add a new line in the table body</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
array|null
</div>
<div class="col-md-8 type">
<a href="#method_getColumn">getColumn</a>(
int $column_index = null)
<p>Get a column of the table body</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
</div>
<div class="col-md-8 type">
<a href="#method_addColumn">addColumn</a>(
array|string $body = null,
mixed $default = null,
array $headers = null,
array $footers = null)
<p>Add a new column in the table body</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
string|null
</div>
<div class="col-md-8 type">
<a href="#method_getCell">getCell</a>(
int $line_index = null,
int $cell_index = null)
<p>Get a cell of the table body</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
</div>
<div class="col-md-8 type">
<a href="#method_addCell">addCell</a>(
string $cell = null)
<p>Add a new cell in the current line of the table body</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
</div>
<div class="col-md-8 type">
<a href="#method_setPadFlag">setPadFlag</a>(
int $flag)
<p>Set the table flag used for cell padding</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
int
</div>
<div class="col-md-8 type">
<a href="#method_getPadFlag">getPadFlag</a>()
<p>Get the table pad flag</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
</div>
<div class="col-md-8 type">
<a href="#method_setTitle">setTitle</a>(
string $title)
<p>Set the table title</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
string
</div>
<div class="col-md-8 type">
<a href="#method_getTitle">getTitle</a>()
<p>Get the table title</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
</div>
<div class="col-md-8 type">
<a href="#method_setHeader">setHeader</a>(
array $contents)
<p>Set the table headers lines</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
</div>
<div class="col-md-8 type">
<a href="#method_setHeaderLine">setHeaderLine</a>(
array $contents,
int $line_index = null,
mixed $default = null)
<p>Set a table header line</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
</div>
<div class="col-md-8 type">
<a href="#method_addHeaderLine">addHeaderLine</a>(
array $contents,
int $line_index = null,
mixed $default = null)
<p>Add a new table header line</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
</div>
<div class="col-md-8 type">
<a href="#method_setHeaderColumn">setHeaderColumn</a>(
array $contents = array(),
int $column_index = null,
mixed $default = null)
<p>Set a column in the table header</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
</div>
<div class="col-md-8 type">
<a href="#method_addHeaderColumn">addHeaderColumn</a>(
array $contents = array(),
int $column_index = null,
mixed $default = null)
<p>Add a new column in the table header</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
</div>
<div class="col-md-8 type">
<a href="#method_setHeaderCell">setHeaderCell</a>(
array $content,
int $line_index = null,
int $cell_index = null)
<p>Set a table header cell</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
</div>
<div class="col-md-8 type">
<a href="#method_addHeaderCell">addHeaderCell</a>(
array $content,
int $line_index = null,
int $cell_index = null)
<p>Add a new table header cell</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
array
</div>
<div class="col-md-8 type">
<a href="#method_getHeader">getHeader</a>()
<p>Get the table headers lines</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
array
</div>
<div class="col-md-8 type">
<a href="#method_getHeaderLine">getHeaderLine</a>(
int $line_index = null)
<p>Get a table headers line</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
array
</div>
<div class="col-md-8 type">
<a href="#method_getHeaderColumn">getHeaderColumn</a>(
int $column_index = null)
<p>Get a table headers column</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
array
</div>
<div class="col-md-8 type">
<a href="#method_getHeaderCell">getHeaderCell</a>(
int $line_index = null,
int $cell_index = null)
<p>Get a table headers cell</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
</div>
<div class="col-md-8 type">
<a href="#method_setBody">setBody</a>(
array $contents)
<p>Set the table body lines</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
</div>
<div class="col-md-8 type">
<a href="#method_setBodyLine">setBodyLine</a>(
array $contents,
int $line_index = null)
<p>Set a table body line</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
</div>
<div class="col-md-8 type">
<a href="#method_addBodyLine">addBodyLine</a>(
array $contents,
int $line_index = null)
<p>Add a new table body line</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
</div>
<div class="col-md-8 type">
<a href="#method_setBodyColumn">setBodyColumn</a>(
array $contents = array(),
int $column_index = null,
mixed $default = null)
<p>Set a column in the table body</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
</div>
<div class="col-md-8 type">
<a href="#method_addBodyColumn">addBodyColumn</a>(
array $contents = array(),
int $column_index = null,
mixed $default = null)
<p>Add a new column in the table body</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
</div>
<div class="col-md-8 type">
<a href="#method_setBodyCell">setBodyCell</a>(
array $content,
int $line_index = null,
int $cell_index = null)
<p>Set a table body cell</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
</div>
<div class="col-md-8 type">
<a href="#method_addBodyCell">addBodyCell</a>(
array $content,
int $line_index = null,
int $cell_index = null)
<p>Add a new table body cell</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
array
</div>
<div class="col-md-8 type">
<a href="#method_getBody">getBody</a>()
<p>Get the table body lines</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
array
</div>
<div class="col-md-8 type">
<a href="#method_getBodyLine">getBodyLine</a>(
int $line_index = null)
<p>Get a table body line</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
array|null
</div>
<div class="col-md-8 type">
<a href="#method_getBodyColumn">getBodyColumn</a>(
int $column_index = null)
<p>Get a column of the table body</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
array
</div>
<div class="col-md-8 type">
<a href="#method_getBodyCell">getBodyCell</a>(
int $line_index = null,
int $cell_index = null)
<p>Get a table body cell</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
</div>
<div class="col-md-8 type">
<a href="#method_setFooter">setFooter</a>(
array $contents)
<p>Set the table footer lines</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
</div>
<div class="col-md-8 type">
<a href="#method_setFooterLine">setFooterLine</a>(
array $contents,
int $line_index = null)
<p>Set a table footer line</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
</div>
<div class="col-md-8 type">
<a href="#method_addFooterLine">addFooterLine</a>(
array $contents,
int $line_index = null)
<p>Add a new table footer line</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
</div>
<div class="col-md-8 type">
<a href="#method_setFooterColumn">setFooterColumn</a>(
array $contents = array(),
int $column_index = null,
mixed $default = null)
<p>Set a column in the table footers</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
</div>
<div class="col-md-8 type">
<a href="#method_addFooterColumn">addFooterColumn</a>(
array $contents = array(),
int $column_index = null,
mixed $default = null)
<p>Add a new column in the table footers</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
</div>
<div class="col-md-8 type">
<a href="#method_setFooterCell">setFooterCell</a>(
array $content,
int $line_index = null,
int $cell_index = null)
<p>Set a table footer cell</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
</div>
<div class="col-md-8 type">
<a href="#method_addFooterCell">addFooterCell</a>(
array $content,
int $line_index = null,
int $cell_index = null)
<p>Add a new table footer cell</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
array
</div>
<div class="col-md-8 type">
<a href="#method_getFooter">getFooter</a>()
<p>Get the table footers lines</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
array
</div>
<div class="col-md-8 type">
<a href="#method_getFooterLine">getFooterLine</a>(
int $line_index = null)
<p>Get a table footers line</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
array
</div>
<div class="col-md-8 type">
<a href="#method_getFooterColumn">getFooterColumn</a>(
int $column_index = null)
<p>Get a table footers column</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
array
</div>
<div class="col-md-8 type">
<a href="#method_getFooterCell">getFooterCell</a>(
int $line_index = null,
int $cell_index = null)
<p>Get a table footers cell</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
int
</div>
<div class="col-md-8 type">
<a href="#method_getTableColumnSize">getTableColumnSize</a>()
<p>Get the table columns size</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
int
</div>
<div class="col-md-8 type">
<a href="#method_getTableLineSize">getTableLineSize</a>()
<p>Get the table lines size</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
int
</div>
<div class="col-md-8 type">
<a href="#method_getTableCellSize">getTableCellSize</a>()
<p>Get the table cells size</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
string
</div>
<div class="col-md-8 type">
<a href="#method_getSizesInfos">getSizesInfos</a>()
<p>Get a string information presenting an overview of the table</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
void
</div>
<div class="col-md-8 type">
<a href="#method__resetSizes">_resetSizes</a>()
<p>Reset the table sizes</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
string
</div>
<div class="col-md-8 type">
<a href="#method_render">render</a>(
int $str_pad_flag = STR_PAD_RIGHT)
<p>Plain text rendering of the table</p> </div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
</div>
<div class="col-md-8 type">
<a href="#method_setContents">setContents</a>()
<p class="no-description">No description</p>
</div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
</div>
<div class="col-md-8 type">
<a href="#method_setContentLine">setContentLine</a>()
<p class="no-description">No description</p>
</div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
</div>
<div class="col-md-8 type">
<a href="#method_addContentLine">addContentLine</a>()
<p class="no-description">No description</p>
</div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
</div>
<div class="col-md-8 type">
<a href="#method_setContentColumn">setContentColumn</a>()
<p class="no-description">No description</p>
</div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
</div>
<div class="col-md-8 type">
<a href="#method_setContentCol">setContentCol</a>()
<p class="no-description">No description</p>
</div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
</div>
<div class="col-md-8 type">
<a href="#method_setBodyCol">setBodyCol</a>()
<p class="no-description">No description</p>
</div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
</div>
<div class="col-md-8 type">
<a href="#method_addContentColumn">addContentColumn</a>()
<p class="no-description">No description</p>
</div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
</div>
<div class="col-md-8 type">
<a href="#method_addContentCol">addContentCol</a>()
<p class="no-description">No description</p>
</div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
</div>
<div class="col-md-8 type">
<a href="#method_addBodyCol">addBodyCol</a>()
<p class="no-description">No description</p>
</div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
</div>
<div class="col-md-8 type">
<a href="#method_setContentCell">setContentCell</a>()
<p class="no-description">No description</p>
</div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
</div>
<div class="col-md-8 type">
<a href="#method_addContentCell">addContentCell</a>()
<p class="no-description">No description</p>
</div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
</div>
<div class="col-md-8 type">
<a href="#method_getContents">getContents</a>()
<p class="no-description">No description</p>
</div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
</div>
<div class="col-md-8 type">
<a href="#method_getContentLine">getContentLine</a>()
<p class="no-description">No description</p>
</div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
</div>
<div class="col-md-8 type">
<a href="#method_getContentColumn">getContentColumn</a>()
<p class="no-description">No description</p>
</div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
</div>
<div class="col-md-8 type">
<a href="#method_getContentCol">getContentCol</a>()
<p class="no-description">No description</p>
</div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
</div>
<div class="col-md-8 type">
<a href="#method_getBodyCol">getBodyCol</a>()
<p class="no-description">No description</p>
</div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
</div>
<div class="col-md-8 type">
<a href="#method_getContentCell">getContentCell</a>()
<p class="no-description">No description</p>
</div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
</div>
<div class="col-md-8 type">
<a href="#method_getTableColSize">getTableColSize</a>()
<p class="no-description">No description</p>
</div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
</div>
<div class="col-md-8 type">
<a href="#method_getCol">getCol</a>()
<p class="no-description">No description</p>
</div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
</div>
<div class="col-md-8 type">
<a href="#method_getHeaderCol">getHeaderCol</a>()
<p class="no-description">No description</p>
</div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
</div>
<div class="col-md-8 type">
<a href="#method_addHeaderCol">addHeaderCol</a>()
<p class="no-description">No description</p>
</div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
</div>
<div class="col-md-8 type">
<a href="#method_setHeaderCol">setHeaderCol</a>()
<p class="no-description">No description</p>
</div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
</div>
<div class="col-md-8 type">
<a href="#method_getFooterCol">getFooterCol</a>()
<p class="no-description">No description</p>
</div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
</div>
<div class="col-md-8 type">
<a href="#method_addFooterCol">addFooterCol</a>()
<p class="no-description">No description</p>
</div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
</div>
<div class="col-md-8 type">
<a href="#method_setFooterCol">setFooterCol</a>()
<p class="no-description">No description</p>
</div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
</div>
<div class="col-md-8 type">
<a href="#method_getColumnSize">getColumnSize</a>()
<p class="no-description">No description</p>
</div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
</div>
<div class="col-md-8 type">
<a href="#method_getColSize">getColSize</a>()
<p class="no-description">No description</p>
</div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
</div>
<div class="col-md-8 type">
<a href="#method_getLineSize">getLineSize</a>()
<p class="no-description">No description</p>
</div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2 type">
</div>
<div class="col-md-8 type">
<a href="#method_getCellSize">getCellSize</a>()
<p class="no-description">No description</p>
</div>
<div class="col-md-2"></div>
</div>
</div>
<h2>Details</h2>
<div id="method-details">
<div class="method-item">
<h3 id="method___construct">
<div class="location">at line 178</div>
<code>
<strong>__construct</strong>(
array $body = array(),
array $header = array(),
array $footer = array(),
string $title = null,
int $pad_flag = self::PAD_BY_EMPTY_CELLS)</code>
</h3>
<div class="details">
<div class="method-description">
<p>Table construction</p> </div>
<div class="tags">
<h4>Parameters</h4>
<table class="table table-condensed">
<tr>
<td>
array</td>
<td>$body</td>
<td>The array of body lines</td>
</tr>
<tr>
<td>
array</td>
<td>$header</td>
<td>The array of headers lines</td>
</tr>
<tr>
<td>
array</td>
<td>$footer</td>
<td>The array of footers lines</td>
</tr>
<tr>
<td>
string</td>
<td>$title</td>
<td>The table title</td>
</tr>
<tr>
<td>
int</td>
<td>$pad_flag</td>
<td>The flag to use for cell padding, must be one of the class <code>PAD_</code> constants</td>
</tr>
</table>
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::setPadFlag()</td>
<td></td>
</tr>
<tr>
<td>self::setTitle()</td>
<td></td>
</tr>
<tr>
<td>self::setBody()</td>
<td></td>
</tr>
<tr>
<td>self::setHeader()</td>
<td></td>
</tr>
<tr>
<td>self::setFooter()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method___toString">
<div class="location">at line 204</div>
<code>
string
<strong>__toString</strong>()</code>
</h3>
<div class="details">
<div class="method-description">
<p>Rendering of the table</p> </div>
<div class="tags">
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
string</td>
<td>The result of <code>$this->render()</code></td>
</tr>
</table>
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::render()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_getTable">
<div class="location">at line 218</div>
<code>
array
<strong>getTable</strong>()</code>
</h3>
<div class="details">
<div class="method-description">
<p>Get the full table array</p> </div>
<div class="tags">
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
array</td>
<td>
</td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_getTableIterator">
<div class="location">at line 244</div>
<code>
object
<strong>getTableIterator</strong>(
string $part = 'body',
int $iterator_flag = self::ITERATE_ON_LINES)</code>
</h3>
<div class="details">
<div class="method-description">
<p>Get the full table or a part of the table as an <code>ArrayIterator</code> object</p> <p>With a <code>null</code> first parameter (default is <code>body</code>), the iterator will be constructed
on all the table lines or columns, first the headers one, then the body and finally
the footers one (without distinction).</p> </div>
<div class="tags">
<h4>Parameters</h4>
<table class="table table-condensed">
<tr>
<td>
string</td>
<td>$part</td>
<td>One of the parts of the table array built by method <code>getTable()</code></td>
</tr>
<tr>
<td>
int</td>
<td>$iterator_flag</td>
<td>The flag to use to build the iterator, must be one of the class
<code>ITERATE_</code> constants</td>
</tr>
</table>
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
object</td>
<td>An <code>ArrayIterator</code> instance</td>
</tr>
</table>
<h4>Exceptions</h4>
<table class="table table-condensed">
<tr>
<td><a target="_blank" href="http://php.net/InvalidArgumentException"><abbr title="InvalidArgumentException">InvalidArgumentException</abbr></a></td>
<td>if the part doesn't exist in the table</td>
</tr>
</table>
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>\ArrayIterator</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_getLine">
<div class="location">at line 302</div>
<code>
array|null
<strong>getLine</strong>(
int $line_index = null)</code>
</h3>
<div class="details">
<div class="method-description">
<p>Get a line of the table body</p> </div>
<div class="tags">
<h4>Parameters</h4>
<table class="table table-condensed">
<tr>
<td>
int</td>
<td>$line_index</td>
<td>The index of the line to get, if <code>null</code>, the last line is returned</td>
</tr>
</table>
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
array|null</td>
<td>
</td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_addLine">
<div class="location">at line 314</div>
<code>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
<strong>addLine</strong>(
array|string $contents = null,
mixed $default = null)</code>
</h3>
<div class="details">
<div class="method-description">
<p>Add a new line in the table body</p> </div>
<div class="tags">
<h4>Parameters</h4>
<table class="table table-condensed">
<tr>
<td>
array|string</td>
<td>$contents</td>
<td>The content of the line</td>
</tr>
<tr>
<td>
mixed</td>
<td>$default</td>
<td>The default value for empty cells</td>
</tr>
</table>
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a></td>
<td>
</td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_getColumn">
<div class="location">at line 326</div>
<code>
array|null
<strong>getColumn</strong>(
int $column_index = null)</code>
</h3>
<div class="details">
<div class="method-description">
<p>Get a column of the table body</p> </div>
<div class="tags">
<h4>Parameters</h4>
<table class="table table-condensed">
<tr>
<td>
int</td>
<td>$column_index</td>
<td>The index of the column to get, if <code>null</code>, the last column is returned</td>
</tr>
</table>
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
array|null</td>
<td>
</td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_addColumn">
<div class="location">at line 340</div>
<code>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
<strong>addColumn</strong>(
array|string $body = null,
mixed $default = null,
array $headers = null,
array $footers = null)</code>
</h3>
<div class="details">
<div class="method-description">
<p>Add a new column in the table body</p> </div>
<div class="tags">
<h4>Parameters</h4>
<table class="table table-condensed">
<tr>
<td>
array|string</td>
<td>$body</td>
<td>The array of body lines</td>
</tr>
<tr>
<td>
mixed</td>
<td>$default</td>
<td>The default value for empty cells, if <code>null</code>, the class will use its <code>pad_flag</code></td>
</tr>
<tr>
<td>
array</td>
<td>$headers</td>
<td>The array of headers lines</td>
</tr>
<tr>
<td>
array</td>
<td>$footers</td>
<td>The array of footers lines</td>
</tr>
</table>
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a></td>
<td>
</td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_getCell">
<div class="location">at line 359</div>
<code>
string|null
<strong>getCell</strong>(
int $line_index = null,
int $cell_index = null)</code>
</h3>
<div class="details">
<div class="method-description">
<p>Get a cell of the table body</p> </div>
<div class="tags">
<h4>Parameters</h4>
<table class="table table-condensed">
<tr>
<td>
int</td>
<td>$line_index</td>
<td>The index of the line to get, if <code>null</code>, last line is chosen</td>
</tr>
<tr>
<td>
int</td>
<td>$cell_index</td>
<td>The index of the cell to get in the line, if <code>null</code>, last cell is returned</td>
</tr>
</table>
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
string|null</td>
<td>
</td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_addCell">
<div class="location">at line 370</div>
<code>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
<strong>addCell</strong>(
string $cell = null)</code>
</h3>
<div class="details">
<div class="method-description">
<p>Add a new cell in the current line of the table body</p> </div>
<div class="tags">
<h4>Parameters</h4>
<table class="table table-condensed">
<tr>
<td>
string</td>
<td>$cell</td>
<td>The content of the cell</td>
</tr>
</table>
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a></td>
<td>
</td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_setPadFlag">
<div class="location">at line 386</div>
<code>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
<strong>setPadFlag</strong>(
int $flag)</code>
</h3>
<div class="details">
<div class="method-description">
<p>Set the table flag used for cell padding</p> </div>
<div class="tags">
<h4>Parameters</h4>
<table class="table table-condensed">
<tr>
<td>
int</td>
<td>$flag</td>
<td>The flag to use for cell padding, must be one of the class <code>PAD_</code> constants</td>
</tr>
</table>
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a></td>
<td>
</td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_getPadFlag">
<div class="location">at line 398</div>
<code>
int
<strong>getPadFlag</strong>()</code>
</h3>
<div class="details">
<div class="method-description">
<p>Get the table pad flag</p> </div>
<div class="tags">
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
int</td>
<td>
</td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_setTitle">
<div class="location">at line 409</div>
<code>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
<strong>setTitle</strong>(
string $title)</code>
</h3>
<div class="details">
<div class="method-description">
<p>Set the table title</p> </div>
<div class="tags">
<h4>Parameters</h4>
<table class="table table-condensed">
<tr>
<td>
string</td>
<td>$title</td>
<td>The table title</td>
</tr>
</table>
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a></td>
<td>
</td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_getTitle">
<div class="location">at line 420</div>
<code>
string
<strong>getTitle</strong>()</code>
</h3>
<div class="details">
<div class="method-description">
<p>Get the table title</p> </div>
<div class="tags">
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
string</td>
<td>
</td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_setHeader">
<div class="location">at line 435</div>
<code>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
<strong>setHeader</strong>(
array $contents)</code>
</h3>
<div class="details">
<div class="method-description">
<p>Set the table headers lines</p> <p>The parameter may be an array of array where each item is a line, or a simple
array that will be considered as 1 line.</p> </div>
<div class="tags">
<h4>Parameters</h4>
<table class="table table-condensed">
<tr>
<td>
array</td>
<td>$contents</td>
<td>The array of headers lines</td>
</tr>
</table>
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a></td>
<td>
</td>
</tr>
</table>
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::_setPart()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_setHeaderLine">
<div class="location">at line 451</div>
<code>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
<strong>setHeaderLine</strong>(
array $contents,
int $line_index = null,
mixed $default = null)</code>
</h3>
<div class="details">
<div class="method-description">
<p>Set a table header line</p> </div>
<div class="tags">
<h4>Parameters</h4>
<table class="table table-condensed">
<tr>
<td>
array</td>
<td>$contents</td>
<td>The content of the line</td>
</tr>
<tr>
<td>
int</td>
<td>$line_index</td>
<td>The index of the line to set, if <code>null</code>, the line will be added at
the end of the headers</td>
</tr>
<tr>
<td>
mixed</td>
<td>$default</td>
<td>The default value for empty cells</td>
</tr>
</table>
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a></td>
<td>
</td>
</tr>
</table>
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::_setPartLine()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_addHeaderLine">
<div class="location">at line 467</div>
<code>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
<strong>addHeaderLine</strong>(
array $contents,
int $line_index = null,
mixed $default = null)</code>
</h3>
<div class="details">
<div class="method-description">
<p>Add a new table header line</p> </div>
<div class="tags">
<h4>Parameters</h4>
<table class="table table-condensed">
<tr>
<td>
array</td>
<td>$contents</td>
<td>The content of the line</td>
</tr>
<tr>
<td>
int</td>
<td>$line_index</td>
<td>The index of the line to set, if <code>null</code>, the line will be added at
the end of the headers</td>
</tr>
<tr>
<td>
mixed</td>
<td>$default</td>
<td>The default value for empty cells</td>
</tr>
</table>
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a></td>
<td>
</td>
</tr>
</table>
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::_setPartLine()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_setHeaderColumn">
<div class="location">at line 483</div>
<code>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
<strong>setHeaderColumn</strong>(
array $contents = array(),
int $column_index = null,
mixed $default = null)</code>
</h3>
<div class="details">
<div class="method-description">
<p>Set a column in the table header</p> </div>
<div class="tags">
<h4>Parameters</h4>
<table class="table table-condensed">
<tr>
<td>
array</td>
<td>$contents</td>
<td>The content of the column</td>
</tr>
<tr>
<td>
int</td>
<td>$column_index</td>
<td>The index of the column to set, if <code>null</code>, the column will be added at
the end of each line</td>
</tr>
<tr>
<td>
mixed</td>
<td>$default</td>
<td>The default value for empty cells, if <code>null</code>, the class will use its <code>pad_flag</code></td>
</tr>
</table>
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a></td>
<td>
</td>
</tr>
</table>
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::_setPartColumn()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_addHeaderColumn">
<div class="location">at line 499</div>
<code>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
<strong>addHeaderColumn</strong>(
array $contents = array(),
int $column_index = null,
mixed $default = null)</code>
</h3>
<div class="details">
<div class="method-description">
<p>Add a new column in the table header</p> </div>
<div class="tags">
<h4>Parameters</h4>
<table class="table table-condensed">
<tr>
<td>
array</td>
<td>$contents</td>
<td>The content of the column</td>
</tr>
<tr>
<td>
int</td>
<td>$column_index</td>
<td>The index of the column to set, if <code>null</code>, the column will be added at
the end of each line</td>
</tr>
<tr>
<td>
mixed</td>
<td>$default</td>
<td>The default value for empty cells, if <code>null</code>, the class will use its <code>pad_flag</code></td>
</tr>
</table>
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a></td>
<td>
</td>
</tr>
</table>
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::_setPartColumn()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_setHeaderCell">
<div class="location">at line 516</div>
<code>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
<strong>setHeaderCell</strong>(
array $content,
int $line_index = null,
int $cell_index = null)</code>
</h3>
<div class="details">
<div class="method-description">
<p>Set a table header cell</p> </div>
<div class="tags">
<h4>Parameters</h4>
<table class="table table-condensed">
<tr>
<td>
array</td>
<td>$content</td>
<td>The content of the cell</td>
</tr>
<tr>
<td>
int</td>
<td>$line_index</td>
<td>The index of the line to set, if <code>null</code>, the line will be added at
the headers'last line</td>
</tr>
<tr>
<td>
int</td>
<td>$cell_index</td>
<td>The index of the cell to set in the line, if <code>null</code>, the cell will
be added at the end of the line</td>
</tr>
</table>
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a></td>
<td>
</td>
</tr>
</table>
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::_setPartCell()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_addHeaderCell">
<div class="location">at line 533</div>
<code>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
<strong>addHeaderCell</strong>(
array $content,
int $line_index = null,
int $cell_index = null)</code>
</h3>
<div class="details">
<div class="method-description">
<p>Add a new table header cell</p> </div>
<div class="tags">
<h4>Parameters</h4>
<table class="table table-condensed">
<tr>
<td>
array</td>
<td>$content</td>
<td>The content of the cell</td>
</tr>
<tr>
<td>
int</td>
<td>$line_index</td>
<td>The index of the line to set, if <code>null</code>, the line will be added at
the headers'last line</td>
</tr>
<tr>
<td>
int</td>
<td>$cell_index</td>
<td>The index of the cell to set in the line, if <code>null</code>, the cell will
be added at the end of the line</td>
</tr>
</table>
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a></td>
<td>
</td>
</tr>
</table>
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::_setPartCell()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_getHeader">
<div class="location">at line 545</div>
<code>
array
<strong>getHeader</strong>()</code>
</h3>
<div class="details">
<div class="method-description">
<p>Get the table headers lines</p> </div>
<div class="tags">
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
array</td>
<td>The lines array</td>
</tr>
</table>
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::_getPart()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_getHeaderLine">
<div class="location">at line 557</div>
<code>
array
<strong>getHeaderLine</strong>(
int $line_index = null)</code>
</h3>
<div class="details">
<div class="method-description">
<p>Get a table headers line</p> </div>
<div class="tags">
<h4>Parameters</h4>
<table class="table table-condensed">
<tr>
<td>
int</td>
<td>$line_index</td>
<td>The index of the line to get, if <code>null</code>, the last line is returned</td>
</tr>
</table>
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
array</td>
<td>The corresponding line</td>
</tr>
</table>
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::_getPartLine()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_getHeaderColumn">
<div class="location">at line 569</div>
<code>
array
<strong>getHeaderColumn</strong>(
int $column_index = null)</code>
</h3>
<div class="details">
<div class="method-description">
<p>Get a table headers column</p> </div>
<div class="tags">
<h4>Parameters</h4>
<table class="table table-condensed">
<tr>
<td>
int</td>
<td>$column_index</td>
<td>The index of the column to get, if <code>null</code>, the last line is returned</td>
</tr>
</table>
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
array</td>
<td>The corresponding column</td>
</tr>
</table>
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::_getPartColumn()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_getHeaderCell">
<div class="location">at line 582</div>
<code>
array
<strong>getHeaderCell</strong>(
int $line_index = null,
int $cell_index = null)</code>
</h3>
<div class="details">
<div class="method-description">
<p>Get a table headers cell</p> </div>
<div class="tags">
<h4>Parameters</h4>
<table class="table table-condensed">
<tr>
<td>
int</td>
<td>$line_index</td>
<td>The index of the line to get, if <code>null</code>, the last line is returned</td>
</tr>
<tr>
<td>
int</td>
<td>$cell_index</td>
<td>The index of the cell to get in the line, if <code>null</code>, the last cell is returned</td>
</tr>
</table>
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
array</td>
<td>The corresponding cell</td>
</tr>
</table>
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::_getPartCell()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_setBody">
<div class="location">at line 597</div>
<code>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
<strong>setBody</strong>(
array $contents)</code>
</h3>
<div class="details">
<div class="method-description">
<p>Set the table body lines</p> <p>The parameter may be an array of array where each item is a line, or a simple
array that will be considered as 1 line.</p> </div>
<div class="tags">
<h4>Parameters</h4>
<table class="table table-condensed">
<tr>
<td>
array</td>
<td>$contents</td>
<td>The array of body lines</td>
</tr>
</table>
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a></td>
<td>
</td>
</tr>
</table>
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::_setPart()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_setBodyLine">
<div class="location">at line 612</div>
<code>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
<strong>setBodyLine</strong>(
array $contents,
int $line_index = null)</code>
</h3>
<div class="details">
<div class="method-description">
<p>Set a table body line</p> </div>
<div class="tags">
<h4>Parameters</h4>
<table class="table table-condensed">
<tr>
<td>
array</td>
<td>$contents</td>
<td>The content of the line</td>
</tr>
<tr>
<td>
int</td>
<td>$line_index</td>
<td>The index of the line to set, if <code>null</code>, the line will be added at
the end of the body</td>
</tr>
</table>
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a></td>
<td>
</td>
</tr>
</table>
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::_setPartLine()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_addBodyLine">
<div class="location">at line 627</div>
<code>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
<strong>addBodyLine</strong>(
array $contents,
int $line_index = null)</code>
</h3>
<div class="details">
<div class="method-description">
<p>Add a new table body line</p> </div>
<div class="tags">
<h4>Parameters</h4>
<table class="table table-condensed">
<tr>
<td>
array</td>
<td>$contents</td>
<td>The content of the line</td>
</tr>
<tr>
<td>
int</td>
<td>$line_index</td>
<td>The index of the line to set, if <code>null</code>, the line will be added at
the end of the body</td>
</tr>
</table>
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a></td>
<td>
</td>
</tr>
</table>
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::_setPartLine()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_setBodyColumn">
<div class="location">at line 643</div>
<code>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
<strong>setBodyColumn</strong>(
array $contents = array(),
int $column_index = null,
mixed $default = null)</code>
</h3>
<div class="details">
<div class="method-description">
<p>Set a column in the table body</p> </div>
<div class="tags">
<h4>Parameters</h4>
<table class="table table-condensed">
<tr>
<td>
array</td>
<td>$contents</td>
<td>The content of the column</td>
</tr>
<tr>
<td>
int</td>
<td>$column_index</td>
<td>The index of the column to set, if <code>null</code>, the column will be added at
the end of each line</td>
</tr>
<tr>
<td>
mixed</td>
<td>$default</td>
<td>The default value for empty cells, if <code>null</code>, the class will use its <code>pad_flag</code></td>
</tr>
</table>
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a></td>
<td>
</td>
</tr>
</table>
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::_setPartColumn()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_addBodyColumn">
<div class="location">at line 659</div>
<code>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
<strong>addBodyColumn</strong>(
array $contents = array(),
int $column_index = null,
mixed $default = null)</code>
</h3>
<div class="details">
<div class="method-description">
<p>Add a new column in the table body</p> </div>
<div class="tags">
<h4>Parameters</h4>
<table class="table table-condensed">
<tr>
<td>
array</td>
<td>$contents</td>
<td>The content of the column</td>
</tr>
<tr>
<td>
int</td>
<td>$column_index</td>
<td>The index of the column to set, if <code>null</code>, the column will be added at
the end of each line</td>
</tr>
<tr>
<td>
mixed</td>
<td>$default</td>
<td>The default value for empty cells, if <code>null</code>, the class will use its <code>pad_flag</code></td>
</tr>
</table>
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a></td>
<td>
</td>
</tr>
</table>
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::_setPartColumn()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_setBodyCell">
<div class="location">at line 676</div>
<code>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
<strong>setBodyCell</strong>(
array $content,
int $line_index = null,
int $cell_index = null)</code>
</h3>
<div class="details">
<div class="method-description">
<p>Set a table body cell</p> </div>
<div class="tags">
<h4>Parameters</h4>
<table class="table table-condensed">
<tr>
<td>
array</td>
<td>$content</td>
<td>The content of the cell</td>
</tr>
<tr>
<td>
int</td>
<td>$line_index</td>
<td>The index of the line to set, if <code>null</code>, the line will be added at
the body's last line</td>
</tr>
<tr>
<td>
int</td>
<td>$cell_index</td>
<td>The index of the cell to set in the line, if <code>null</code>, the cell will
be added at the end of the line</td>
</tr>
</table>
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a></td>
<td>
</td>
</tr>
</table>
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::_setPartCell()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_addBodyCell">
<div class="location">at line 693</div>
<code>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
<strong>addBodyCell</strong>(
array $content,
int $line_index = null,
int $cell_index = null)</code>
</h3>
<div class="details">
<div class="method-description">
<p>Add a new table body cell</p> </div>
<div class="tags">
<h4>Parameters</h4>
<table class="table table-condensed">
<tr>
<td>
array</td>
<td>$content</td>
<td>The content of the cell</td>
</tr>
<tr>
<td>
int</td>
<td>$line_index</td>
<td>The index of the line to set, if <code>null</code>, the line will be added at
the body's last line</td>
</tr>
<tr>
<td>
int</td>
<td>$cell_index</td>
<td>The index of the cell to set in the line, if <code>null</code>, the cell will
be added at the end of the line</td>
</tr>
</table>
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a></td>
<td>
</td>
</tr>
</table>
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::_setPartCell()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_getBody">
<div class="location">at line 705</div>
<code>
array
<strong>getBody</strong>()</code>
</h3>
<div class="details">
<div class="method-description">
<p>Get the table body lines</p> </div>
<div class="tags">
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
array</td>
<td>The lines array</td>
</tr>
</table>
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::_getPart()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_getBodyLine">
<div class="location">at line 717</div>
<code>
array
<strong>getBodyLine</strong>(
int $line_index = null)</code>
</h3>
<div class="details">
<div class="method-description">
<p>Get a table body line</p> </div>
<div class="tags">
<h4>Parameters</h4>
<table class="table table-condensed">
<tr>
<td>
int</td>
<td>$line_index</td>
<td>The index of the line to get, if <code>null</code>, the last line is returned</td>
</tr>
</table>
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
array</td>
<td>The corresponding line</td>
</tr>
</table>
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::_getPartLine()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_getBodyColumn">
<div class="location">at line 729</div>
<code>
array|null
<strong>getBodyColumn</strong>(
int $column_index = null)</code>
</h3>
<div class="details">
<div class="method-description">
<p>Get a column of the table body</p> </div>
<div class="tags">
<h4>Parameters</h4>
<table class="table table-condensed">
<tr>
<td>
int</td>
<td>$column_index</td>
<td>The index of the column to get, if <code>null</code>, the last column is returned</td>
</tr>
</table>
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
array|null</td>
<td>
</td>
</tr>
</table>
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::_getPartColumn()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_getBodyCell">
<div class="location">at line 742</div>
<code>
array
<strong>getBodyCell</strong>(
int $line_index = null,
int $cell_index = null)</code>
</h3>
<div class="details">
<div class="method-description">
<p>Get a table body cell</p> </div>
<div class="tags">
<h4>Parameters</h4>
<table class="table table-condensed">
<tr>
<td>
int</td>
<td>$line_index</td>
<td>The index of the line to get, if <code>null</code>, the last line is returned</td>
</tr>
<tr>
<td>
int</td>
<td>$cell_index</td>
<td>The index of the cell to get in the line, if <code>null</code>, the last cell is returned</td>
</tr>
</table>
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
array</td>
<td>The corresponding cell</td>
</tr>
</table>
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::_getPartCell()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_setFooter">
<div class="location">at line 757</div>
<code>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
<strong>setFooter</strong>(
array $contents)</code>
</h3>
<div class="details">
<div class="method-description">
<p>Set the table footer lines</p> <p>The parameter may be an array of array where each item is a line, or a simple
array that will be considered as 1 line.</p> </div>
<div class="tags">
<h4>Parameters</h4>
<table class="table table-condensed">
<tr>
<td>
array</td>
<td>$contents</td>
<td>The array of footer lines</td>
</tr>
</table>
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a></td>
<td>
</td>
</tr>
</table>
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::_setPart()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_setFooterLine">
<div class="location">at line 772</div>
<code>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
<strong>setFooterLine</strong>(
array $contents,
int $line_index = null)</code>
</h3>
<div class="details">
<div class="method-description">
<p>Set a table footer line</p> </div>
<div class="tags">
<h4>Parameters</h4>
<table class="table table-condensed">
<tr>
<td>
array</td>
<td>$contents</td>
<td>The content of the line</td>
</tr>
<tr>
<td>
int</td>
<td>$line_index</td>
<td>The index of the line to set, if <code>null</code>, the line will be added at
the end of the footers</td>
</tr>
</table>
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a></td>
<td>
</td>
</tr>
</table>
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::_setPartLine()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_addFooterLine">
<div class="location">at line 787</div>
<code>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
<strong>addFooterLine</strong>(
array $contents,
int $line_index = null)</code>
</h3>
<div class="details">
<div class="method-description">
<p>Add a new table footer line</p> </div>
<div class="tags">
<h4>Parameters</h4>
<table class="table table-condensed">
<tr>
<td>
array</td>
<td>$contents</td>
<td>The content of the line</td>
</tr>
<tr>
<td>
int</td>
<td>$line_index</td>
<td>The index of the line to set, if <code>null</code>, the line will be added at
the end of the footers</td>
</tr>
</table>
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a></td>
<td>
</td>
</tr>
</table>
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::_setPartLine()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_setFooterColumn">
<div class="location">at line 803</div>
<code>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
<strong>setFooterColumn</strong>(
array $contents = array(),
int $column_index = null,
mixed $default = null)</code>
</h3>
<div class="details">
<div class="method-description">
<p>Set a column in the table footers</p> </div>
<div class="tags">
<h4>Parameters</h4>
<table class="table table-condensed">
<tr>
<td>
array</td>
<td>$contents</td>
<td>The content of the column</td>
</tr>
<tr>
<td>
int</td>
<td>$column_index</td>
<td>The index of the column to set, if <code>null</code>, the column will be added at
the end of each line</td>
</tr>
<tr>
<td>
mixed</td>
<td>$default</td>
<td>The default value for empty cells, if <code>null</code>, the class will use its <code>pad_flag</code></td>
</tr>
</table>
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a></td>
<td>
</td>
</tr>
</table>
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::_setPartColumn()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_addFooterColumn">
<div class="location">at line 819</div>
<code>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
<strong>addFooterColumn</strong>(
array $contents = array(),
int $column_index = null,
mixed $default = null)</code>
</h3>
<div class="details">
<div class="method-description">
<p>Add a new column in the table footers</p> </div>
<div class="tags">
<h4>Parameters</h4>
<table class="table table-condensed">
<tr>
<td>
array</td>
<td>$contents</td>
<td>The content of the column</td>
</tr>
<tr>
<td>
int</td>
<td>$column_index</td>
<td>The index of the column to set, if <code>null</code>, the column will be added at
the end of each line</td>
</tr>
<tr>
<td>
mixed</td>
<td>$default</td>
<td>The default value for empty cells, if <code>null</code>, the class will use its <code>pad_flag</code></td>
</tr>
</table>
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a></td>
<td>
</td>
</tr>
</table>
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::_setPartColumn()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_setFooterCell">
<div class="location">at line 836</div>
<code>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
<strong>setFooterCell</strong>(
array $content,
int $line_index = null,
int $cell_index = null)</code>
</h3>
<div class="details">
<div class="method-description">
<p>Set a table footer cell</p> </div>
<div class="tags">
<h4>Parameters</h4>
<table class="table table-condensed">
<tr>
<td>
array</td>
<td>$content</td>
<td>The content of the cell</td>
</tr>
<tr>
<td>
int</td>
<td>$line_index</td>
<td>The index of the line to set, if <code>null</code>, the line will be added at
the footers'last line</td>
</tr>
<tr>
<td>
int</td>
<td>$cell_index</td>
<td>The index of the cell to set in the line, if <code>null</code>, the cell will
be added at the end of the line</td>
</tr>
</table>
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a></td>
<td>
</td>
</tr>
</table>
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::_setPartCell()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_addFooterCell">
<div class="location">at line 853</div>
<code>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a>
<strong>addFooterCell</strong>(
array $content,
int $line_index = null,
int $cell_index = null)</code>
</h3>
<div class="details">
<div class="method-description">
<p>Add a new table footer cell</p> </div>
<div class="tags">
<h4>Parameters</h4>
<table class="table table-condensed">
<tr>
<td>
array</td>
<td>$content</td>
<td>The content of the cell</td>
</tr>
<tr>
<td>
int</td>
<td>$line_index</td>
<td>The index of the line to set, if <code>null</code>, the line will be added at
the footers'last line</td>
</tr>
<tr>
<td>
int</td>
<td>$cell_index</td>
<td>The index of the cell to set in the line, if <code>null</code>, the cell will
be added at the end of the line</td>
</tr>
</table>
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
<a href="../../Library/Tool/Table.html"><abbr title="Library\Tool\Table">Table</abbr></a></td>
<td>
</td>
</tr>
</table>
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::_setPartCell()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_getFooter">
<div class="location">at line 865</div>
<code>
array
<strong>getFooter</strong>()</code>
</h3>
<div class="details">
<div class="method-description">
<p>Get the table footers lines</p> </div>
<div class="tags">
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
array</td>
<td>The lines array</td>
</tr>
</table>
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::_getPart()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_getFooterLine">
<div class="location">at line 877</div>
<code>
array
<strong>getFooterLine</strong>(
int $line_index = null)</code>
</h3>
<div class="details">
<div class="method-description">
<p>Get a table footers line</p> </div>
<div class="tags">
<h4>Parameters</h4>
<table class="table table-condensed">
<tr>
<td>
int</td>
<td>$line_index</td>
<td>The index of the line to get, if <code>null</code>, the last line is returned</td>
</tr>
</table>
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
array</td>
<td>The corresponding line</td>
</tr>
</table>
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::_getPartLine()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_getFooterColumn">
<div class="location">at line 889</div>
<code>
array
<strong>getFooterColumn</strong>(
int $column_index = null)</code>
</h3>
<div class="details">
<div class="method-description">
<p>Get a table footers column</p> </div>
<div class="tags">
<h4>Parameters</h4>
<table class="table table-condensed">
<tr>
<td>
int</td>
<td>$column_index</td>
<td>The index of the column to get, if <code>null</code>, the last line is returned</td>
</tr>
</table>
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
array</td>
<td>The corresponding column</td>
</tr>
</table>
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::_getPartColumn()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_getFooterCell">
<div class="location">at line 902</div>
<code>
array
<strong>getFooterCell</strong>(
int $line_index = null,
int $cell_index = null)</code>
</h3>
<div class="details">
<div class="method-description">
<p>Get a table footers cell</p> </div>
<div class="tags">
<h4>Parameters</h4>
<table class="table table-condensed">
<tr>
<td>
int</td>
<td>$line_index</td>
<td>The index of the line to get, if <code>null</code>, the last line is returned</td>
</tr>
<tr>
<td>
int</td>
<td>$cell_index</td>
<td>The index of the cell to get in the line, if <code>null</code>, the last cell is returned</td>
</tr>
</table>
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
array</td>
<td>The corresponding cell</td>
</tr>
</table>
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::_getPartCell()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_getTableColumnSize">
<div class="location">at line 912</div>
<code>
int
<strong>getTableColumnSize</strong>()</code>
</h3>
<div class="details">
<div class="method-description">
<p>Get the table columns size</p> </div>
<div class="tags">
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
int</td>
<td>
</td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_getTableLineSize">
<div class="location">at line 925</div>
<code>
int
<strong>getTableLineSize</strong>()</code>
</h3>
<div class="details">
<div class="method-description">
<p>Get the table lines size</p> </div>
<div class="tags">
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
int</td>
<td>
</td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_getTableCellSize">
<div class="location">at line 938</div>
<code>
int
<strong>getTableCellSize</strong>()</code>
</h3>
<div class="details">
<div class="method-description">
<p>Get the table cells size</p> </div>
<div class="tags">
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
int</td>
<td>
</td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_getSizesInfos">
<div class="location">at line 951</div>
<code>
string
<strong>getSizesInfos</strong>()</code>
</h3>
<div class="details">
<div class="method-description">
<p>Get a string information presenting an overview of the table</p> </div>
<div class="tags">
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
string</td>
<td>
</td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method__resetSizes">
<div class="location">at line 1280</div>
<code>
void
<strong>_resetSizes</strong>()</code>
</h3>
<div class="details">
<div class="method-description">
<p>Reset the table sizes</p> </div>
<div class="tags">
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
void</td>
<td>
</td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_render">
<div class="location">at line 1327</div>
<code>
string
<strong>render</strong>(
int $str_pad_flag = STR_PAD_RIGHT)</code>
</h3>
<div class="details">
<div class="method-description">
<p>Plain text rendering of the table</p> </div>
<div class="tags">
<h4>Parameters</h4>
<table class="table table-condensed">
<tr>
<td>
int</td>
<td>$str_pad_flag</td>
<td>One of the PHP internal <code>str_pad()</code> <code>$pad_type</code></td>
</tr>
</table>
<h4>Return Value</h4>
<table class="table table-condensed">
<tr>
<td>
string</td>
<td>
</td>
</tr>
</table>
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>str_pad()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_setContents">
<div class="location">at line 1399</div>
<code>
<strong>setContents</strong>()</code>
</h3>
<div class="details">
<div class="tags">
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::setBody()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_setContentLine">
<div class="location">at line 1407</div>
<code>
<strong>setContentLine</strong>()</code>
</h3>
<div class="details">
<div class="tags">
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::setBodyLine()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_addContentLine">
<div class="location">at line 1415</div>
<code>
<strong>addContentLine</strong>()</code>
</h3>
<div class="details">
<div class="tags">
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::addBodyLine()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_setContentColumn">
<div class="location">at line 1423</div>
<code>
<strong>setContentColumn</strong>()</code>
</h3>
<div class="details">
<div class="tags">
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::setBodyColumn()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_setContentCol">
<div class="location">at line 1431</div>
<code>
<strong>setContentCol</strong>()</code>
</h3>
<div class="details">
<div class="tags">
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::setBodyColumn()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_setBodyCol">
<div class="location">at line 1439</div>
<code>
<strong>setBodyCol</strong>()</code>
</h3>
<div class="details">
<div class="tags">
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::setBodyColumn()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_addContentColumn">
<div class="location">at line 1447</div>
<code>
<strong>addContentColumn</strong>()</code>
</h3>
<div class="details">
<div class="tags">
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::addBodyColumn()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_addContentCol">
<div class="location">at line 1455</div>
<code>
<strong>addContentCol</strong>()</code>
</h3>
<div class="details">
<div class="tags">
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::addBodyColumn()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_addBodyCol">
<div class="location">at line 1463</div>
<code>
<strong>addBodyCol</strong>()</code>
</h3>
<div class="details">
<div class="tags">
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::addBodyColumn()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_setContentCell">
<div class="location">at line 1471</div>
<code>
<strong>setContentCell</strong>()</code>
</h3>
<div class="details">
<div class="tags">
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::setBodyCell()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_addContentCell">
<div class="location">at line 1479</div>
<code>
<strong>addContentCell</strong>()</code>
</h3>
<div class="details">
<div class="tags">
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::addBodyCell()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_getContents">
<div class="location">at line 1487</div>
<code>
<strong>getContents</strong>()</code>
</h3>
<div class="details">
<div class="tags">
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::getBody()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_getContentLine">
<div class="location">at line 1495</div>
<code>
<strong>getContentLine</strong>()</code>
</h3>
<div class="details">
<div class="tags">
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::getBodyLine()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_getContentColumn">
<div class="location">at line 1503</div>
<code>
<strong>getContentColumn</strong>()</code>
</h3>
<div class="details">
<div class="tags">
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::getBodyColumn()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_getContentCol">
<div class="location">at line 1511</div>
<code>
<strong>getContentCol</strong>()</code>
</h3>
<div class="details">
<div class="tags">
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::getBodyColumn()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_getBodyCol">
<div class="location">at line 1519</div>
<code>
<strong>getBodyCol</strong>()</code>
</h3>
<div class="details">
<div class="tags">
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::getBodyColumn()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_getContentCell">
<div class="location">at line 1527</div>
<code>
<strong>getContentCell</strong>()</code>
</h3>
<div class="details">
<div class="tags">
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::getBodyCell()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_getTableColSize">
<div class="location">at line 1535</div>
<code>
<strong>getTableColSize</strong>()</code>
</h3>
<div class="details">
<div class="tags">
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::getTableColumnSize()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_getCol">
<div class="location">at line 1543</div>
<code>
<strong>getCol</strong>()</code>
</h3>
<div class="details">
<div class="tags">
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::getBodyColumn()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_getHeaderCol">
<div class="location">at line 1551</div>
<code>
<strong>getHeaderCol</strong>()</code>
</h3>
<div class="details">
<div class="tags">
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::getHeaderColumn()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_addHeaderCol">
<div class="location">at line 1559</div>
<code>
<strong>addHeaderCol</strong>()</code>
</h3>
<div class="details">
<div class="tags">
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::addHeaderColumn()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_setHeaderCol">
<div class="location">at line 1567</div>
<code>
<strong>setHeaderCol</strong>()</code>
</h3>
<div class="details">
<div class="tags">
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::setHeaderColumn()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_getFooterCol">
<div class="location">at line 1575</div>
<code>
<strong>getFooterCol</strong>()</code>
</h3>
<div class="details">
<div class="tags">
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::getFooterColumn()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_addFooterCol">
<div class="location">at line 1583</div>
<code>
<strong>addFooterCol</strong>()</code>
</h3>
<div class="details">
<div class="tags">
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::addFooterColumn()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_setFooterCol">
<div class="location">at line 1591</div>
<code>
<strong>setFooterCol</strong>()</code>
</h3>
<div class="details">
<div class="tags">
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::setFooterColumn()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_getColumnSize">
<div class="location">at line 1599</div>
<code>
<strong>getColumnSize</strong>()</code>
</h3>
<div class="details">
<div class="tags">
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::getTableColumnSize()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_getColSize">
<div class="location">at line 1607</div>
<code>
<strong>getColSize</strong>()</code>
</h3>
<div class="details">
<div class="tags">
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::getTableColumnSize()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_getLineSize">
<div class="location">at line 1615</div>
<code>
<strong>getLineSize</strong>()</code>
</h3>
<div class="details">
<div class="tags">
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::getTableLineSize()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div class="method-item">
<h3 id="method_getCellSize">
<div class="location">at line 1623</div>
<code>
<strong>getCellSize</strong>()</code>
</h3>
<div class="details">
<div class="tags">
<h4>See also</h4>
<table class="table table-condensed">
<tr>
<td>self::getTableCellSize()</td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
</div>
</div>
<div id="footer">
Generated by <a href="http://sami.sensiolabs.org/">Sami, the API Documentation Generator</a>.
</div>
</div>
</div>
</body>
</html>