[Vtigercrm-commits] [vtiger-commits] r8034 - /vtigercrm/trunk/modules/Leads/LeadConvertToEntities.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu Jul 13 18:08:08 EDT 2006
Author: saraj
Date: Thu Jul 13 16:08:05 2006
New Revision: 8034
Log:
API Written - ahmed
Modified:
vtigercrm/trunk/modules/Leads/LeadConvertToEntities.php
Modified: vtigercrm/trunk/modules/Leads/LeadConvertToEntities.php
==============================================================================
--- vtigercrm/trunk/modules/Leads/LeadConvertToEntities.php (original)
+++ vtigercrm/trunk/modules/Leads/LeadConvertToEntities.php Thu Jul 13 16:08:05 2006
@@ -43,7 +43,10 @@
$date_entered = date('YmdHis');
$date_modified = date('YmdHis');
-//function for getting the custom values from leads and saving to vtiger_account/contact/potential custom vtiger_fields -Jag
+/** Function for getting the custom values from leads and saving to vtiger_account/contact/potential custom vtiger_fields.
+ * @param string $type - Field Type (eg: text, list)
+ * @param integer $type_id - Field Type ID
+*/
function getInsertValues($type,$type_id)
{
global $id,$adb,$log;
@@ -130,6 +133,10 @@
}
//function Ends
+/** Function used to get the lead related Notes and Attachments with other entities Account, Contact and Potential
+ * @param integer $id - leadid
+ * @param integer $accountid - related entity id (accountid)
+ */
function getRelatedNotesAttachments($id,$accountid)
{
global $adb,$log,$id;
@@ -171,6 +178,10 @@
}
+/** Function used to get the lead related activities with other entities Account and Contact
+ * @param integer $accountid - related entity id
+ * @param integer $contact_id - related entity id
+ */
function getRelatedActivities($accountid,$contact_id)
{
global $adb,$log,$id;
More information about the vtigercrm-commits
mailing list