/** * Data post processing, this is useful to alter a table * content before it is printed on the screen, it should * not be changed here, it will call datamap class. */ private function post_process() { $this->data = datamap::post_process($this->data); $this->columns = functions::get_columns((array) next($this->data)); }