[Phpslash-commit] CVS: phpslash-ft/class tz_functions.inc,1.2,1.3
Brought to you by:
joestewart,
nhruby
From: Matthew L. <sym...@us...> - 2003-02-11 14:02:01
|
Update of /cvsroot/phpslash/phpslash-ft/class In directory sc8-pr-cvs1:/tmp/cvs-serv16243 Modified Files: tz_functions.inc Log Message: cosmetic debugging code changes Index: tz_functions.inc =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/class/tz_functions.inc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** tz_functions.inc 11 Dec 2002 19:39:56 -0000 1.2 --- tz_functions.inc 11 Feb 2003 14:01:57 -0000 1.3 *************** *** 61,70 **** function tz_generic() { $fn = "tz_generic"; ! // echo "$fn: begin\n"; GLOBAL $_TZ; $argv = func_get_args(); $method = array_shift($argv); ! //echo "method: $method\n"; ! //echo "object class: ", get_class($_TZ['obj']), "\n"; return call_user_func_array(array(&$_TZ['obj'],$method),$argv); } --- 61,70 ---- function tz_generic() { $fn = "tz_generic"; ! // debug($fn,'begin'); GLOBAL $_TZ; $argv = func_get_args(); $method = array_shift($argv); ! // debug('method',$method); ! // debug('object class', get_class($_TZ['obj'])); return call_user_func_array(array(&$_TZ['obj'],$method),$argv); } *************** *** 122,126 **** */ function tz_strftime($fmt,$t=false) { ! return tz_generic('strftime',$fmt,$t); } --- 122,127 ---- */ function tz_strftime($fmt,$t=false) { ! // debug(sprintf("tz_strftime(%s,%s)",$fmt, $t? $t: 'FALSE'),'begin'); ! return tz_generic('strftime',$fmt,$t); } |