[Phpslash-commit] CVS: phpslash-dev/include/class functions.inc,1.13,1.14
Brought to you by:
joestewart,
nhruby
From: Peter C. <kr...@us...> - 2004-06-22 20:51:02
|
Update of /cvsroot/phpslash/phpslash-dev/include/class In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7392/include/class Modified Files: functions.inc Log Message: Reorganised and grouped functions removing old and unused functions Index: functions.inc =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/include/class/functions.inc,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** functions.inc 4 Mar 2004 21:45:16 -0000 1.13 --- functions.inc 22 Jun 2004 20:50:53 -0000 1.14 *************** *** 4,8 **** --- 4,101 ---- * * @version $Id$ + * + * THE FUNCTIONS HAVE MOVED AROUND!! + * June 2004 - There's been a bit of a rationalisation of this file - you might have notcied! + * This is a detailed list of how things are grouped. Feel free to suggest new sections (or changes + * to categorisations, but when you add a new function, please try to put it in the right place! + * + * HTML FORMATTING: ERRORS AND MESSAGES [...3133 lines suppressed...] + + /** + * return a string detailing structure of $var + * + * @author Matthew Leingang (sym...@us...) + * @require output buffering (built into PHP4) + * @see print_r + * @access public + * @param mixed + * @return string + */ + function get_r($var) { + ob_start(); + print_r($var); + $ans = ob_get_contents(); + ob_end_clean(); + return $ans; + } + ?> |