|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Image map image preview creator. More...
Collaboration diagram for ilImagemapPreview:Public Member Functions | |
| __construct ($imagemap_filename="") | |
| ilImagemapPreview constructor More... | |
| getAreaCount () | |
| getPointCount () | |
| addArea ( $index, $shape, $coords, $title="", $href="", $target="", $visible=true, $linecolor="red", $bordercolor="white", $fillcolor="#FFFFFFA0") | |
| addPoint ( $index, $coords, $visible=true, $linecolor="red", $bordercolor="white", $fillcolor="#FFFFFFA0") | |
| getAreaIdent () | |
| createPreview () | |
| getPreviewFilename ($imagePath, $baseFileName) | |
| getImagemap ($title) | |
| get imagemap html code note: html code should be placed in template files More... | |
Data Fields | |
| $imagemap_filename | |
| $preview_filename | |
| $areas | |
| $points | |
| $linewidth_outer | |
| $linewidth_inner | |
| $lng | |
Image map image preview creator.
Takes an image and imagemap areas and creates a preview image containing the imagemap areas.
Definition at line 16 of file class.ilImagemapPreview.php.
| ilImagemapPreview::__construct | ( | $imagemap_filename = "" | ) |
ilImagemapPreview constructor
Creates an instance of the ilImagemapPreview class
| integer | $id | The database id of a image map question object @access public |
Definition at line 34 of file class.ilImagemapPreview.php.
References $imagemap_filename, $lng, $preview_filename, and ilUtil\ilTempnam().
Here is the call graph for this function:| ilImagemapPreview::addArea | ( | $index, | |
| $shape, | |||
| $coords, | |||
$title = "", |
|||
$href = "", |
|||
$target = "", |
|||
$visible = true, |
|||
$linecolor = "red", |
|||
$bordercolor = "white", |
|||
$fillcolor = "#FFFFFFA0" |
|||
| ) |
Definition at line 64 of file class.ilImagemapPreview.php.
References $index.
| ilImagemapPreview::addPoint | ( | $index, | |
| $coords, | |||
$visible = true, |
|||
$linecolor = "red", |
|||
$bordercolor = "white", |
|||
$fillcolor = "#FFFFFFA0" |
|||
| ) |
Definition at line 94 of file class.ilImagemapPreview.php.
References $index.
| ilImagemapPreview::createPreview | ( | ) |
Definition at line 127 of file class.ilImagemapPreview.php.
References $i, $r, $source, $target, $x, $y, ilUtil\escapeShellCmd(), and ilUtil\execConvert().
Here is the call graph for this function:| ilImagemapPreview::getAreaCount | ( | ) |
Definition at line 54 of file class.ilImagemapPreview.php.
| ilImagemapPreview::getAreaIdent | ( | ) |
Definition at line 111 of file class.ilImagemapPreview.php.
Referenced by getPreviewFilename().
Here is the caller graph for this function:| ilImagemapPreview::getImagemap | ( | $title | ) |
get imagemap html code note: html code should be placed in template files
Definition at line 230 of file class.ilImagemapPreview.php.
| ilImagemapPreview::getPointCount | ( | ) |
Definition at line 59 of file class.ilImagemapPreview.php.
| ilImagemapPreview::getPreviewFilename | ( | $imagePath, | |
| $baseFileName | |||
| ) |
Definition at line 200 of file class.ilImagemapPreview.php.
References $filename, $preview_filename, getAreaIdent(), and ilUtil\sendInfo().
Here is the call graph for this function:| ilImagemapPreview::$areas |
Definition at line 20 of file class.ilImagemapPreview.php.
| ilImagemapPreview::$imagemap_filename |
Definition at line 18 of file class.ilImagemapPreview.php.
Referenced by __construct().
| ilImagemapPreview::$linewidth_inner |
Definition at line 23 of file class.ilImagemapPreview.php.
| ilImagemapPreview::$linewidth_outer |
Definition at line 22 of file class.ilImagemapPreview.php.
| ilImagemapPreview::$lng |
Definition at line 24 of file class.ilImagemapPreview.php.
Referenced by __construct().
| ilImagemapPreview::$points |
Definition at line 21 of file class.ilImagemapPreview.php.
| ilImagemapPreview::$preview_filename |
Definition at line 19 of file class.ilImagemapPreview.php.
Referenced by __construct(), and getPreviewFilename().