[Vtigercrm-commits] [vtiger-commits] r7998 - /vtigercrm/trunk/modules/Settings/LeadCustomFieldMapping.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu Jul 13 12:39:42 EDT 2006
Author: richie
Date: Thu Jul 13 10:39:39 2006
New Revision: 7998
Log:
API docs and logs updated
Modified:
vtigercrm/trunk/modules/Settings/LeadCustomFieldMapping.php
Modified: vtigercrm/trunk/modules/Settings/LeadCustomFieldMapping.php
==============================================================================
--- vtigercrm/trunk/modules/Settings/LeadCustomFieldMapping.php (original)
+++ vtigercrm/trunk/modules/Settings/LeadCustomFieldMapping.php Thu Jul 13 10:39:39 2006
@@ -21,6 +21,12 @@
require_once($theme_path.'layout_utils.php');
$smarty->assign("IMAGE_PATH", $image_path);
+/**
+ * Function to get Account custom fields
+ * @param integer $leadid - lead customfield id
+ * @param integer $accountid - account customfield id
+ * return array $accountcf - account customfield
+ */
function getAccountCustomValues($leadid,$accountid)
{
global $adb;
@@ -44,6 +50,12 @@
return $accountcf;
}
+/**
+ * Function to get contact custom fields
+ * @param integer $leadid - lead customfield id
+ * @param integer $contactid - contact customfield id
+ * return array $contactcf - contact customfield
+ */
function getContactCustomValues($leadid,$contactid)
{
global $adb;
@@ -66,6 +78,12 @@
return $contactcf;
}
+/**
+ * Function to get potential custom fields
+ * @param integer $leadid - lead customfield id
+ * @param integer $potentialid - potential customfield id
+ * return array $potentialcf - potential customfield
+ */
function getPotentialCustomValues($leadid,$potentialid)
{
global $adb;
@@ -87,6 +105,11 @@
$potentialcf[$leadid.'_potential']=$potential_cfelement;
return $potentialcf;
}
+
+/**
+ * Function to get leads mapping custom fields
+ * return array $leadcf - mapping custom fields
+ */
function customFieldMappings()
{
More information about the vtigercrm-commits
mailing list