summaryrefslogtreecommitdiff
path: root/lib/plugins/popularity/admin.php
diff options
context:
space:
mode:
authorDominik Eckelmann <deckelmann@gmail.com>2012-11-29 16:06:43 +0100
committerDominik Eckelmann <deckelmann@gmail.com>2012-11-29 16:06:43 +0100
commit38479cbba628ee76a92ff5f3c974cfa8e6ce9e61 (patch)
tree710a0bca9a6f0704903f295bf6237807685d53fa /lib/plugins/popularity/admin.php
parent818f6d5179dd55f43e04269bc03e0afd5459c27e (diff)
downloadrpg-38479cbba628ee76a92ff5f3c974cfa8e6ce9e61.tar.gz
rpg-38479cbba628ee76a92ff5f3c974cfa8e6ce9e61.tar.bz2
some coding style improvements
- removed some dead/unused code - fixed phpdoc - added typing on methods
Diffstat (limited to 'lib/plugins/popularity/admin.php')
-rw-r--r--lib/plugins/popularity/admin.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/plugins/popularity/admin.php b/lib/plugins/popularity/admin.php
index 474a09ef9..deb8048f4 100644
--- a/lib/plugins/popularity/admin.php
+++ b/lib/plugins/popularity/admin.php
@@ -14,6 +14,10 @@ if(!defined('DOKU_INC')) die();
*/
class admin_plugin_popularity extends DokuWiki_Admin_Plugin {
var $version;
+
+ /**
+ * @var helper_plugin_popularity
+ */
var $helper;
var $sentStatus = null;
@@ -118,9 +122,9 @@ class admin_plugin_popularity extends DokuWiki_Admin_Plugin {
/**
* Build the form which presents the data to be sent
- * @param string $submit How is the data supposed to be sent? (may be: 'browser' or 'server')
+ * @param string $submissionMode How is the data supposed to be sent? (may be: 'browser' or 'server')
* @param string $data The popularity data, if it has already been computed. NULL otherwise.
- * @return The form, as an html string
+ * @return string The form, as an html string
*/
function buildForm($submissionMode, $data = null){
$url = ($submissionMode === 'browser' ? $this->helper->submitUrl : script());