X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiFormatTxt.php;h=c82930327fbe897e2160617492c20b3bd169093a;hb=a80f428025003d7be531e40655625ddf85c29e89;hp=52bdf8e71eb7ff658b9758ebbdb5a9a97d9529fc;hpb=3758769f0d2b244b113714da012dc1ceb95d0e22;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiFormatTxt.php b/includes/api/ApiFormatTxt.php index 52bdf8e71e..c82930327f 100644 --- a/includes/api/ApiFormatTxt.php +++ b/includes/api/ApiFormatTxt.php @@ -1,11 +1,11 @@ .@home.nl + * Copyright © 2008 Roan Kattouw .@home.nl * * 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 @@ -25,22 +25,23 @@ if ( !defined( 'MEDIAWIKI' ) ) { // Eclipse helper - will be ignored in production - require_once ( 'ApiFormatBase.php' ); + require_once( 'ApiFormatBase.php' ); } /** + * API Text output formatter * @ingroup API */ class ApiFormatTxt extends ApiFormatBase { public function __construct( $main, $format ) { - parent :: __construct( $main, $format ); + parent::__construct( $main, $format ); } public function getMimeType() { - # This looks like it should be text/plain, but IE7 is so - # brain-damaged it tries to parse text/plain as HTML if it - # contains HTML tags. Using MIME text/text works around this bug + // This looks like it should be text/plain, but IE7 is so + // brain-damaged it tries to parse text/plain as HTML if it + // contains HTML tags. Using MIME text/text works around this bug return 'text/text'; } @@ -49,7 +50,7 @@ class ApiFormatTxt extends ApiFormatBase { } public function getDescription() { - return 'Output data in PHP\'s print_r() format' . parent :: getDescription(); + return 'Output data in PHP\'s print_r() format' . parent::getDescription(); } public function getVersion() {