| [ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 112 lines (3 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
PackedImageGallery:: (10 methods):
__construct()
getVPad()
getThumbPadding()
getGBPadding()
getThumbParams()
getThumbDivWidth()
getGBWidth()
adjustImageParameters()
getModules()
setPerRow()
Class: PackedImageGallery - X-Ref
Packed image gallery. All images adjusted to be same height.| __construct( $mode = 'traditional' ) X-Ref |
| No description |
| getVPad( $boxHeight, $thumbHeight ) X-Ref |
| 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. |
| getThumbPadding() X-Ref |
| No description |
| getGBPadding() X-Ref |
| No description |
| getThumbParams( $img ) X-Ref |
param: File $img The file being transformed. May be false return: array |
| getThumbDivWidth( $thumbWidth ) X-Ref |
| No description |
| getGBWidth( $thumb ) X-Ref |
param: MediaTransformOutput|bool $thumb The thumbnail, or false if no return: float |
| adjustImageParameters( $thumb, &$imageParameters ) X-Ref |
| No description |
| getModules() X-Ref |
| Add javascript which auto-justifies the rows by manipulating the image sizes. Also ensures that the hover version of this degrades gracefully. return: array |
| setPerRow( $num ) X-Ref |
| Do not support per-row on packed. It really doesn't work since the images have varying widths. param: int $num |
| Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |