ILIAS
eassessment Revision 61809
|
Class ilPCFileList. More...
Public Member Functions | |
init () | |
Init page content component. | |
setNode (&$a_node) | |
Set xml node of page content. | |
create (&$a_pg_obj, $a_hier_id, $a_pc_id="") | |
appendItem ($a_id, $a_location, $a_format) | |
setListTitle ($a_title, $a_language) | |
getListTitle () | |
getLanguage () | |
getFileList () | |
Get list of files. | |
deleteFileItems ($a_ids) | |
Delete file items. | |
savePositions ($a_pos) | |
Save positions of file items. | |
getAllClasses () | |
Get all style classes. | |
saveStyleClasses ($a_class) | |
Save style classes of file items. | |
Public Member Functions inherited from ilPageContent | |
__construct ($a_dom) | |
Constructor. | |
getType () | |
Get type of page content. | |
& | getNode () |
Get xml node of page content. | |
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. | |
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) |
Data Fields | |
$list_node | |
Data Fields inherited from ilPageContent | |
$hier_id | |
$node | |
$dom |
Additional Inherited Members | |
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. | |
Protected Member Functions inherited from ilPageContent | |
setType ($a_type) | |
Set Type. |
Class ilPCFileList.
File List content object (see ILIAS DTD)
Definition at line 36 of file class.ilPCFileList.php.
ilPCFileList::appendItem | ( | $a_id, | |
$a_location, | |||
$a_format | |||
) |
Definition at line 72 of file class.ilPCFileList.php.
ilPCFileList::create | ( | & | $a_pg_obj, |
$a_hier_id, | |||
$a_pc_id = "" |
|||
) |
Definition at line 54 of file class.ilPCFileList.php.
References ilPageContent\createPageContentNode(), and IL_INSERT_AFTER.
ilPCFileList::deleteFileItems | ( | $a_ids | ) |
Delete file items.
Definition at line 169 of file class.ilPCFileList.php.
References $files, and ilPageContent\$hier_id.
ilPCFileList::getAllClasses | ( | ) |
Get all style classes.
Definition at line 226 of file class.ilPCFileList.php.
ilPCFileList::getFileList | ( | ) |
Get list of files.
Definition at line 132 of file class.ilPCFileList.php.
References $files, and ilPageContent\$hier_id.
ilPCFileList::getLanguage | ( | ) |
Definition at line 116 of file class.ilPCFileList.php.
ilPCFileList::getListTitle | ( | ) |
Definition at line 103 of file class.ilPCFileList.php.
ilPCFileList::init | ( | ) |
Init page content component.
Reimplemented from ilPageContent.
Definition at line 43 of file class.ilPCFileList.php.
References ilPageContent\setType().
ilPCFileList::savePositions | ( | $a_pos | ) |
Save positions of file items.
Definition at line 195 of file class.ilPCFileList.php.
References ilPageContent\$hier_id.
ilPCFileList::saveStyleClasses | ( | $a_class | ) |
Save style classes of file items.
Definition at line 248 of file class.ilPCFileList.php.
ilPCFileList::setListTitle | ( | $a_title, | |
$a_language | |||
) |
Definition at line 96 of file class.ilPCFileList.php.
References ilDOMUtil\setFirstOptionalElement().
ilPCFileList::setNode | ( | & | $a_node | ) |
Set xml node of page content.
object | $a_node | node object |
Reimplemented from ilPageContent.
Definition at line 48 of file class.ilPCFileList.php.
ilPCFileList::$list_node |
Definition at line 38 of file class.ilPCFileList.php.