[Fusionforge-commits] FusionForge branch master updated. 88e771c06217192892c69aa08be1a018b353af42

Marc-Etienne VARGENAU vargenau at fusionforge.org
Wed Aug 27 14:10:21 CEST 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  88e771c06217192892c69aa08be1a018b353af42 (commit)
      from  a67bae7de76620d3252eb6520da7e184e802de1f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 88e771c06217192892c69aa08be1a018b353af42
Author: Marc-Etienne Vargenau <Marc-Etienne.Vargenau at alcatel-lucent.com>
Date:   Wed Aug 27 14:10:14 2014 +0200

    wiki: update PHP Doc

diff --git a/src/plugins/wiki/www/lib/plugin/RateIt.php b/src/plugins/wiki/www/lib/plugin/RateIt.php
index 0b672b8..4ebd687 100644
--- a/src/plugins/wiki/www/lib/plugin/RateIt.php
+++ b/src/plugins/wiki/www/lib/plugin/RateIt.php
@@ -282,7 +282,7 @@ var msg_rating_deleted = '" . _("Rating deleted!") . "';
             }
             return $html;
         }
-        return HTML::raw();
+        return HTML::raw('');
     }
 
     // box is used to display a fixed-width, narrow version with common header
@@ -290,7 +290,7 @@ var msg_rating_deleted = '" . _("Rating deleted!") . "';
     {
         if (!$request) $request =& $GLOBALS['request'];
         if (!$request->_user->isSignedIn()) {
-            return HTML::raw();
+            return HTML::raw('');
         }
         if (!isset($args)) $args = array();
         $args['small'] = 1;
@@ -308,16 +308,17 @@ var msg_rating_deleted = '" . _("Rating deleted!") . "';
      *
      * This needs to be put in the <body> section of the page.
      *
-     * @param pagename    Name of the page to rate
-     * @param version     Version of the page to rate (may be "" for current)
-     * @param imgPrefix   Prefix of the names of the images that display the rating
+     * @param string $pagename    Name of the page to rate
+     * @param int $version     Version of the page to rate (may be "" for current)
+     * @param string $imgPrefix   Prefix of the names of the images that display the rating
      *                    You can have two widgets for the same page displayed at
      *                    once iff the imgPrefix-s are different.
-     * @param dimension   Id of the dimension to rate
-     * @param small       Makes a smaller ratings widget if non-false
+     * @param int $dimension   Id of the dimension to rate
+     * @param bool $small       Makes a smaller ratings widget if non-false
      *
      * Limitations: Currently this can only print the current users ratings.
      *              And only the widget, but no value (for buddies) also.
+     * @return $this
      */
     function RatingWidgetHtml($pagename, $version, $imgPrefix, $dimension, $small = false)
     {

-----------------------------------------------------------------------

Summary of changes:
 src/plugins/wiki/www/lib/plugin/RateIt.php |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list