[Vtigercrm-commits] [vtiger-commits] r7979 - in /vtigercrm/trunk: Smarty_setup.php index.php install.php phprint.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Thu Jul 13 08:42:08 EDT 2006


Author: saraj
Date: Thu Jul 13 06:42:02 2006
New Revision: 7979

Log:
added api docs for functions

Modified:
    vtigercrm/trunk/Smarty_setup.php
    vtigercrm/trunk/index.php
    vtigercrm/trunk/install.php
    vtigercrm/trunk/phprint.php

Modified: vtigercrm/trunk/Smarty_setup.php
==============================================================================
--- vtigercrm/trunk/Smarty_setup.php (original)
+++ vtigercrm/trunk/Smarty_setup.php Thu Jul 13 06:42:02 2006
@@ -12,6 +12,8 @@
 require('Smarty/libs/Smarty.class.php');
 class vtigerCRM_Smarty extends Smarty{
 	
+	/**This function sets the smarty directory path for the member variables	
+	*/
 	function vtigerCRM_Smarty()
 	{
 		$this->Smarty();

Modified: vtigercrm/trunk/index.php
==============================================================================
--- vtigercrm/trunk/index.php (original)
+++ vtigercrm/trunk/index.php Thu Jul 13 06:42:02 2006
@@ -35,6 +35,11 @@
 
 global $currentModule;
 
+ /** Function to  return a string with backslashes stripped off
+   * @param $value -- value:: Type string
+   * @returns $value -- value:: Type string array
+ */
+	  
  function stripslashes_checkstrings($value){
         if(is_string($value)){
                 return stripslashes($value);
@@ -56,6 +61,10 @@
 	//Setting the same session id to Forums as in CRM
         $sid=$_REQUEST['PHPSESSID'];
 }	
+
+/** Function to set, character set in the header, as given in include/language/*_lang.php
+ */
+	 
 function insert_charset_header()
 {
  	global $app_strings, $default_charset;

Modified: vtigercrm/trunk/install.php
==============================================================================
--- vtigercrm/trunk/install.php (original)
+++ vtigercrm/trunk/install.php Thu Jul 13 06:42:02 2006
@@ -23,7 +23,10 @@
 	ini_set("zend.ze1_compatibility_mode", "1");
 }
 
-
+/** Function to  return a string with backslashes stripped off
+ * @param $value -- value:: Type string
+ * @returns $value -- value:: Type string array
+ */
  function stripslashes_checkstrings($value){
  	if(is_string($value)){
  		return stripslashes($value);

Modified: vtigercrm/trunk/phprint.php
==============================================================================
--- vtigercrm/trunk/phprint.php (original)
+++ vtigercrm/trunk/phprint.php Thu Jul 13 06:42:02 2006
@@ -34,6 +34,8 @@
 require_once("config.inc.php");
 require_once("include/utils/utils.php");
 
+/** Function to set, character set in the header, as given in include/language/*_lang.php
+ */
   function insert_charset_header()
  	{
  	global $app_strings, $default_charset;





More information about the vtigercrm-commits mailing list