[Vtigercrm-commits] [vtiger-commits] r5552 - /vtigercrm/trunk/include/SearchBlock.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Fri Apr 28 00:04:52 EDT 2006
Author: saraj
Date: Thu Apr 27 22:04:48 2006
New Revision: 5552
Log:
logs entries inserted in all functions
Modified:
vtigercrm/trunk/include/SearchBlock.php
Modified: vtigercrm/trunk/include/SearchBlock.php
==============================================================================
--- vtigercrm/trunk/include/SearchBlock.php (original)
+++ vtigercrm/trunk/include/SearchBlock.php Thu Apr 27 22:04:48 2006
@@ -11,6 +11,8 @@
function BuildSearchForm($focus)
{
+ global $log;
+ $log->debug("Entering BuildSearchForm(".$focus.") method ...");
global $current_module_strings,$app_strings,$adb;
$advanced = (isset($_REQUEST['advanced']) && $_REQUEST['advanced'] == 'true');
@@ -20,6 +22,7 @@
print_r($base);
print_r($custom);
print_r($focus);
+ $log->debug("Exiting BuildSearchForm method ...");
return "";
}
@@ -57,11 +60,14 @@
// Now, reset/reload template so partials are scanned
$search_form->blocks = $search_form->maketree($search_form->filecontents,"main");
$search_form->scan_globals();
+ $log->debug("Exiting BuildSearchForm method ...");
return $search_form;
}
function SearchFieldBlock($tableName,$colidName,$tabsrch, $basic=true,$advanced=false,$block=0,$label="",$fields=array(),$doadvanced=true)
{
+ global $log;
+ $log->debug("Entering SearchFieldBlock(".$tableName.",".$colidName.",".$tabsrch.",". $basic.",".$advanced.",".$block.",".$label.",".$fields.") method ...");
global $sorder, $order_by, $viewid, $currentModule;
global $adb,$app_strings,$mod_strings;
@@ -251,6 +257,7 @@
echo "</div>";
*/
+ $log->debug("Exiting SearchFieldBlock method ...");
return $res;
}
}
More information about the vtigercrm-commits
mailing list