ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilPCPlugged Plugged content object (see ILIAS DTD) More...
Public Member Functions | |
init () | |
Init page content component. More... | |
setNode ($a_node) | |
Set node. More... | |
create ( $a_pg_obj, $a_hier_id, $a_pc_id, $a_plugin_name, $a_plugin_version) | |
Create plugged node in xml. More... | |
setProperties ($a_properties) | |
Set properties of plugged component. More... | |
getProperties () | |
Get properties of plugged component. More... | |
setPluginVersion ($a_version) | |
Set version of plugged component. More... | |
getPluginVersion () | |
Get version of plugged component. More... | |
setPluginName ($a_name) | |
Set name of plugged component. More... | |
getPluginName () | |
Get name of plugged component. More... | |
modifyPageContentPostXsl ($a_html, $a_mode) | |
Modify page content after xsl. More... | |
getJavascriptFiles ($a_mode) | |
Get javascript files. More... | |
getCssFiles ($a_mode) | |
Get css files. More... | |
Public Member Functions inherited from ilPageContent | |
__construct ($a_pg_obj) | |
Constructor. More... | |
setPage ($a_val) | |
Set page. More... | |
getPage () | |
Get page. More... | |
init () | |
Init object. More... | |
getType () | |
Get type of page content. More... | |
setNode ($a_node) | |
Set xml node of page content. More... | |
& | getNode () |
Get xml node of page content. More... | |
getJavascriptFiles ($a_mode) | |
Get Javascript files. More... | |
getCssFiles ($a_mode) | |
Get css files. More... | |
getOnloadCode ($a_mode) | |
Get on load code. More... | |
setHierId ($a_hier_id) | |
Set hierarchical ID in xml structure. More... | |
getHierId () | |
Get hierarchical id. More... | |
lookupHierId () | |
Get hierarchical id from dom. More... | |
readHierId () | |
Read PC Id. More... | |
setPcId ($a_pcid) | |
Set PC Id. More... | |
getPCId () | |
Get PC Id. More... | |
setFileDownloadLink ($a_download_link) | |
Set file download link. More... | |
getFileDownloadLink () | |
Get file download link. More... | |
setFullscreenLink ($a_fullscreen_link) | |
Set fullscreen link. More... | |
getFullscreenLink () | |
Get fullscreen link. More... | |
setSourcecodeDownloadScript ($script_name) | |
Set sourcecode download script. More... | |
getSourcecodeDownloadScript () | |
Get sourcecode download script. More... | |
readPCId () | |
Read PC Id. More... | |
writePCId ($a_pc_id) | |
Write pc id. More... | |
setEnabled ($value) | |
Set Enabled value for page content component. More... | |
enable () | |
Enable page content. More... | |
disable () | |
Disable page content. More... | |
isEnabled () | |
Check whether page content is enabled. More... | |
createPageContentNode ($a_set_this_node=true) | |
Create page content node (always use this method first when adding a new element) More... | |
modifyPageContentPostXsl ($a_output, $a_mode) | |
Modify page content after xsl. More... | |
Data Fields | |
$dom | |
$plug_node | |
Data Fields inherited from ilPageContent | |
$hier_id | |
$node | |
$dom | |
$page_lang | |
Protected Attributes | |
$lng | |
$plugin_admin | |
Protected Attributes inherited from ilPageContent | |
$file_download_link | |
$fullscreen_link | |
$sourcecode_download_script | |
$log | |
Additional Inherited Members | |
Static Public Member Functions inherited from ilPageContent | |
static | incEdId ($ed_id) |
Increases an hierarchical editing id at lowest level (last number) More... | |
static | decEdId ($ed_id) |
Decreases an hierarchical editing id at lowest level (last number) More... | |
static | haveSameContainer ($ed_id1, $ed_id2) |
Check, if two ids are in same container. More... | |
static | sortHierIds ($a_array) |
Sort an array of Hier IDS in ascending order. More... | |
static | isGreaterHierId ($a, $b) |
Check whether Hier ID $a is greater than Hier ID $b. More... | |
static | getLangVars () |
Get lang vars needed for editing. More... | |
static | handleCopiedContent (DOMDocument $a_domdoc, $a_self_ass=true, $a_clone_mobs=false) |
Handle copied content. More... | |
static | afterPageUpdate ($a_page, DOMDocument $a_domdoc, $a_xml, $a_creation) |
After page has been updated (or created) More... | |
static | beforePageDelete ($a_page) |
Before page is being deleted. More... | |
static | afterPageHistoryEntry ($a_page, DOMDocument $a_old_domdoc, $a_old_xml, $a_old_nr) |
After page history entry has been created. More... | |
Protected Member Functions inherited from ilPageContent | |
setType ($a_type) | |
Set Type. More... | |
Class ilPCPlugged Plugged content object (see ILIAS DTD)
Definition at line 16 of file class.ilPCPlugged.php.
ilPCPlugged::create | ( | $a_pg_obj, | |
$a_hier_id, | |||
$a_pc_id, | |||
$a_plugin_name, | |||
$a_plugin_version | |||
) |
Create plugged node in xml.
object | $a_pg_obj | Page Object |
string | $a_hier_id | Hierarchical ID |
Definition at line 58 of file class.ilPCPlugged.php.
References ilPageContent\createPageContentNode(), and IL_INSERT_AFTER.
ilPCPlugged::getCssFiles | ( | $a_mode | ) |
Get css files.
Definition at line 365 of file class.ilPCPlugged.php.
References $plugin_admin, array, ilPageContent\getPage(), and IL_COMP_SERVICE.
ilPCPlugged::getJavascriptFiles | ( | $a_mode | ) |
Get javascript files.
Definition at line 327 of file class.ilPCPlugged.php.
References $plugin_admin, array, ilPageContent\getPage(), and IL_COMP_SERVICE.
ilPCPlugged::getPluginName | ( | ) |
Get name of plugged component.
Definition at line 172 of file class.ilPCPlugged.php.
References $DIC, $name, ilPageContent\$node, array, and IL_COMP_SERVICE.
ilPCPlugged::getPluginVersion | ( | ) |
Get version of plugged component.
Definition at line 144 of file class.ilPCPlugged.php.
ilPCPlugged::getProperties | ( | ) |
Get properties of plugged component.
Definition at line 105 of file class.ilPCPlugged.php.
ilPCPlugged::init | ( | ) |
Init page content component.
Definition at line 34 of file class.ilPCPlugged.php.
References $DIC, and ilPageContent\setType().
ilPCPlugged::modifyPageContentPostXsl | ( | $a_html, | |
$a_mode | |||
) |
Modify page content after xsl.
string | $a_output |
Definition at line 264 of file class.ilPCPlugged.php.
References $end, $i, $lng, $plugin_admin, array, ilPageContent\getPage(), and IL_COMP_SERVICE.
ilPCPlugged::setNode | ( | $a_node | ) |
Set node.
Definition at line 46 of file class.ilPCPlugged.php.
ilPCPlugged::setPluginName | ( | $a_name | ) |
Set name of plugged component.
string | $a_name | name |
Definition at line 156 of file class.ilPCPlugged.php.
ilPCPlugged::setPluginVersion | ( | $a_version | ) |
Set version of plugged component.
string | $a_version | version |
Definition at line 128 of file class.ilPCPlugged.php.
ilPCPlugged::setProperties | ( | $a_properties | ) |
Set properties of plugged component.
array | $a_properties | component properties |
Definition at line 78 of file class.ilPCPlugged.php.
ilPCPlugged::$dom |
Definition at line 28 of file class.ilPCPlugged.php.
|
protected |
Definition at line 21 of file class.ilPCPlugged.php.
Referenced by modifyPageContentPostXsl().
ilPCPlugged::$plug_node |
Definition at line 29 of file class.ilPCPlugged.php.
|
protected |
Definition at line 26 of file class.ilPCPlugged.php.
Referenced by getCssFiles(), getJavascriptFiles(), and modifyPageContentPostXsl().