| ILIAS
    Release_4_4_x_branch Revision 61816
    | 
 Inheritance diagram for ilPCTabs:
 Inheritance diagram for ilPCTabs: Collaboration diagram for ilPCTabs:
 Collaboration diagram for ilPCTabs:| 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. | |
| setTabType ($a_type="HorizontalTabs") | |
| Set type of tabs. | |
| getTabType () | |
| Get type of tabs. | |
| setContentWidth ($a_val) | |
| Set content width. | |
| getContentWidth () | |
| Get content width. | |
| setContentHeight ($a_val) | |
| Set content height. | |
| getContentHeight () | |
| Get content height. | |
| setHorizontalAlign ($a_val) | |
| Set horizontal align. | |
| getHorizontalAlign () | |
| Get horizontal align. | |
| setBehavior ($a_val) | |
| Set behavior. | |
| getBehavior () | |
| Get behavior. | |
| getCaptions () | |
| Get captions. | |
| getCaption ($a_hier_id, $a_pc_id) | |
| Get caption. | |
| savePositions ($a_pos) | |
| Save positions of tabs. | |
| saveCaptions ($a_captions) | |
| Add Tab items. | |
| deleteTab ($a_hier_id, $a_pc_id) | |
| Save positions of tabs. | |
| addTab ($a_caption) | |
| Add a tab. | |
| setTemplate ($a_template) | |
| Set template. | |
| getTemplate () | |
| Get template. | |
|  Public Member Functions inherited from ilPageContent | |
| __construct ($a_pg_obj) | |
| Constructor. | |
| setPage ($a_val) | |
| Set page. | |
| getPage () | |
| Get page. | |
| getType () | |
| Get type of page content. | |
| & | getNode () | 
| Get xml node of page content. | |
| getJavascriptFiles () | |
| Get Javascript files. | |
| getCssFiles () | |
| Get css files. | |
| 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. | |
| writePCId ($a_pc_id) | |
| Write 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) | |
| modifyPageContentPostXsl ($a_output, $a_mode) | |
| Modify page content after xsl. | |
| Static Public Member Functions | |
| static | getLangVars () | 
| Get lang vars needed for editing. | |
|  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. | |
| static | handleCopiedContent (DOMDocument $a_domdoc, $a_self_ass=true, $a_clone_mobs=false) | 
| Handle copied content. | |
| static | afterPageUpdate ($a_page, DOMDocument $a_domdoc, $a_xml, $a_creation) | 
| After page has been updated (or created) | |
| static | beforePageDelete ($a_page) | 
| Before page is being deleted. | |
| static | afterPageHistoryEntry ($a_page, DOMDocument $a_old_domdoc, $a_old_xml, $a_old_nr) | 
| After page history entry has been created. | |
| Data Fields | |
| $tabs_node | |
| const | ACCORDION_HOR = "HorizontalAccordion" | 
| const | ACCORDION_VER = "VerticalAccordion" | 
|  Data Fields inherited from ilPageContent | |
| $hier_id | |
| $node | |
| $dom | |
| Protected Member Functions | |
| setTabsAttribute ($a_attr, $a_value) | |
| Set attribute of tabs tag. | |
|  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::addTab | ( | $a_caption | ) | 
Add a tab.
Definition at line 340 of file class.ilPCTabs.php.
References ilDOMUtil\setFirstOptionalElement().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPCTabs::create | ( | & | $a_pg_obj, | 
| $a_hier_id, | |||
| $a_pc_id = "" | |||
| ) | 
Create new Tabs node.
Definition at line 62 of file class.ilPCTabs.php.
References ilPageContent\createPageContentNode(), and IL_INSERT_AFTER.
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPCTabs::deleteTab | ( | $a_hier_id, | |
| $a_pc_id | |||
| ) | 
Save positions of tabs.
Definition at line 319 of file class.ilPCTabs.php.
| ilPCTabs::getBehavior | ( | ) | 
Get behavior.
Definition at line 190 of file class.ilPCTabs.php.
| ilPCTabs::getCaption | ( | $a_hier_id, | |
| $a_pc_id | |||
| ) | 
Get caption.
Definition at line 231 of file class.ilPCTabs.php.
| ilPCTabs::getCaptions | ( | ) | 
Get captions.
Definition at line 198 of file class.ilPCTabs.php.
References ilPageContent\$hier_id.
| ilPCTabs::getContentHeight | ( | ) | 
Get content height.
Definition at line 150 of file class.ilPCTabs.php.
| ilPCTabs::getContentWidth | ( | ) | 
Get content width.
Definition at line 130 of file class.ilPCTabs.php.
| ilPCTabs::getHorizontalAlign | ( | ) | 
Get horizontal align.
Definition at line 170 of file class.ilPCTabs.php.
| 
 | static | 
Get lang vars needed for editing.
Reimplemented from ilPageContent.
Definition at line 372 of file class.ilPCTabs.php.
| ilPCTabs::getTabType | ( | ) | 
Get type of tabs.
Definition at line 110 of file class.ilPCTabs.php.
| ilPCTabs::getTemplate | ( | ) | 
Get template.
Definition at line 363 of file class.ilPCTabs.php.
| ilPCTabs::init | ( | ) | 
Init page content component.
Reimplemented from ilPageContent.
Definition at line 45 of file class.ilPCTabs.php.
References ilPageContent\setType().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPCTabs::saveCaptions | ( | $a_captions | ) | 
Add Tab items.
Definition at line 291 of file class.ilPCTabs.php.
References ilPageContent\$hier_id, ilDOMUtil\deleteAllChildsByName(), and ilDOMUtil\setFirstOptionalElement().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPCTabs::savePositions | ( | $a_pos | ) | 
Save positions of tabs.
Definition at line 261 of file class.ilPCTabs.php.
References ilPageContent\$hier_id.
| ilPCTabs::setBehavior | ( | $a_val | ) | 
Set behavior.
| string | behavior | 
Definition at line 180 of file class.ilPCTabs.php.
References setTabsAttribute().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPCTabs::setContentHeight | ( | $a_val | ) | 
Set content height.
| int | content height | 
Definition at line 140 of file class.ilPCTabs.php.
References setTabsAttribute().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPCTabs::setContentWidth | ( | $a_val | ) | 
Set content width.
| int | content width | 
Definition at line 120 of file class.ilPCTabs.php.
References setTabsAttribute().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPCTabs::setHorizontalAlign | ( | $a_val | ) | 
Set horizontal align.
| string | horizontal align | 
Definition at line 160 of file class.ilPCTabs.php.
References setTabsAttribute().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPCTabs::setNode | ( | & | $a_node | ) | 
Set content node.
Reimplemented from ilPageContent.
Definition at line 53 of file class.ilPCTabs.php.
| 
 | protected | 
Set attribute of tabs tag.
| string | attribute name | 
| string | attribute value | 
Definition at line 76 of file class.ilPCTabs.php.
Referenced by setBehavior(), setContentHeight(), setContentWidth(), setHorizontalAlign(), and setTemplate().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPCTabs::setTabType | ( | $a_type = "HorizontalTabs" | ) | 
Set type of tabs.
| string | $a_type | ("HorizontalTabs" | "Accordion") | 
Definition at line 96 of file class.ilPCTabs.php.
References ACCORDION_HOR, and ACCORDION_VER.
| ilPCTabs::setTemplate | ( | $a_template | ) | 
Set template.
| string | $a_template | template | 
Definition at line 353 of file class.ilPCTabs.php.
References setTabsAttribute().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPCTabs::$tabs_node | 
Definition at line 38 of file class.ilPCTabs.php.
| const ilPCTabs::ACCORDION_HOR = "HorizontalAccordion" | 
Definition at line 39 of file class.ilPCTabs.php.
Referenced by ilPCTabsGUI\create(), ilPCTabsGUI\getFormValues(), ilPCTabsGUI\initForm(), setTabType(), and ilPCTabsGUI\update().
| const ilPCTabs::ACCORDION_VER = "VerticalAccordion" | 
Definition at line 40 of file class.ilPCTabs.php.
Referenced by ilPCTabsGUI\create(), ilPCTabsGUI\getFormValues(), ilPCTabsGUI\initForm(), setTabType(), and ilPCTabsGUI\update().