API: Improvements to action=emailuser:
[lhc/web/wiklou.git] / includes / api / ApiFormatPhp.php
index 20480b6..a86fb6e 100644 (file)
@@ -5,7 +5,7 @@
  *
  * API for MediaWiki 1.8+
  *
- * Copyright (C) 2006 Yuri Astrakhan <FirstnameLastname@gmail.com>
+ * Copyright (C) 2006 Yuri Astrakhan <Firstname><Lastname>@gmail.com
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -29,7 +29,7 @@ if (!defined('MEDIAWIKI')) {
 }
 
 /**
- * @addtogroup API
+ * @ingroup API
  */
 class ApiFormatPhp extends ApiFormatBase {
 
@@ -45,7 +45,7 @@ class ApiFormatPhp extends ApiFormatBase {
                $this->printText(serialize($this->getResultData()));
        }
 
-       protected function getDescription() {
+       public function getDescription() {
                return 'Output data in serialized PHP format' . parent :: getDescription();
        }
 
@@ -53,4 +53,3 @@ class ApiFormatPhp extends ApiFormatBase {
                return __CLASS__ . ': $Id$';
        }
 }
-?>