__construct() __construct(array $rows) Prepare array into textual format Parameters array $rows The input array
showHeaders() showHeaders(boolean $bool) Show the headers using the key values of the array for the titles Parameters boolean $bool
setMaxWidth() setMaxWidth(integer $maxWidth) Set the maximum width (number of characters) per column before truncating Parameters integer $maxWidth
setMaxHeight() setMaxHeight(integer $maxHeight) Set the maximum height (number of lines) per row before truncating Parameters integer $maxHeight
render() render(boolean $return = false): mixed Prints the data to a text table Parameters boolean $return Set to 'true' to return text rather than printing Returnsmixed
mbStPad() mbStPad( $input, $pad_length, $pad_string, $pad_style, $encoding = "UTF-8") Parameters $input $pad_length $pad_string $pad_style $encoding