[Vtigercrm-commits] [vtiger-commits] r8021 - /vtigercrm/trunk/modules/Users/RolePopup.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Thu Jul 13 16:37:32 EDT 2006


Author: richie
Date: Thu Jul 13 14:35:18 2006
New Revision: 8021

Log:
added comments in code

Modified:
    vtigercrm/trunk/modules/Users/RolePopup.php

Modified: vtigercrm/trunk/modules/Users/RolePopup.php
==============================================================================
--- vtigercrm/trunk/modules/Users/RolePopup.php (original)
+++ vtigercrm/trunk/modules/Users/RolePopup.php Thu Jul 13 14:35:18 2006
@@ -87,6 +87,15 @@
 
 $roleout ='';
 $roleout .= indent($hrarray,$roleout,$role_det,$mask_roleid);
+
+/** recursive function to construct the role tree ui 
+  * @param $hrarray -- Hierarchial role tree array with only the roleid:: Type array
+  * @param $roleout -- html string ouput of the constucted role tree ui:: Type varchar 
+  * @param $role_det -- Roledetails array got from calling getAllRoleDetails():: Type array
+  * @param $mask_roleid -- role id to be masked from selecting in the tree:: Type integer 
+  * @returns $role_out -- html string ouput of the constucted role tree ui:: Type string
+  *
+ */
 function indent($hrarray,$roleout,$role_det,$mask_roleid='')
 {
 	global $theme;





More information about the vtigercrm-commits mailing list