ILIAS
Release_4_4_x_branch Revision 61816
|
Class ilPlaceHolder. More...
Public Member Functions | |
init () | |
Init page content component. | |
setNode (&$a_node) | |
Set node. | |
create (&$a_pg_obj, $a_hier_id) | |
Create PlaceHolder Element. | |
setContentClass ($a_class) | |
Set Content Class. | |
getContentClass () | |
Get Content Class. | |
setHeight ($a_height) | |
Set Height. | |
getHeight () | |
Get Height. | |
getClass () | |
Get characteristic of PlaceHolder. | |
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 | |
$q_node | |
$content_class | |
$height | |
Data Fields inherited from ilPageContent | |
$hier_id | |
$node | |
$dom |
Additional Inherited Members | |
Protected Member Functions inherited from ilPageContent | |
setType ($a_type) | |
Set Type. |
Class ilPlaceHolder.
List content object (see ILIAS DTD)
Definition at line 17 of file class.ilPCPlaceHolder.php.
ilPCPlaceHolder::create | ( | & | $a_pg_obj, |
$a_hier_id | |||
) |
Create PlaceHolder Element.
Definition at line 46 of file class.ilPCPlaceHolder.php.
References ilPageContent\createPageContentNode(), and IL_INSERT_AFTER.
ilPCPlaceHolder::getClass | ( | ) |
Get characteristic of PlaceHolder.
Definition at line 114 of file class.ilPCPlaceHolder.php.
ilPCPlaceHolder::getContentClass | ( | ) |
Get Content Class.
Definition at line 72 of file class.ilPCPlaceHolder.php.
ilPCPlaceHolder::getHeight | ( | ) |
Get Height.
Definition at line 100 of file class.ilPCPlaceHolder.php.
|
static |
Get lang vars needed for editing.
Reimplemented from ilPageContent.
Definition at line 123 of file class.ilPCPlaceHolder.php.
ilPCPlaceHolder::init | ( | ) |
Init page content component.
Reimplemented from ilPageContent.
Definition at line 28 of file class.ilPCPlaceHolder.php.
References ilPageContent\setType().
ilPCPlaceHolder::setContentClass | ( | $a_class | ) |
Set Content Class.
string | $a_class | Content Class |
Definition at line 59 of file class.ilPCPlaceHolder.php.
ilPCPlaceHolder::setHeight | ( | $a_height | ) |
Set Height.
string | $a_height | Height |
Definition at line 86 of file class.ilPCPlaceHolder.php.
ilPCPlaceHolder::setNode | ( | & | $a_node | ) |
Set node.
Reimplemented from ilPageContent.
Definition at line 37 of file class.ilPCPlaceHolder.php.
ilPCPlaceHolder::$content_class |
Definition at line 22 of file class.ilPCPlaceHolder.php.
ilPCPlaceHolder::$height |
Definition at line 23 of file class.ilPCPlaceHolder.php.
ilPCPlaceHolder::$q_node |
Definition at line 21 of file class.ilPCPlaceHolder.php.