ILIAS
Release_4_0_x_branch Revision 61816
|
Image map image preview creator. More...
Public Member Functions | |
ilImagemapPreview ($imagemap_filename="") | |
ilImagemapPreview constructor | |
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 |
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 36 of file class.ilImagemapPreview.php.
ilImagemapPreview::addArea | ( | $index, | |
$shape, | |||
$coords, | |||
$title = "" , |
|||
$href = "" , |
|||
$target = "" , |
|||
$visible = true , |
|||
$linecolor = "red" , |
|||
$bordercolor = "white" , |
|||
$fillcolor = "#FFFFFFA0" |
|||
) |
Definition at line 86 of file class.ilImagemapPreview.php.
ilImagemapPreview::addPoint | ( | $index, | |
$coords, | |||
$visible = true , |
|||
$linecolor = "red" , |
|||
$bordercolor = "white" , |
|||
$fillcolor = "#FFFFFFA0" |
|||
) |
Definition at line 119 of file class.ilImagemapPreview.php.
ilImagemapPreview::createPreview | ( | ) |
Definition at line 151 of file class.ilImagemapPreview.php.
References $x, $y, ilUtil\escapeShellCmd(), and ilUtil\getConvertCmd().
ilImagemapPreview::getAreaCount | ( | ) |
Definition at line 76 of file class.ilImagemapPreview.php.
ilImagemapPreview::getAreaIdent | ( | ) |
Definition at line 137 of file class.ilImagemapPreview.php.
Referenced by getPreviewFilename().
ilImagemapPreview::getImagemap | ( | $title | ) |
get imagemap html code note: html code should be placed in template files
Definition at line 269 of file class.ilImagemapPreview.php.
References $map.
ilImagemapPreview::getPointCount | ( | ) |
Definition at line 81 of file class.ilImagemapPreview.php.
ilImagemapPreview::getPreviewFilename | ( | $imagePath, | |
$baseFileName | |||
) |
Definition at line 230 of file class.ilImagemapPreview.php.
References $filename, $preview_filename, getAreaIdent(), and ilUtil\sendInfo().
ilImagemapPreview::ilImagemapPreview | ( | $imagemap_filename = "" | ) |
ilImagemapPreview constructor
Creates an instance of the ilImagemapPreview class
integer | $id | The database id of a image map question object public |
Definition at line 54 of file class.ilImagemapPreview.php.
References $imagemap_filename, $lng, $preview_filename, and ilUtil\ilTempnam().
ilImagemapPreview::$areas |
Definition at line 40 of file class.ilImagemapPreview.php.
ilImagemapPreview::$imagemap_filename |
Definition at line 38 of file class.ilImagemapPreview.php.
Referenced by ilImagemapPreview().
ilImagemapPreview::$linewidth_inner |
Definition at line 43 of file class.ilImagemapPreview.php.
ilImagemapPreview::$linewidth_outer |
Definition at line 42 of file class.ilImagemapPreview.php.
ilImagemapPreview::$lng |
Definition at line 44 of file class.ilImagemapPreview.php.
Referenced by ilImagemapPreview().
ilImagemapPreview::$points |
Definition at line 41 of file class.ilImagemapPreview.php.
ilImagemapPreview::$preview_filename |
Definition at line 39 of file class.ilImagemapPreview.php.
Referenced by getPreviewFilename(), and ilImagemapPreview().