* @ingroup Media
*/
abstract class ImageGalleryBase extends ContextSource {
- var $mImages, $mShowBytes, $mShowFilename, $mMode;
- var $mCaption = false;
+ /** @var array Gallery images */
+ protected $mImages;
+
+ /** @var bool Whether to show the filesize in bytes in categories */
+ protected $mShowBytes;
+
+ /** @var bool Whether to show the filename. Default: true */
+ protected $mShowFilename;
+
+ /** @var string Gallery mode. Default: traditional */
+ protected $mMode;
+
+ /** @var bool|string Gallery caption. Default: false */
+ protected $mCaption = false;
/**
* @var bool Hide blacklisted images?
*/
- var $mHideBadImages;
+ protected $mHideBadImages;
/**
* @var Parser Registered parser object for output callbacks
*/
- var $mParser;
+ protected $mParser;
/**
* @var Title Contextual title, used when images are being screened against
* @param string $html Additional HTML text to be shown. The name and size
* of the image are always shown.
* @param string $alt Alt text for the image
- * @param string $link Override image link (optional)
+ * @param string $link Override image link (optional)
* @param array $handlerOpts Array of options for image handler (aka page number)
*/
function insert( $title, $html = '', $alt = '', $link = '', $handlerOpts = array() ) {