Utility class contains some utilities still not inserted in dedicated classes.

Output flow control

  • static void Utility::hide_output() -> collects every output that will be normally sent to standard output
  • static string Utility::show_output() -> return a string containing all the previosly collected output
  • static void Utility::redirect($page) -> redirects the browser to $page

This page was last edited on 6 May 2016, at 10:39. Content is available under Creative Commons License SA 4.0 unless otherwise noted.