MediaWiki
REL1_31
NolinesImageGallery.php
Go to the documentation of this file.
1
<?php
24
class
NolinesImageGallery
extends
TraditionalImageGallery
{
25
protected
function
getThumbPadding
() {
26
return
0;
27
}
28
29
protected
function
getGBBorders
() {
30
// This accounts for extra space between <li> elements.
31
return
4;
32
}
33
34
protected
function
getVPad
( $boxHeight, $thumbHeight ) {
35
return
0;
36
}
37
}
NolinesImageGallery
Definition
NolinesImageGallery.php:24
NolinesImageGallery\getVPad
getVPad( $boxHeight, $thumbHeight)
Get vertical padding for a thumbnail.
Definition
NolinesImageGallery.php:34
NolinesImageGallery\getThumbPadding
getThumbPadding()
How much padding the thumb has between the image and the inner div that contains the border.
Definition
NolinesImageGallery.php:25
NolinesImageGallery\getGBBorders
getGBBorders()
Get how much extra space the borders around the image takes up.
Definition
NolinesImageGallery.php:29
TraditionalImageGallery
Definition
TraditionalImageGallery.php:23
includes
gallery
NolinesImageGallery.php
Generated on Mon Nov 25 2024 15:34:48 for MediaWiki by
1.10.0