[Vtigercrm-commits] [vtiger-commits] r8014 - /vtigercrm/trunk/modules/Portal/Portal.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu Jul 13 16:14:27 EDT 2006
Author: richie
Date: Thu Jul 13 14:14:24 2006
New Revision: 8014
Log:
docs added
Modified:
vtigercrm/trunk/modules/Portal/Portal.php
Modified: vtigercrm/trunk/modules/Portal/Portal.php
==============================================================================
--- vtigercrm/trunk/modules/Portal/Portal.php (original)
+++ vtigercrm/trunk/modules/Portal/Portal.php Thu Jul 13 14:14:24 2006
@@ -10,6 +10,12 @@
********************************************************************************/
+/** Function to save the portal in database
+ * @param $portalname : Type String
+ * @param $portalurl : Type String
+ * This function saves the portal with the given $portalname,$portalurl
+ * This Returns $portalid
+ */
function SavePortal($portalname,$portalurl)
{
global $adb;
@@ -20,7 +26,13 @@
$result=$adb->query($query);
return $portalid;
}
-
+/** Function to update the portal in database
+ * @param $portalname : Type String
+ * @param $portalurl : Type String
+ * @param $portalid : Type Integer
+ * This function updates the portal with the given $portalname,$portalurl
+ * This Returns $portalid
+ */
function UpdatePortal($portalname,$portalurl,$portalid)
{
global $adb;
More information about the vtigercrm-commits
mailing list