ILIAS
Release_4_0_x_branch Revision 61816
|
Class ilPCResources. More...
Public Member Functions | |
init () | |
Init page content component. | |
setNode (&$a_node) | |
Set node. | |
create (&$a_pg_obj, $a_hier_id, $a_pc_id="") | |
Create resources node in xml. | |
setResourceListType ($a_type) | |
Set Type of Resource List (currently only one) | |
getResourceListType () | |
Get Resource Lis Type. | |
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 | |
$dom | |
$res_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 ilPCResources.
Resources content object (see ILIAS DTD). Inserts Repository Resources of a Container Object,
Definition at line 17 of file class.ilPCResources.php.
ilPCResources::create | ( | & | $a_pg_obj, |
$a_hier_id, | |||
$a_pc_id = "" |
|||
) |
Create resources node in xml.
object | $a_pg_obj | Page Object |
string | $a_hier_id | Hierarchical ID |
Definition at line 45 of file class.ilPCResources.php.
References ilPageContent\createPageContentNode(), and IL_INSERT_AFTER.
ilPCResources::getResourceListType | ( | ) |
Get Resource Lis Type.
Definition at line 78 of file class.ilPCResources.php.
ilPCResources::init | ( | ) |
Init page content component.
Reimplemented from ilPageContent.
Definition at line 25 of file class.ilPCResources.php.
References ilPageContent\setType().
ilPCResources::setNode | ( | & | $a_node | ) |
Set node.
Reimplemented from ilPageContent.
Definition at line 33 of file class.ilPCResources.php.
ilPCResources::setResourceListType | ( | $a_type | ) |
Set Type of Resource List (currently only one)
string | $a_type | Resource Type Group |
Definition at line 58 of file class.ilPCResources.php.
ilPCResources::$dom |
Definition at line 19 of file class.ilPCResources.php.
ilPCResources::$res_node |
Definition at line 20 of file class.ilPCResources.php.