Document return values I needed
authorChad Horohoe <demon@users.mediawiki.org>
Wed, 29 Sep 2010 18:18:07 +0000 (18:18 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Wed, 29 Sep 2010 18:18:07 +0000 (18:18 +0000)
includes/api/ApiMain.php

index 4d8d671..bd3db40 100644 (file)
@@ -188,6 +188,8 @@ class ApiMain extends ApiBase {
 
        /**
         * Get the ApiResult object associated with current request
+        *
+        * @return ApiResult
         */
        public function getResult() {
                return $this->mResult;
@@ -202,6 +204,8 @@ class ApiMain extends ApiBase {
 
        /**
         * Get the result formatter object. Only works after setupExecuteAction()
+        *
+        * @return ApiFormatBase
         */
        public function getPrinter() {
                return $this->mPrinter;