ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Learning history page content. More...
Public Member Functions | |
init () | |
Init page content component. More... | |
setNode ($a_node) | |
Set node. More... | |
create (ilPageObject $a_pg_obj, string $a_hier_id, $a_pc_id="") | |
Create learning history node. More... | |
setFrom ($a_val) | |
Set from. More... | |
getFrom () | |
Get from. More... | |
setTo ($a_val) | |
Set to. More... | |
getTo () | |
Get to. More... | |
setClasses ($a_val) | |
Set classes. More... | |
getClasses () | |
Get classes. More... | |
modifyPageContentPostXsl ($a_html, $a_mode) | |
Modify page content after xsl. 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... | |
Static Public Member Functions | |
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... | |
static | getLangVars () |
Get lang vars needed for editing. More... | |
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... | |
Data Fields | |
$dom | |
Data Fields inherited from ilPageContent | |
$hier_id | |
$node | |
$dom | |
$page_lang | |
Protected Member Functions | |
getPresentation ($from, $to, $classes, $a_mode) | |
Get presentation. More... | |
Protected Member Functions inherited from ilPageContent | |
setType ($a_type) | |
Set Type. More... | |
Protected Attributes | |
$user | |
Protected Attributes inherited from ilPageContent | |
$file_download_link | |
$fullscreen_link | |
$sourcecode_download_script | |
$log | |
Learning history page content.
Definition at line 13 of file class.ilPCLearningHistory.php.
|
static |
After page history entry has been created.
object | $a_page | page object |
DOMDocument | $a_old_domdoc | old dom document |
string | $a_old_xml | old xml |
integer | $a_old_nr | history number |
Definition at line 163 of file class.ilPCLearningHistory.php.
|
static |
After page has been updated (or created)
object | $a_page | page object |
DOMDocument | $a_domdoc | dom document |
string | $a_xml | xml |
bool | $a_creation | true on creation, otherwise false |
Definition at line 142 of file class.ilPCLearningHistory.php.
|
static |
Before page is being deleted.
object | $a_page | page object |
Definition at line 151 of file class.ilPCLearningHistory.php.
ilPCLearningHistory::create | ( | ilPageObject | $a_pg_obj, |
string | $a_hier_id, | ||
$a_pc_id = "" |
|||
) |
Create learning history node.
ilPageObject | $a_pg_obj | |
string | $a_hier_id | |
string | $a_pc_id |
Definition at line 49 of file class.ilPCLearningHistory.php.
References ilPageContent\createPageContentNode(), IL_INSERT_AFTER, and ilPageObject\insertContent().
ilPCLearningHistory::getClasses | ( | ) |
Get classes.
Definition at line 122 of file class.ilPCLearningHistory.php.
References $i.
ilPCLearningHistory::getFrom | ( | ) |
|
static |
Get lang vars needed for editing.
Definition at line 171 of file class.ilPCLearningHistory.php.
|
protected |
Get presentation.
int | $from | unix timestamp |
int | $to | unix timestamp |
array | $classes | |
string | $mode |
ilCtrlException |
Definition at line 232 of file class.ilPCLearningHistory.php.
References $from, $i, $tpl, ilObject\_lookupOwner(), ilPageContent\getPage(), IL_CAL_DATETIME, and IL_CAL_UNIX.
Referenced by modifyPageContentPostXsl().
ilPCLearningHistory::getTo | ( | ) |
ilPCLearningHistory::init | ( | ) |
Init page content component.
Definition at line 25 of file class.ilPCLearningHistory.php.
References $DIC, ilPageContent\setType(), and user().
ilPCLearningHistory::modifyPageContentPostXsl | ( | $a_html, | |
$a_mode | |||
) |
Modify page content after xsl.
string | $a_output |
Definition at line 182 of file class.ilPCLearningHistory.php.
References $end, $from, $i, $lng, $start, and getPresentation().
ilPCLearningHistory::setClasses | ( | $a_val | ) |
Set classes.
array | $a_val | classes |
Definition at line 102 of file class.ilPCLearningHistory.php.
ilPCLearningHistory::setFrom | ( | $a_val | ) |
ilPCLearningHistory::setNode | ( | $a_node | ) |
Set node.
Definition at line 36 of file class.ilPCLearningHistory.php.
ilPCLearningHistory::setTo | ( | $a_val | ) |
ilPCLearningHistory::$dom |
Definition at line 20 of file class.ilPCLearningHistory.php.
|
protected |
Definition at line 18 of file class.ilPCLearningHistory.php.