aboutsummaryrefslogtreecommitdiffstats
path: root/includes/AjaxDispatcher.php
diff options
context:
space:
mode:
authormrbluesky <mrbluesky@wikipedia.be>2012-04-15 02:12:01 +0200
committerAntoine Musso <hashar@free.fr>2012-05-24 20:42:56 +0200
commit1aead61d4c1d17beca71b36678fd007877f8cb88 (patch)
treee59d000e13f1a4b3465d6242356097c5e269a2fe /includes/AjaxDispatcher.php
parent8759ce093409f7951ca330d437935368861f2ddb (diff)
downloadmediawikicore-1aead61d4c1d17beca71b36678fd007877f8cb88.tar.gz
mediawikicore-1aead61d4c1d17beca71b36678fd007877f8cb88.zip
Add and fix comments in some includes files
Change-Id: If781ad1a9eeba8310cef97dc9786685e8b265fa1
Diffstat (limited to 'includes/AjaxDispatcher.php')
-rw-r--r--includes/AjaxDispatcher.php21
1 files changed, 16 insertions, 5 deletions
diff --git a/includes/AjaxDispatcher.php b/includes/AjaxDispatcher.php
index cafe4db5d1aa..e3df5207666e 100644
--- a/includes/AjaxDispatcher.php
+++ b/includes/AjaxDispatcher.php
@@ -30,16 +30,26 @@
* @ingroup Ajax
*/
class AjaxDispatcher {
- /** The way the request was made, either a 'get' or a 'post' */
+ /**
+ * The way the request was made, either a 'get' or a 'post'
+ * @var string $mode
+ */
private $mode;
- /** Name of the requested handler */
+ /**
+ * Name of the requested handler
+ * @var string $func_name
+ */
private $func_name;
- /** Arguments passed */
+ /** Arguments passed
+ * @var array $args
+ */
private $args;
- /** Load up our object with user supplied data */
+ /**
+ * Load up our object with user supplied data
+ */
function __construct() {
wfProfileIn( __METHOD__ );
@@ -80,7 +90,8 @@ class AjaxDispatcher {
wfProfileOut( __METHOD__ );
}
- /** Pass the request to our internal function.
+ /**
+ * Pass the request to our internal function.
* BEWARE! Data are passed as they have been supplied by the user,
* they should be carefully handled in the function processing the
* request.