[Vtigercrm-commits] [vtiger-commits] r6399 - /vtigercrm/trunk/include/utils/ListViewUtils.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed May 24 23:26:10 EDT 2006
Author: saraj
Date: Wed May 24 21:26:06 2006
New Revision: 6399
Log:
Comments added
Modified:
vtigercrm/trunk/include/utils/ListViewUtils.php
Modified: vtigercrm/trunk/include/utils/ListViewUtils.php
==============================================================================
--- vtigercrm/trunk/include/utils/ListViewUtils.php (original)
+++ vtigercrm/trunk/include/utils/ListViewUtils.php Wed May 24 21:26:06 2006
@@ -2465,6 +2465,14 @@
}
+/**This function returns the pagination and navigation values in html format for a listview in a given module
+Param $navigation_array - navigation values in array
+Param $url_qry - url string
+Param $module - module name
+Param $action_val - action value
+Param $viewid - customview id
+Return type string.
+*/
function getTableHeaderNavigation($navigation_array, $url_qry,$module='',$action_val='index',$viewid='')
{
@@ -2584,11 +2592,19 @@
}
}
-//Temp function to be be deleted
+/**This function returns the pagination and navigation values in html format for a related module listview in a given module
+Param $navigation_array - navigation values in array
+Param $url_qry - url string
+Param $module - module name
+Param $action_val - action value
+Param $viewid - customview id
+Return type string.
+*/
+
function getRelatedTableHeaderNavigation($navigation_array, $url_qry,$module='',$action_val='CallRelatedList',$viewid='')
{
global $log;
- $log->debug("Entering getTableHeaderNavigation(".$navigation_array.",". $url_qry.",".$module.",".$action_val.",".$viewid.") method ...");
+ $log->debug("Entering getRelatedTableHeaderNavigation(".$navigation_array.",". $url_qry.",".$module.",".$action_val.",".$viewid.") method ...");
global $theme;
$theme_path="themes/".$theme."/";
$image_path=$theme_path."images/";
@@ -2623,7 +2639,7 @@
$output .= '<img src="'.$image_path.'end_disabled.gif" border="0" align="absmiddle"> ';
}
$output .= '</td>';
- $log->debug("Exiting getTableHeaderNavigation method ...");
+ $log->debug("Exiting getRelatedTableHeaderNavigation method ...");
if($navigation_array['first']=='')
return;
else
More information about the vtigercrm-commits
mailing list