MediaWiki REL1_30
ImageMap Class Reference

Static Public Member Functions

static error ( $name, $line=false)
 
static onParserFirstCallInit (Parser &$parser)
 
static render ( $input, $params, $parser)
 
static tokenizeCoords ( $count, $lineNum)
 

Public Attributes

const BOTTOM_LEFT = 2
 
const BOTTOM_RIGHT = 1
 
const NONE = 4
 
const TOP_LEFT = 3
 
const TOP_RIGHT = 0
 

Static Public Attributes

static $id = 0
 

Detailed Description

Definition at line 21 of file ImageMap_body.php.

Member Function Documentation

◆ error()

static ImageMap::error ( $name,
$line = false )
static
Parameters
$namestring
$linestring|int|bool
Returns
string HTML

Definition at line 403 of file ImageMap_body.php.

References $line, and wfMessage().

◆ onParserFirstCallInit()

static ImageMap::onParserFirstCallInit ( Parser & $parser)
static
Parameters
Parser$parser

Definition at line 33 of file ImageMap_body.php.

References $parser.

◆ render()

static ImageMap::render ( $input,
$params,
$parser )
static

◆ tokenizeCoords()

static ImageMap::tokenizeCoords ( $count,
$lineNum )
static
Parameters
$countint
$lineNumint|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().

Member Data Documentation

◆ $id

ImageMap::$id = 0
static

Definition at line 22 of file ImageMap_body.php.

◆ BOTTOM_LEFT

const ImageMap::BOTTOM_LEFT = 2

Definition at line 26 of file ImageMap_body.php.

◆ BOTTOM_RIGHT

const ImageMap::BOTTOM_RIGHT = 1

Definition at line 25 of file ImageMap_body.php.

Referenced by render().

◆ NONE

const ImageMap::NONE = 4

Definition at line 28 of file ImageMap_body.php.

◆ TOP_LEFT

const ImageMap::TOP_LEFT = 3

Definition at line 27 of file ImageMap_body.php.

◆ TOP_RIGHT

const ImageMap::TOP_RIGHT = 0

Definition at line 24 of file ImageMap_body.php.


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