Definition at line 21 of file ImageMap_body.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
-
- Returns
- string HTML (Image map, or error message)
Definition at line 43 of file ImageMap_body.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(), OutputPage\transformResourcePath(), wfFindFile(), wfIsBadImage(), wfMessage(), wfRestoreWarnings(), and wfSuppressWarnings().
◆ tokenizeCoords()
static ImageMap::tokenizeCoords |
( |
| $count, |
|
|
| $lineNum ) |
|
static |
- Parameters
-
$count | int |
$lineNum | int|string |
- Returns
- array|string String with error (HTML), or array of coordinates
Definition at line 383 of file ImageMap_body.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: