ILIAS
Release_4_4_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 16 of file class.ilImagemapPreview.php.
ilImagemapPreview::addArea | ( | $index, | |
$shape, | |||
$coords, | |||
$title = "" , |
|||
$href = "" , |
|||
$target = "" , |
|||
$visible = true , |
|||
$linecolor = "red" , |
|||
$bordercolor = "white" , |
|||
$fillcolor = "#FFFFFFA0" |
|||
) |
Definition at line 66 of file class.ilImagemapPreview.php.
ilImagemapPreview::addPoint | ( | $index, | |
$coords, | |||
$visible = true , |
|||
$linecolor = "red" , |
|||
$bordercolor = "white" , |
|||
$fillcolor = "#FFFFFFA0" |
|||
) |
Definition at line 99 of file class.ilImagemapPreview.php.
ilImagemapPreview::createPreview | ( | ) |
Definition at line 136 of file class.ilImagemapPreview.php.
References ilUtil\escapeShellCmd(), and ilUtil\execConvert().
ilImagemapPreview::getAreaCount | ( | ) |
Definition at line 56 of file class.ilImagemapPreview.php.
ilImagemapPreview::getAreaIdent | ( | ) |
Definition at line 117 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 254 of file class.ilImagemapPreview.php.
ilImagemapPreview::getPointCount | ( | ) |
Definition at line 61 of file class.ilImagemapPreview.php.
ilImagemapPreview::getPreviewFilename | ( | $imagePath, | |
$baseFileName | |||
) |
Definition at line 215 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 34 of file class.ilImagemapPreview.php.
References $imagemap_filename, $lng, $preview_filename, and ilUtil\ilTempnam().
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 ilImagemapPreview().
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 ilImagemapPreview().
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 getPreviewFilename(), and ilImagemapPreview().