[Vtigercrm-commits] [vtiger-commits] r8035 - /vtigercrm/trunk/modules/Leads/ListViewTop.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu Jul 13 18:16:05 EDT 2006
Author: saraj
Date: Thu Jul 13 16:16:02 2006
New Revision: 8035
Log:
API Written
Modified:
vtigercrm/trunk/modules/Leads/ListViewTop.php
Modified: vtigercrm/trunk/modules/Leads/ListViewTop.php
==============================================================================
--- vtigercrm/trunk/modules/Leads/ListViewTop.php (original)
+++ vtigercrm/trunk/modules/Leads/ListViewTop.php Thu Jul 13 16:16:02 2006
@@ -20,6 +20,9 @@
* Contributor(s): ______________________________________..
********************************************************************************/
+/** Function to get the 5 New Leads
+ *return array $values - array with the title, header and entries like Array('Title'=>$title,'Header'=>$listview_header,'Entries'=>$listview_entries) where as listview_header and listview_entries are arrays of header and entity values which are returned from function getListViewHeader and getListViewEntries
+*/
function getNewLeads()
{
global $log;
@@ -124,6 +127,10 @@
if (($display_empty_home_blocks && count($entries) == 0 ) || (count($entries)>0))
return $values;
}
+/** Function to get the Lead View from the Combo List
+ * @param string $lead_view - (eg today, last 2 days)
+ * Returns the Lead view select option
+*/
function getLeadView($lead_view)
{
global $log;
More information about the vtigercrm-commits
mailing list