MediaWiki  REL1_24
NolinesImageGallery Class Reference
Inheritance diagram for NolinesImageGallery:
Collaboration diagram for NolinesImageGallery:

List of all members.

Protected Member Functions

 getGBBorders ()
 Get how much extra space the borders around the image takes up.
 getThumbPadding ()
 How much padding such the thumb have between image and inner div that that contains the border.
 getVPad ($boxHeight, $thumbHeight)
 Get vertical padding for a thumbnail.

Detailed Description

Definition at line 24 of file NolinesImageGallery.php.


Member Function Documentation

Get how much extra space the borders around the image takes up.

For this mode, it is 2px borders on each side + 2px implied padding on each side from the stylesheet, giving us 2*2+2*2 = 8.

Returns:
int

Reimplemented from TraditionalImageGallery.

Definition at line 29 of file NolinesImageGallery.php.

How much padding such the thumb have between image and inner div that that contains the border.

This is both for verical and horizontal padding. (However, it is cut in half in the vertical direction).

Returns:
int

Reimplemented from TraditionalImageGallery.

Definition at line 25 of file NolinesImageGallery.php.

NolinesImageGallery::getVPad ( boxHeight,
thumbHeight 
) [protected]

Get vertical padding for a thumbnail.

Generally this is the total height minus how high the thumb is.

Parameters:
int$boxHeightHow high we want the box to be.
int$thumbHeightHow high the thumbnail is.
Returns:
int Vertical padding to add on each side.

Reimplemented from TraditionalImageGallery.

Definition at line 34 of file NolinesImageGallery.php.


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