|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. 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... | |
Static Public Member Functions | |
| static | escapeShellCmd ($a_arg) |
| static | execQuoted ($cmd, $args=null) |
Data Fields | |
| $imagemap_filename | |
| $preview_filename | |
| $areas | |
| $points | |
| $linewidth_outer | |
| $linewidth_inner | |
| $lng | |
Private Attributes | |
| ilGlobalTemplateInterface | $main_tpl |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Image map image preview creator
Takes an image and imagemap areas and creates a preview image containing the imagemap areas.
Definition at line 31 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 50 of file class.ilImagemapPreview.php.
References $DIC, $imagemap_filename, $lng, ilFileUtils\ilTempnam(), and ILIAS\Repository\lng().
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 82 of file class.ilImagemapPreview.php.
| ilImagemapPreview::addPoint | ( | $index, | |
| $coords, | |||
$visible = true, |
|||
$linecolor = "red", |
|||
$bordercolor = "white", |
|||
$fillcolor = "#FFFFFFA0" |
|||
| ) |
Definition at line 112 of file class.ilImagemapPreview.php.
| ilImagemapPreview::createPreview | ( | ) |
Definition at line 145 of file class.ilImagemapPreview.php.
|
static |
Definition at line 220 of file class.ilImagemapPreview.php.
|
static |
Definition at line 229 of file class.ilImagemapPreview.php.
References $DIC, and ilUtil\isWindows().
Here is the call graph for this function:| ilImagemapPreview::getAreaCount | ( | ) |
Definition at line 72 of file class.ilImagemapPreview.php.
| ilImagemapPreview::getAreaIdent | ( | ) |
Definition at line 129 of file class.ilImagemapPreview.php.
| ilImagemapPreview::getImagemap | ( | $title | ) |
get imagemap html code note: html code should be placed in template files
Definition at line 278 of file class.ilImagemapPreview.php.
| ilImagemapPreview::getPointCount | ( | ) |
Definition at line 77 of file class.ilImagemapPreview.php.
| ilImagemapPreview::getPreviewFilename | ( | $imagePath, | |
| $baseFileName | |||
| ) |
Definition at line 248 of file class.ilImagemapPreview.php.
References $filename, and ILIAS\Repository\lng().
Here is the call graph for this function:| ilImagemapPreview::$areas |
Definition at line 35 of file class.ilImagemapPreview.php.
| ilImagemapPreview::$imagemap_filename |
Definition at line 33 of file class.ilImagemapPreview.php.
Referenced by __construct().
| ilImagemapPreview::$linewidth_inner |
Definition at line 38 of file class.ilImagemapPreview.php.
| ilImagemapPreview::$linewidth_outer |
Definition at line 37 of file class.ilImagemapPreview.php.
| ilImagemapPreview::$lng |
Definition at line 39 of file class.ilImagemapPreview.php.
Referenced by __construct().
|
private |
Definition at line 40 of file class.ilImagemapPreview.php.
| ilImagemapPreview::$points |
Definition at line 36 of file class.ilImagemapPreview.php.
| ilImagemapPreview::$preview_filename |
Definition at line 34 of file class.ilImagemapPreview.php.