[Vtigercrm-commits] [vtiger-commits] r5494 - /vtigercrm/trunk/include/utils/DetailViewUtils.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Thu Apr 27 11:01:47 EDT 2006


Author: saraj
Date: Thu Apr 27 09:01:43 2006
New Revision: 5494

Log:
log entries have been inserted in all functions

Modified:
    vtigercrm/trunk/include/utils/DetailViewUtils.php

Modified: vtigercrm/trunk/include/utils/DetailViewUtils.php
==============================================================================
--- vtigercrm/trunk/include/utils/DetailViewUtils.php (original)
+++ vtigercrm/trunk/include/utils/DetailViewUtils.php Thu Apr 27 09:01:43 2006
@@ -37,6 +37,8 @@
 
 function getDetailViewOutputHtml($uitype, $fieldname, $fieldlabel, $col_fields,$generatedtype,$tabid='')
 {
+	global $log;
+	$log->debug("Entering getDetailViewOutputHtml(".$uitype.",". $fieldname.",". $fieldlabel.",". $col_fields.",".$generatedtype.",".$tabid.") method ...");
 	global $adb;
 	global $mod_strings;
 	global $app_strings;
@@ -730,6 +732,7 @@
 		$label_fld[] = $col_fields[$fieldname];
 	}
 	$label_fld[]=$uitype;
+	$log->debug("Exiting getDetailViewOutputHtml method ...");
 	return $label_fld;
 }
 
@@ -741,6 +744,8 @@
 
 function getDetailAssociatedProducts($module,$focus)
 {
+	global $log;
+	$log->debug("Entering getDetailAssociatedProducts(".$module.",".$focus.") method ...");
 	global $adb;
 	global $theme;
 	global $log;
@@ -840,6 +845,7 @@
 	$output .= '</tr>';
 	$output .= '</table>';
 
+	$log->debug("Exiting getDetailAssociatedProducts method ...");
 	return $output;
 
 }
@@ -852,6 +858,8 @@
 		
 function getRelatedLists($module,$focus)
 {
+	global $log;
+	$log->debug("Entering getRelatedLists(".$module.",".$focus.") method ...");
 	global $adb;
 	global $current_user;
 	require('user_privileges/user_privileges_'.$current_user->id.'.php');
@@ -882,6 +890,7 @@
 			$focus_list[$label] = $focus->$function_name($focus->id);
 		}
 	}
+	$log->debug("Exiting getRelatedLists method ...");
 	return $focus_list;
 }
 
@@ -895,6 +904,8 @@
 
 function getDetailBlockInformation($module, $result,$col_fields,$tabid,$block_label)
 {
+	global $log;
+	$log->debug("Entering getDetailBlockInformation(".$module.",". $result.",".$col_fields.",".$tabid.",".$block_label.") method ...");
 	global $adb;
 	global $current_user;
 	global $mod_strings;
@@ -962,6 +973,7 @@
 				$returndata[$mod_strings[$label]]=array_merge((array)$returndata[$mod_strings[$label]],(array)$label_data[$blockid]);
 		}
 	}
+	$log->debug("Exiting getDetailBlockInformation method ...");
 	return $returndata;
 
 





More information about the vtigercrm-commits mailing list