Definition at line 21 of file ImageMap.php.
◆ error()
static ImageMap::error |
( |
| $name, |
|
|
| $line = false ) |
|
static |
◆ onParserFirstCallInit()
static ImageMap::onParserFirstCallInit |
( |
Parser & | $parser | ) |
|
|
static |
◆ render()
static ImageMap::render |
( |
| $input, |
|
|
| $params, |
|
|
| $parser ) |
|
static |
- Parameters
-
string | $input | |
array | $params | |
Parser | $parser | |
- Returns
- string HTML (Image map, or error message)
Definition at line 43 of file ImageMap.php.
References $attribs, $image, $input, $line, $lines, $link, $options, $output, $parser, $title, $type, $value, $wgNoFollowLinks, $wgUrlProtocols, BOTTOM_RIGHT, error, list, NS_FILE, NS_MEDIA, NS_SPECIAL, text, tokenizeCoords(), wfFindFile(), wfIsBadImage(), wfMessage(), wfRestoreWarnings(), and wfSuppressWarnings().
◆ tokenizeCoords()
static ImageMap::tokenizeCoords |
( |
| $count, |
|
|
| $lineNum ) |
|
static |
- Parameters
-
int | $count | |
int | string | $lineNum | |
- Returns
- array|string String with error (HTML), or array of coordinates
Definition at line 383 of file ImageMap.php.
References error.
Referenced by render().
◆ $id
◆ BOTTOM_LEFT
const ImageMap::BOTTOM_LEFT = 2 |
◆ BOTTOM_RIGHT
const ImageMap::BOTTOM_RIGHT = 1 |
◆ NONE
◆ TOP_LEFT
const ImageMap::TOP_LEFT = 3 |
◆ TOP_RIGHT
const ImageMap::TOP_RIGHT = 0 |
The documentation for this class was generated from the following file: