ILIAS
Release_3_10_x_branch Revision 61812
|
Public Member Functions | |
init () | |
Init page content component. | |
setNode (&$a_node) | |
Set content node. | |
create (&$a_pg_obj, $a_hier_id, $a_pc_id="") | |
Create new Tabs node. | |
addItems ($a_nr) | |
Add Tab items. | |
setTabType ($a_type="HorizontalTabs") | |
Set type of tabs. | |
getTabType () | |
Get type of tabs. | |
setCaptions ($a_captions) | |
Add Tab items. | |
getCaptions () | |
Get captions. | |
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. | |
readHierId () | |
Read PC Id. | |
setPcId ($a_pcid) | |
Set PC Id. | |
getPCId () | |
Get PC Id. | |
readPCId () | |
Read PC Id. | |
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) |
Data Fields | |
$tabs_node | |
Data Fields inherited from ilPageContent | |
$hier_id | |
$node | |
$dom |
Additional Inherited Members | |
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. | |
Protected Member Functions inherited from ilPageContent | |
setType ($a_type) | |
Set Type. |
Class ilPCTabs.
Tabbed contents (see ILIAS DTD)
Definition at line 36 of file class.ilPCTabs.php.
ilPCTabs::addItems | ( | $a_nr | ) |
Add Tab items.
Definition at line 71 of file class.ilPCTabs.php.
ilPCTabs::create | ( | & | $a_pg_obj, |
$a_hier_id, | |||
$a_pc_id = "" |
|||
) |
Create new Tabs node.
Definition at line 60 of file class.ilPCTabs.php.
References ilPageContent\createPageContentNode(), and IL_INSERT_AFTER.
ilPCTabs::getCaptions | ( | ) |
Get captions.
Definition at line 134 of file class.ilPCTabs.php.
ilPCTabs::getTabType | ( | ) |
Get type of tabs.
Definition at line 99 of file class.ilPCTabs.php.
ilPCTabs::init | ( | ) |
Init page content component.
Reimplemented from ilPageContent.
Definition at line 43 of file class.ilPCTabs.php.
References ilPageContent\setType().
ilPCTabs::setCaptions | ( | $a_captions | ) |
Add Tab items.
Definition at line 107 of file class.ilPCTabs.php.
References ilDOMUtil\deleteAllChildsByName(), and ilDOMUtil\setFirstOptionalElement().
ilPCTabs::setNode | ( | & | $a_node | ) |
Set content node.
Reimplemented from ilPageContent.
Definition at line 51 of file class.ilPCTabs.php.
ilPCTabs::setTabType | ( | $a_type = "HorizontalTabs" | ) |
Set type of tabs.
string | $a_type | ("HorizontalTabs" | "Accordion") |
Definition at line 85 of file class.ilPCTabs.php.
ilPCTabs::$tabs_node |
Definition at line 38 of file class.ilPCTabs.php.