The supplied callback argument will be called when the error is rendered,
it should produce a simple associative array. Any nested arrays will
be flattened with print_r.
public addDataTableCallback ( string $label, callable $callback ) | ||
$label | string | |
$callback | callable | Callable returning an associative array |