ILIAS
trunk Revision v11.0_alpha-1811-gd2d5443e411
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
init () | |
create (ilPageObject $a_pg_obj, string $a_hier_id, string $a_pc_id="") | |
setCharacteristic (string $a_char) | |
getCharacteristic () | |
modifyPageContentPostXsl (string $a_output, string $a_mode, bool $a_abstract_only=false) | |
setActiveFrom (int $a_unix_ts) | |
getActiveFrom () | |
Get activation from. More... | |
setActiveTo (int $a_unix_ts) | |
Set activation to. More... | |
getActiveTo () | |
setPermission (string $a_val) | |
Set permission. More... | |
getPermission () | |
setPermissionRefId (int $a_ref_id) | |
getPermissionRefId () | |
setNoLink () | |
Set no link. More... | |
setExtLink (string $a_href) | |
Set link of area to an external one. More... | |
setIntLink (string $a_type, string $a_target, string $a_target_frame) | |
Set link of area to an internal one. More... | |
getLink () | |
handleAccess (string $a_html, string $a_mode) | |
insertTimings (string $a_html) | |
Insert timings (in edit mode) More... | |
getProtected () | |
setProtected (bool $val) | |
getModel () | |
![]() | |
__construct (ilPageObject $a_pg_obj, ?PageManagerInterface $page_manager=null, ?ObjectAdapterInterface $object_adapter=null) | |
setPage (ilPageObject $a_val) | |
getPage () | |
init () | |
Init object. More... | |
getType () | |
getDomNode () | |
getDomDoc () | |
setDomNode (DOMNode $node) | |
getChildNode () | |
getJavascriptFiles (string $a_mode) | |
getCssFiles (string $a_mode) | |
getOnloadCode (string $a_mode) | |
setHierId (string $a_hier_id) | |
getHierId () | |
lookupHierId () | |
readHierId () | |
setPcId (string $a_pcid) | |
getPCId () | |
setFileDownloadLink (string $a_download_link) | |
getFileDownloadLink () | |
setProfileBackUrl (string $url) | |
getProfileBackUrl () | |
setFullscreenLink (string $a_fullscreen_link) | |
getFullscreenLink () | |
setSourcecodeDownloadScript (string $script_name) | |
getSourcecodeDownloadScript () | |
readPCId () | |
writePCId (string $a_pc_id) | |
setEnabled (string $value) | |
Set Enabled value for page content component. More... | |
enable () | |
disable () | |
isEnabled () | |
createPageContentNode (bool $a_set_this_node=true) | |
Create page content node (always use this method first when adding a new element) More... | |
getNewPageContentNode () | |
modifyPageContentPostXsl (string $a_output, string $a_mode, bool $a_abstract_only=false) | |
Modify page content after xsl. More... | |
getModel () | |
Get model as needed for the front-end editor. More... | |
Static Public Member Functions | |
static | getLangVars () |
static | afterPageUpdate (ilPageObject $a_page, DOMDocument $a_domdoc, string $a_xml, bool $a_creation) |
After page has been updated (or created) More... | |
static | saveTimings (ilPageObject $a_page) |
static | getCacheTriggerString (ilPageObject $a_page) |
Get page cache update trigger string. More... | |
![]() | |
static | sortHierIds (array $a_array) |
Sort an array of Hier IDS in ascending order. More... | |
static | isGreaterHierId (string $a, string $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, bool $a_self_ass=true, bool $a_clone_mobs=false, int $new_parent_id=0, int $obj_copy_id=0) |
Handle copied content. More... | |
static | afterPageUpdate (ilPageObject $a_page, DOMDocument $a_domdoc, string $a_xml, bool $a_creation) |
After page has been updated (or created) More... | |
static | beforePageDelete (ilPageObject $a_page) |
Before page is being deleted. More... | |
static | afterRepositoryCopy (ilPageObject $page, array $mapping, int $source_ref_id) |
After repository (container) copy action. More... | |
static | afterPageHistoryEntry (ilPageObject $a_page, DOMDocument $a_old_domdoc, string $a_old_xml, int $a_old_nr) |
After page history entry has been created. More... | |
static | deleteHistoryLowerEqualThan (string $parent_type, int $page_id, string $lang, int $delete_lower_than_nr) |
Overwrite in derived classes, if old history entries are being deleted. More... | |
Protected Attributes | |
ilAccessHandler | $access |
ilCtrl | $ctrl |
ilLanguage | $lng |
![]() | |
DOMDocument | $dom_doc |
ILIAS COPage InternalDomainService | $domain |
string | $pcid |
string | $type = "" |
ilPageObject | $pg_obj |
string | $file_download_link |
string | $fullscreen_link |
string | $sourcecode_download_script |
ilLogger | $log |
string | $profile_back_url = "" |
ILIAS COPage Dom DomUtil | $dom_util |
PageManagerInterface | $page_manager = null |
ObjectAdapterInterface | $object = null |
Additional Inherited Members | |
![]() | |
string | $hier_id = "" |
DOMNode | $dom_node = null |
string | $page_lang = "" |
![]() | |
getPageManager () | |
setType (string $a_type) | |
Set Type. More... | |
hasNode () | |
createInitialChildNode (string $hier_id, string $pc_id, string $child, array $child_attributes=[]) | |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilPCSection Section content object (see ILIAS DTD)
Definition at line 24 of file class.ilPCSection.php.
|
static |
After page has been updated (or created)
Definition at line 78 of file class.ilPCSection.php.
ilPCSection::create | ( | ilPageObject | $a_pg_obj, |
string | $a_hier_id, | ||
string | $a_pc_id = "" |
||
) |
Definition at line 40 of file class.ilPCSection.php.
References ilPageContent\createInitialChildNode().
ilPCSection::getActiveFrom | ( | ) |
Get activation from.
Definition at line 110 of file class.ilPCSection.php.
References ilPageContent\getChildNode().
ilPCSection::getActiveTo | ( | ) |
Definition at line 127 of file class.ilPCSection.php.
References ilPageContent\getChildNode().
|
static |
Get page cache update trigger string.
ilDateTimeException |
Definition at line 316 of file class.ilPCSection.php.
References $DIC, $ilDB, ilPageObject\getId(), ilPageObject\getParentType(), and IL_CAL_UNIX.
Referenced by ilPageObjectGUI\showPage().
ilPCSection::getCharacteristic | ( | ) |
Definition at line 58 of file class.ilPCSection.php.
References ilPageContent\getChildNode().
|
static |
Definition at line 70 of file class.ilPCSection.php.
ilPCSection::getLink | ( | ) |
Definition at line 209 of file class.ilPCSection.php.
References ilPageContent\getChildNode().
ilPCSection::getModel | ( | ) |
Definition at line 406 of file class.ilPCSection.php.
References ilPageContent\getChildNode(), getProtected(), and null.
ilPCSection::getPermission | ( | ) |
Definition at line 144 of file class.ilPCSection.php.
References ilPageContent\getChildNode().
ilPCSection::getPermissionRefId | ( | ) |
Definition at line 154 of file class.ilPCSection.php.
References $id, ilPageContent\getChildNode(), and IL_INST_ID.
ilPCSection::getProtected | ( | ) |
Definition at line 388 of file class.ilPCSection.php.
References ilPageContent\getChildNode().
Referenced by getModel().
ilPCSection::handleAccess | ( | string | $a_html, |
string | $a_mode | ||
) |
Definition at line 228 of file class.ilPCSection.php.
References $access, $id, ilRBACAccessHandler\checkAccess(), ilPageObjectGUI\EDIT, and IL_INST_ID.
Referenced by modifyPageContentPostXsl().
ilPCSection::init | ( | ) |
Definition at line 30 of file class.ilPCSection.php.
References $DIC, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ilPageContent\setType().
ilPCSection::insertTimings | ( | string | $a_html | ) |
Insert timings (in edit mode)
ilDateTimeException |
Definition at line 346 of file class.ilPCSection.php.
References $lng, $param, ilDatePresentation\formatDate(), IL_CAL_UNIX, ilDatePresentation\setUseRelativeDates(), and ilLanguage\txt().
ilPCSection::modifyPageContentPostXsl | ( | string | $a_output, |
string | $a_mode, | ||
bool | $a_abstract_only = false |
||
) |
ilDateTimeException |
Definition at line 90 of file class.ilPCSection.php.
References handleAccess().
|
static |
Definition at line 264 of file class.ilPCSection.php.
References $DIC, ilPageContent\$dom_util, $ilDB, $path, ilPageObject\getDomDoc(), ilPageObject\getId(), and ilPageObject\getParentType().
ilPCSection::setActiveFrom | ( | int | $a_unix_ts | ) |
Definition at line 101 of file class.ilPCSection.php.
References ilPageContent\getChildNode(), and null.
ilPCSection::setActiveTo | ( | int | $a_unix_ts | ) |
Set activation to.
Definition at line 121 of file class.ilPCSection.php.
References ilPageContent\getChildNode(), and null.
ilPCSection::setCharacteristic | ( | string | $a_char | ) |
Definition at line 53 of file class.ilPCSection.php.
References ilPageContent\getChildNode().
ilPCSection::setExtLink | ( | string | $a_href | ) |
Set link of area to an external one.
Definition at line 174 of file class.ilPCSection.php.
References ilPageContent\getChildNode(), and setNoLink().
ilPCSection::setIntLink | ( | string | $a_type, |
string | $a_target, | ||
string | $a_target_frame | ||
) |
Set link of area to an internal one.
Definition at line 192 of file class.ilPCSection.php.
References ilPageContent\getChildNode(), and setNoLink().
ilPCSection::setNoLink | ( | ) |
Set no link.
Definition at line 166 of file class.ilPCSection.php.
References ilPageContent\getChildNode().
Referenced by setExtLink(), and setIntLink().
ilPCSection::setPermission | ( | string | $a_val | ) |
Set permission.
string | $a_val | "read"|"write"|"visible"|"no_read" |
Definition at line 139 of file class.ilPCSection.php.
References ilPageContent\getChildNode().
ilPCSection::setPermissionRefId | ( | int | $a_ref_id | ) |
Definition at line 149 of file class.ilPCSection.php.
References ilPageContent\getChildNode().
ilPCSection::setProtected | ( | bool | $val | ) |
Definition at line 397 of file class.ilPCSection.php.
References ilPageContent\getChildNode().
|
protected |
Definition at line 26 of file class.ilPCSection.php.
Referenced by handleAccess().
|
protected |
Definition at line 27 of file class.ilPCSection.php.
|
protected |
Definition at line 28 of file class.ilPCSection.php.
Referenced by insertTimings().