ILIAS
Release_4_0_x_branch Revision 61816
|
Public Member Functions | |
init () | |
Init page content component. | |
setNode (&$a_node) | |
Set node. | |
create (&$a_pg_obj, $a_hier_id, $a_pc_id="") | |
Create map node in xml. | |
setLatitude ($a_lat) | |
Set latitude of map. | |
getLatitude () | |
Get latitude of map. | |
setLongitude ($a_long) | |
Set longitude of map. | |
getLongitude () | |
Get longitude of map. | |
setZoom ($a_zoom) | |
Set zoom of map. | |
getZoom () | |
Get zoom of map. | |
setLayout ($a_width, $a_height, $a_horizontal_align) | |
Set Layout. | |
getWidth () | |
Get Width. | |
getHeight () | |
Get Height. | |
getHorizontalAlign () | |
Get Horizontal Alignment. | |
setCaption ($a_caption) | |
Set Caption. | |
getCaption () | |
Get Caption. | |
Public Member Functions inherited from ilPageContent | |
__construct ($a_dom) | |
Constructor. | |
getType () | |
Get type of page content. | |
& | getNode () |
Get xml node of page content. | |
setHierId ($a_hier_id) | |
Set hierarchical ID in xml structure. | |
getHierId () | |
Get hierarchical id. | |
lookupHierId () | |
Get hierarchical id from dom. | |
readHierId () | |
Read PC Id. | |
setPcId ($a_pcid) | |
Set PC Id. | |
getPCId () | |
Get PC Id. | |
readPCId () | |
Read PC Id. | |
isGreaterHierId ($a, $b) | |
Check whether Hier ID $a is greater than Hier ID $b. | |
setEnabled ($value) | |
Set Enabled value for page content component. | |
enable () | |
Enable page content. | |
disable () | |
Disable page content. | |
isEnabled () | |
Check whether page content is enabled. | |
createPageContentNode ($a_set_this_node=true) | |
Create page content node (always use this method first when adding a new element) |
Static Public Member Functions | |
static | handleCaptionInput ($a_text) |
static | handleCaptionFormOutput ($a_text) |
Static Public Member Functions inherited from ilPageContent | |
static | incEdId ($ed_id) |
Increases an hierarchical editing id at lowest level (last number) | |
static | decEdId ($ed_id) |
Decreases an hierarchical editing id at lowest level (last number) | |
static | haveSameContainer ($ed_id1, $ed_id2) |
Check, if two ids are in same container. | |
static | sortHierIds ($a_array) |
Sort an array of Hier IDS in ascending order. |
Data Fields | |
$dom | |
$map_node | |
Data Fields inherited from ilPageContent | |
$hier_id | |
$node | |
$dom |
Additional Inherited Members | |
Protected Member Functions inherited from ilPageContent | |
setType ($a_type) | |
Set Type. |
Class ilPCMap.
Map content object (see ILIAS DTD)
Definition at line 36 of file class.ilPCMap.php.
ilPCMap::create | ( | & | $a_pg_obj, |
$a_hier_id, | |||
$a_pc_id = "" |
|||
) |
Create map node in xml.
object | $a_pg_obj | Page Object |
string | $a_hier_id | Hierarchical ID |
Definition at line 64 of file class.ilPCMap.php.
References ilPageContent\createPageContentNode(), and IL_INSERT_AFTER.
ilPCMap::getCaption | ( | ) |
Get Caption.
Definition at line 271 of file class.ilPCMap.php.
ilPCMap::getHeight | ( | ) |
Get Height.
Definition at line 217 of file class.ilPCMap.php.
ilPCMap::getHorizontalAlign | ( | ) |
Get Horizontal Alignment.
Definition at line 237 of file class.ilPCMap.php.
ilPCMap::getLatitude | ( | ) |
Get latitude of map.
Definition at line 101 of file class.ilPCMap.php.
ilPCMap::getLongitude | ( | ) |
Get longitude of map.
Definition at line 134 of file class.ilPCMap.php.
ilPCMap::getWidth | ( | ) |
Get Width.
Definition at line 197 of file class.ilPCMap.php.
ilPCMap::getZoom | ( | ) |
Get zoom of map.
Definition at line 167 of file class.ilPCMap.php.
|
static |
Definition at line 295 of file class.ilPCMap.php.
|
static |
Definition at line 286 of file class.ilPCMap.php.
ilPCMap::init | ( | ) |
Init page content component.
Reimplemented from ilPageContent.
Definition at line 44 of file class.ilPCMap.php.
References ilPageContent\setType().
ilPCMap::setCaption | ( | $a_caption | ) |
Set Caption.
string | $a_caption | Caption |
Definition at line 257 of file class.ilPCMap.php.
ilPCMap::setLatitude | ( | $a_lat | ) |
Set latitude of map.
string | $a_lat | latitude |
Definition at line 81 of file class.ilPCMap.php.
ilPCMap::setLayout | ( | $a_width, | |
$a_height, | |||
$a_horizontal_align | |||
) |
Set Layout.
integer | $a_width | Width |
integer | $a_height | Height |
integer | $a_horizonal_align | Horizontal Alignment |
Definition at line 182 of file class.ilPCMap.php.
ilPCMap::setLongitude | ( | $a_long | ) |
Set longitude of map.
string | $a_long | longitude |
Definition at line 114 of file class.ilPCMap.php.
ilPCMap::setNode | ( | & | $a_node | ) |
Set node.
Reimplemented from ilPageContent.
Definition at line 52 of file class.ilPCMap.php.
ilPCMap::setZoom | ( | $a_zoom | ) |
Set zoom of map.
string | $a_zoom | zoom |
Definition at line 147 of file class.ilPCMap.php.
ilPCMap::$dom |
Definition at line 38 of file class.ilPCMap.php.
ilPCMap::$map_node |
Definition at line 39 of file class.ilPCMap.php.