|
Squiz Matrix
4.12.2
|
Public Member Functions | |
| ArrayToTextTable ($rows) | |
| showHeaders ($bool) | |
| setMaxWidth ($maxWidth) | |
| setMaxHeight ($maxHeight) | |
| render ($return=false) | |
Array to Text Table Generation Class
Definition at line 1576 of file matrixsqlclient.php.
| ArrayToTextTable | ( | $rows | ) |
Prepare array into textual format
| array | $rows | The input array |
| bool | $head | Show heading |
| int | $maxWidth | Max Column Height (returns) |
| int | $maxHeight | Max Row Width (chars) |
Definition at line 1621 of file matrixsqlclient.php.
| render | ( | $return = false | ) |
Prints the data to a text table
| bool | $return | Set to 'true' to return text rather than printing |
Definition at line 1672 of file matrixsqlclient.php.
| setMaxHeight | ( | $maxHeight | ) |
Set the maximum height (number of lines) per row before truncating
| int | $maxHeight |
Definition at line 1661 of file matrixsqlclient.php.
| setMaxWidth | ( | $maxWidth | ) |
Set the maximum width (number of characters) per column before truncating
| int | $maxWidth |
Definition at line 1651 of file matrixsqlclient.php.
| showHeaders | ( | $bool | ) |
Show the headers using the key values of the array for the titles
| bool | $bool |
Definition at line 1641 of file matrixsqlclient.php.