MediaWiki  1.23.6
PackedHoverImageGallery Class Reference

Same as Packed except different CSS is applied to make the caption only show up on hover. More...

Inheritance diagram for PackedHoverImageGallery:
Collaboration diagram for PackedHoverImageGallery:

Additional Inherited Members

- Public Member Functions inherited from PackedImageGallery
 __construct ( $mode='traditional')
 Create a new image gallery object. More...
 
 setPerRow ( $num)
 Do not support per-row on packed. More...
 
- Public Member Functions inherited from TraditionalImageGallery
 toHTML ()
 Return a HTML representation of the image gallery. More...
 
- Public Member Functions inherited from ImageGalleryBase
 add ( $title, $html='', $alt='', $link='', $handlerOpts=array())
 Add an image to the gallery. More...
 
 count ()
 
 getContextTitle ()
 Get the contextual title, if applicable. More...
 
 insert ( $title, $html='', $alt='', $link='', $handlerOpts=array())
 Add an image at the beginning of the gallery. More...
 
 isEmpty ()
 isEmpty() returns true if the gallery contains no images More...
 
 setAdditionalOptions ( $options)
 Allow setting additional options. More...
 
 setAttributes ( $attribs)
 Set arbitrary attributes to go on the HTML gallery output element. More...
 
 setCaption ( $caption)
 Set the caption (as plain text) More...
 
 setCaptionHtml ( $caption)
 Set the caption (as HTML) More...
 
 setContextTitle ( $title)
 Set the contextual title. More...
 
 setHeights ( $num)
 Set how high each image will be, in pixels. More...
 
 setHideBadImages ( $flag=true)
 Set bad image flag. More...
 
 setParser ( $parser)
 Register a parser object. More...
 
 setShowBytes ( $f)
 Enable/Disable showing of the file size of an image in the gallery. More...
 
 setShowFilename ( $f)
 Enable/Disable showing of the filename of an image in the gallery. More...
 
 setWidths ( $num)
 Set how wide each image will be, in pixels. More...
 
 useSkin ( $skin)
 Instruct the class to use a specific skin for rendering. More...
 
- Public Member Functions inherited from ContextSource
 canUseWikiPage ()
 Check whether a WikiPage object can be get with getWikiPage(). More...
 
 exportSession ()
 Export the resolved user IP, HTTP headers, user ID, and session ID. More...
 
 getConfig ()
 Get the Config object. More...
 
 getContext ()
 Get the RequestContext object. More...
 
 getLang ()
 Get the Language object. More...
 
 getLanguage ()
 Get the Language object. More...
 
 getOutput ()
 Get the OutputPage object. More...
 
 getRequest ()
 Get the WebRequest object. More...
 
 getSkin ()
 Get the Skin object. More...
 
 getTitle ()
 Get the Title object. More...
 
 getUser ()
 Get the User object. More...
 
 getWikiPage ()
 Get the WikiPage object. More...
 
 msg ()
 Get a Message object with context set Parameters are the same as wfMessage() More...
 
 setContext (IContextSource $context)
 Set the IContextSource object. More...
 
- Static Public Member Functions inherited from ImageGalleryBase
static factory ( $mode=false)
 Get a new image gallery. More...
 
- Public Attributes inherited from PackedImageGallery
const SCALE_FACTOR = 1.5
 We artificially have 1.5 the resolution neccessary so that we can scale it up by that much on the client side, without worrying about requesting a new image. More...
 
- Public Attributes inherited from ImageGalleryBase
bool string $mCaption = false
 Gallery caption. More...
 
bool $mHideBadImages
 Hide blacklisted images? More...
 
array $mImages
 Gallery images *. More...
 
string $mMode
 Gallery mode. More...
 
Parser $mParser
 Registered parser object for output callbacks. More...
 
bool $mShowBytes
 Whether to show the filesize in bytes in categories *. More...
 
bool $mShowFilename
 Whether to show the filename. More...
 
- Protected Member Functions inherited from PackedOverlayImageGallery
 wrapGalleryText ( $galleryText, $thumb)
 Add the wrapper html around the thumb's caption. More...
 
- Protected Member Functions inherited from PackedImageGallery
 adjustImageParameters ( $thumb, &$imageParameters)
 Adjust the image parameters for a thumbnail. More...
 
 getGBPadding ()
 
 getGBWidth ( $thumb)
 
 getModules ()
 Add javascript which auto-justifies the rows by manipulating the image sizes. More...
 
 getThumbDivWidth ( $thumbWidth)
 Get the width of the inner div that contains the thumbnail in question. More...
 
 getThumbPadding ()
 How much padding such the thumb have between image and inner div that that contains the border. More...
 
 getThumbParams ( $img)
 
 getVPad ( $boxHeight, $thumbHeight)
 Get vertical padding for a thumbnail. More...
 
- Protected Member Functions inherited from TraditionalImageGallery
 getAllPadding ()
 Get total padding. More...
 
 getGBBorders ()
 Get how much extra space the borders around the image takes up. More...
 
- Protected Member Functions inherited from ImageGalleryBase
 getRenderLang ()
 Determines the correct language to be used for this image gallery. More...
 
- Protected Attributes inherited from ImageGalleryBase
Title $contextTitle = false
 Contextual title, used when images are being screened against the bad image list. More...
 
array $mAttribs = array()
 

Detailed Description

Same as Packed except different CSS is applied to make the caption only show up on hover.

If a touch screen is detected, falls back to PackedHoverGallery. Degrades gracefully for screen readers.

Definition at line 63 of file PackedOverlayImageGallery.php.


The documentation for this class was generated from the following file: