|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class ilPCSection. More...
Inheritance diagram for ilPCSection:
Collaboration diagram for ilPCSection: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="") | |
| Create section node in xml. More... | |
| setCharacteristic ($a_char) | |
| Set Characteristic of section. More... | |
| getCharacteristic () | |
| Get characteristic of section. More... | |
| modifyPageContentPostXsl ($a_output, $a_mode) | |
| Modify page content after xsl. More... | |
| setActiveFrom ($a_unix_ts) | |
| Set activation from. More... | |
| getActiveFrom () | |
| Get activation from. More... | |
| setActiveTo ($a_unix_ts) | |
| Set activation to. More... | |
| getActiveTo () | |
| Get activation to. More... | |
| getAttribute ($a_attr) | |
| Get attribute. More... | |
| setPermission ($a_val) | |
| Set permission. More... | |
| getPermission () | |
| Get permission. More... | |
| setPermissionRefId ($a_ref_id) | |
| Set permission ref id. More... | |
| getPermissionRefId () | |
| Get permission ref id. More... | |
| setNoLink () | |
| Set no link. More... | |
| setExtLink ($a_href) | |
| Set link of area to an external one. More... | |
| setIntLink ($a_type, $a_target, $a_target_frame) | |
| Set link of area to an internal one. More... | |
| getLink () | |
| Get link. More... | |
| handleAccess ($a_html, $a_mode) | |
| insertTimings ($a_html) | |
| Insert timings (in edit mode) 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 | getLangVars () |
| Get lang vars needed for editing. More... | |
| static | afterPageUpdate ($a_page, DOMDocument $a_domdoc, $a_xml, $a_creation) |
| After page has been updated (or created) More... | |
| static | saveTimings ($a_page) |
| Save timings. More... | |
| static | getCacheTriggerString ($a_page) |
| Get page cache update trigger string. 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 | |
| $sec_node | |
Data Fields inherited from ilPageContent | |
| $hier_id | |
| $node | |
| $dom | |
| $page_lang | |
Protected Member Functions | |
| setAttribute ($a_attr, $a_val) | |
| Set attribute. More... | |
Protected Member Functions inherited from ilPageContent | |
| setType ($a_type) | |
| Set Type. More... | |
Additional Inherited Members | |
Protected Attributes inherited from ilPageContent | |
| $file_download_link | |
| $fullscreen_link | |
| $sourcecode_download_script | |
| $log | |
Class ilPCSection.
Section content object (see ILIAS DTD)
Definition at line 17 of file class.ilPCSection.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 |
Reimplemented from ilPageContent.
Definition at line 109 of file class.ilPCSection.php.
References saveTimings().
Here is the call graph for this function:| ilPCSection::create | ( | & | $a_pg_obj, |
| $a_hier_id, | |||
$a_pc_id = "" |
|||
| ) |
Create section node in xml.
| object | $a_pg_obj | Page Object |
| string | $a_hier_id | Hierarchical ID |
Definition at line 45 of file class.ilPCSection.php.
References ilPageContent\createPageContentNode(), and IL_INSERT_AFTER.
Here is the call graph for this function:| ilPCSection::getActiveFrom | ( | ) |
Get activation from.
Definition at line 154 of file class.ilPCSection.php.
| ilPCSection::getActiveTo | ( | ) |
Get activation to.
Definition at line 189 of file class.ilPCSection.php.
| ilPCSection::getAttribute | ( | $a_attr | ) |
Get attribute.
| string | $a_attr | attribute |
Definition at line 226 of file class.ilPCSection.php.
Referenced by getPermission(), and getPermissionRefId().
Here is the caller graph for this function:
|
static |
Get page cache update trigger string.
| ilPageObject | $a_page |
Definition at line 436 of file class.ilPCSection.php.
References $ilDB, and IL_CAL_UNIX.
Referenced by ilPageObjectGUI\showPage().
Here is the caller graph for this function:| ilPCSection::getCharacteristic | ( | ) |
Get characteristic of section.
Definition at line 79 of file class.ilPCSection.php.
|
static |
Get lang vars needed for editing.
Reimplemented from ilPageContent.
Definition at line 96 of file class.ilPCSection.php.
| ilPCSection::getLink | ( | ) |
Get link.
return
Definition at line 322 of file class.ilPCSection.php.
| ilPCSection::getPermission | ( | ) |
Get permission.
Definition at line 250 of file class.ilPCSection.php.
References getAttribute().
Here is the call graph for this function:| ilPCSection::getPermissionRefId | ( | ) |
Get permission ref id.
Definition at line 271 of file class.ilPCSection.php.
References getAttribute().
Here is the call graph for this function:| ilPCSection::handleAccess | ( | $a_html, | |
| $a_mode | |||
| ) |
| $a_html | |
| $a_mode |
Definition at line 349 of file class.ilPCSection.php.
References $start.
Referenced by modifyPageContentPostXsl().
Here is the caller graph for this function:| ilPCSection::init | ( | ) |
Init page content component.
Reimplemented from ilPageContent.
Definition at line 25 of file class.ilPCSection.php.
References ilPageContent\setType().
Here is the call graph for this function:| ilPCSection::insertTimings | ( | $a_html | ) |
Insert timings (in edit mode)
| string | $a_html | html |
Definition at line 466 of file class.ilPCSection.php.
References $html, $ilCtrl, $lng, $start, ilDatePresentation\formatDate(), IL_CAL_UNIX, and ilDatePresentation\setUseRelativeDates().
Referenced by modifyPageContentPostXsl().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCSection::modifyPageContentPostXsl | ( | $a_output, | |
| $a_mode | |||
| ) |
Modify page content after xsl.
| string | $a_output |
Reimplemented from ilPageContent.
Definition at line 121 of file class.ilPCSection.php.
References handleAccess(), and insertTimings().
Here is the call graph for this function:
|
static |
Save timings.
| ilPageObject | $a_page | page object |
Definition at line 384 of file class.ilPCSection.php.
References $ilDB, $path, $res, domxml_open_mem(), xpath_eval(), and xpath_new_context().
Referenced by afterPageUpdate().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCSection::setActiveFrom | ( | $a_unix_ts | ) |
Set activation from.
| string | $a_unix_ts | unix ts activation from |
Definition at line 134 of file class.ilPCSection.php.
| ilPCSection::setActiveTo | ( | $a_unix_ts | ) |
Set activation to.
| string | $a_unix_ts | unix ts activation to |
Definition at line 169 of file class.ilPCSection.php.
|
protected |
Set attribute.
| string | $a_attr | attribute |
| string | $a_val | attribute value |
Definition at line 205 of file class.ilPCSection.php.
Referenced by setPermission(), and setPermissionRefId().
Here is the caller graph for this function:| ilPCSection::setCharacteristic | ( | $a_char | ) |
Set Characteristic of section.
| string | $a_char | Characteristic |
Definition at line 59 of file class.ilPCSection.php.
| ilPCSection::setExtLink | ( | $a_href | ) |
Set link of area to an external one.
| string | $a_href |
Definition at line 293 of file class.ilPCSection.php.
References ilDOMUtil\setFirstOptionalElement(), and setNoLink().
Here is the call graph for this function:| ilPCSection::setIntLink | ( | $a_type, | |
| $a_target, | |||
| $a_target_frame | |||
| ) |
Set link of area to an internal one.
Definition at line 307 of file class.ilPCSection.php.
References $a_type, ilDOMUtil\setFirstOptionalElement(), and setNoLink().
Here is the call graph for this function:| ilPCSection::setNode | ( | $a_node | ) |
Set node.
Reimplemented from ilPageContent.
Definition at line 33 of file class.ilPCSection.php.
| ilPCSection::setNoLink | ( | ) |
Set no link.
Definition at line 284 of file class.ilPCSection.php.
References ilDOMUtil\deleteAllChildsByName().
Referenced by setExtLink(), and setIntLink().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCSection::setPermission | ( | $a_val | ) |
Set permission.
| string | $a_val | "read"|"write"|"visible" |
Definition at line 240 of file class.ilPCSection.php.
References setAttribute().
Here is the call graph for this function:| ilPCSection::setPermissionRefId | ( | $a_ref_id | ) |
Set permission ref id.
| integer | $a_ref_id | ref id |
Definition at line 261 of file class.ilPCSection.php.
References setAttribute().
Here is the call graph for this function:| ilPCSection::$dom |
Definition at line 19 of file class.ilPCSection.php.
| ilPCSection::$sec_node |
Definition at line 20 of file class.ilPCSection.php.