[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: phpgwapi/inc functions.inc.php,1.121.2.2,1.121.2
From: |
Dan Kuykendall <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpgwapi/inc functions.inc.php,1.121.2.2,1.121.2.3 |
Date: |
Tue, 12 Feb 2002 05:05:29 -0500 |
Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv30671/phpgwapi/inc
Modified Files:
Tag: Version-0_9_14-branch
functions.inc.php
Log Message:
finished multi-dimensional array support for data type debugging
Index: functions.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/functions.inc.php,v
retrieving revision 1.121.2.2
retrieving revision 1.121.2.3
diff -C2 -r1.121.2.2 -r1.121.2.3
*** functions.inc.php 12 Feb 2002 09:55:54 -0000 1.121.2.2
--- functions.inc.php 12 Feb 2002 10:05:25 -0000 1.121.2.3
***************
*** 79,91 ****
if (!is_array($var))
{
! if ($var != 'messageonly')
{
! if (DEBUG_DATATYPES == True)
{
! echo "$message\n$var is
a ".gettype($var)."<br>\n";
}
else
{
! echo
"$message\n$var<br>\n";
}
}
--- 79,91 ----
if (!is_array($var))
{
! if ($var == 'messageonly')
{
! if (!DEBUG_DATATYPES)
{
! echo
"$message\n$var<br>\n";
}
else
{
! echo "$message\n$var is
a ".gettype($var)."<br>\n";
}
}
***************
*** 99,103 ****
echo "<pre>\n$message\n";
print_r($var);
! if (DEBUG_DATATYPES == True)
{
while(list($key, $value) =
each($var))
--- 99,103 ----
echo "<pre>\n$message\n";
print_r($var);
! if (DEBUG_DATATYPES)
{
while(list($key, $value) =
each($var))
***************
*** 113,117 ****
}
}
! echo "data types:\n";
print_r($vartypes);
}
--- 113,117 ----
}
}
! echo "Data Types:\n";
print_r($vartypes);
}
***************
*** 121,126 ****
}
}
- print_debug('the phpgw_info array',$GLOBALS['phpgw_domain']);
- print_debug('test 2','sometext');
/*!
--- 121,124 ----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: phpgwapi/inc functions.inc.php,1.121.2.2,1.121.2.3,
Dan Kuykendall <address@hidden> <=