Ocs-server/Gfx4/Utilities

From KDE Community Wiki
Revision as of 10:39, 6 May 2016 by Snizzo (talk | contribs) (Created page with "Utility class contains some utilities still not inserted in dedicated classes. ==Output flow control== * '''static void Utility::hide_output()''' -> collects every output tha...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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