[Fusionforge-commits] r18410 - in trunk/src/www: include survey/include

Marc-Etienne VARGENAU vargenau at fusionforge.org
Thu Nov 7 19:02:13 CET 2013


Author: vargenau
Date: 2013-11-07 19:02:13 +0100 (Thu, 07 Nov 2013)
New Revision: 18410

Modified:
   trunk/src/www/include/project_summary.php
   trunk/src/www/survey/include/SurveyHTML.class.php
Log:
Update PHP Doc

Modified: trunk/src/www/include/project_summary.php
===================================================================
--- trunk/src/www/include/project_summary.php	2013-11-07 17:20:45 UTC (rev 18409)
+++ trunk/src/www/include/project_summary.php	2013-11-07 18:02:13 UTC (rev 18410)
@@ -87,9 +87,9 @@
 /**
  * project_summary() - Build a project summary box that projects can insert into their project pages
  *
- * @param	int $group_id The group ID
- * @param	string $mode How to return the results.
- * @param	bool $no_table Whether to return the results within an HTML table or not
+ * @param	int		$group_id	The group ID
+ * @param	string	$mode		How to return the results.
+ * @param	bool	$no_table	Whether to return the results within an HTML table or not
  * @return	string
  */
 function project_summary($group_id, $mode, $no_table) {

Modified: trunk/src/www/survey/include/SurveyHTML.class.php
===================================================================
--- trunk/src/www/survey/include/SurveyHTML.class.php	2013-11-07 17:20:45 UTC (rev 18409)
+++ trunk/src/www/survey/include/SurveyHTML.class.php	2013-11-07 18:02:13 UTC (rev 18410)
@@ -699,11 +699,11 @@
 	/**
 	 * split_str - works as str_split of PHP5 -  Converts a string to an array.
 	 *
-	 * @param String str
-	 * @param int length of chunk
+	 * @param string $str
+	 * @param int	$split_lengt	length of chunk
 	 * @return array array of chunks of the string
 	 */
-	function split_str($str,$split_lengt=1) {
+	function split_str($str, $split_lengt=1) {
 		$cnt = strlen($str);
 		for ($i=0;$i<$cnt;$i+=$split_lengt) {
 			$rslt[]= substr($str,$i,$split_lengt);
@@ -714,11 +714,9 @@
 	/**
 	 * _makeBar - make Precentage bar as a cell in a table. Starts with <tr> and ends with </tr>
 	 *
-	 * @param $name
-	 * @param $percent
-	 * @param $color
-	 * @internal param \name $String Name
-	 * @internal param \percentage $int of the name
+	 * @param string	$name		Name
+	 * @param int 		$percent	Percentage of the name
+	 * @param string	$color		Color
 	 * @return string
 	 */
 	function _makeBar($name, $percent, $color) {




More information about the Fusionforge-commits mailing list