r64272 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r64271‎ | r64272 | r64273 >
Date:20:57, 27 March 2010
Author:ialex
Status:ok
Tags:
Comment:
Fixed some doxygen warnings
Modified paths:
  • /trunk/phase3/includes/media/MediaTransformOutput.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/media/MediaTransformOutput.php
@@ -34,7 +34,7 @@
3535 }
3636
3737 /**
38 - * @return string Destination file path (local filesystem)
 38+ * @return String: destination file path (local filesystem)
3939 */
4040 function getPath() {
4141 return $this->path;
@@ -43,7 +43,7 @@
4444 /**
4545 * Fetch HTML for this transform output
4646 *
47 - * @param array $options Associative array of options. Boolean options
 47+ * @param $options Associative array of options. Boolean options
4848 * should be indicated with a value of true for true, and false or
4949 * absent for false.
5050 *
@@ -103,9 +103,14 @@
104104 * @ingroup Media
105105 */
106106 class ThumbnailImage extends MediaTransformOutput {
 107+
107108 /**
108 - * @param string $path Filesystem path to the thumb
109 - * @param string $url URL path to the thumb
 109+ * @param $file File object
 110+ * @param $url String: URL path to the thumb
 111+ * @param $width Integer: file's width
 112+ * @param $height Integer: file's height
 113+ * @param $path String: filesystem path to the thumb
 114+ * @param $page Integer: page number, for multipage files
110115 * @private
111116 */
112117 function ThumbnailImage( $file, $url, $width, $height, $path = false, $page = false ) {
@@ -124,7 +129,7 @@
125130 * Return HTML <img ... /> tag for the thumbnail, will include
126131 * width and height attributes and a blank alt text (as required).
127132 *
128 - * @param array $options Associative array of options. Boolean options
 133+ * @param $options Associative array of options. Boolean options
129134 * should be indicated with a value of true for true, and false or
130135 * absent for false.
131136 *
@@ -133,7 +138,7 @@
134139 * desc-link Boolean, show a description link
135140 * file-link Boolean, show a file download link
136141 * valign vertical-align property, if the output is an inline element
137 - * img-class Class applied to the <img> tag, if there is such a tag
 142+ * img-class Class applied to the \<img\> tag, if there is such a tag
138143 * desc-query String, description link query params
139144 * custom-url-link Custom URL to link to
140145 * custom-title-link Custom Title object to link to
@@ -142,7 +147,6 @@
143148 * sounds and videos, they may be displayed in other ways.
144149 *
145150 * @return string
146 - * @public
147151 */
148152 function toHtml( $options = array() ) {
149153 if ( count( func_get_args() ) == 2 ) {

Status & tagging log