ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilPCAMDPageList. More...
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 list node in xml. More... | |
setData (array $a_fields_data, $a_mode=null) | |
Set list settings. More... | |
getMode () | |
getFieldValues ($a_data_id=null) | |
Get filter field values. More... | |
modifyPageContentPostXsl ($a_html, $a_mode) | |
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 | handleCopiedContent (DOMDocument $a_domdoc, $a_self_ass=true, $a_clone_mobs=false) |
static | migrateField ($a_obj_id, $a_field_id, $old_option, $new_option, $a_is_multi=false) |
Migrate search/filter values on advmd change. 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 | |
findPages ($a_list_id) | |
Protected Member Functions inherited from ilPageContent | |
setType ($a_type) | |
Set Type. More... | |
Protected Attributes | |
$db | |
$lng | |
Protected Attributes inherited from ilPageContent | |
$file_download_link | |
$fullscreen_link | |
$sourcecode_download_script | |
$log | |
Class ilPCAMDPageList.
Advanced MD page list content object (see ILIAS DTD)
Definition at line 16 of file class.ilPCAMDPageList.php.
ilPCAMDPageList::create | ( | & | $a_pg_obj, |
$a_hier_id, | |||
$a_pc_id = "" |
|||
) |
Create list node in xml.
object | $a_pg_obj | Page Object |
string | $a_hier_id | Hierarchical ID |
Definition at line 68 of file class.ilPCAMDPageList.php.
References ilPageContent\createPageContentNode(), and IL_INSERT_AFTER.
|
protected |
Definition at line 178 of file class.ilPCAMDPageList.php.
References $db, $ilDB, $row, ilAdvancedMDRecord\_getSelectedRecordsByObject(), array, getFieldValues(), ilADTFactory\getInstance(), ilAdvancedMDFieldDefinition\getInstancesByRecordId(), and ilPageContent\getPage().
Referenced by modifyPageContentPostXsl().
ilPCAMDPageList::getFieldValues | ( | $a_data_id = null | ) |
Get filter field values.
int | $a_data_id |
Definition at line 117 of file class.ilPCAMDPageList.php.
References $db, $ilDB, $res, $row, and array.
Referenced by findPages().
|
static |
Get lang vars needed for editing.
Definition at line 48 of file class.ilPCAMDPageList.php.
References array.
ilPCAMDPageList::getMode | ( | ) |
Definition at line 104 of file class.ilPCAMDPageList.php.
|
static |
Definition at line 140 of file class.ilPCAMDPageList.php.
References $DIC, $ilDB, ilPageContent\$node, $row, and array.
ilPCAMDPageList::init | ( | ) |
Init page content component.
Definition at line 33 of file class.ilPCAMDPageList.php.
References $_GET, $DIC, and ilPageContent\setType().
|
static |
Migrate search/filter values on advmd change.
int | $a_obj_id | |
int | $a_field_id | |
string | $old_option | |
string | $new_option | |
bool | $a_is_multi |
Definition at line 289 of file class.ilPCAMDPageList.php.
References $data, $DIC, $ilDB, $row, and array.
Referenced by ilAdvancedMDFieldDefinitionSelectMulti\update(), and ilAdvancedMDFieldDefinitionSelect\update().
ilPCAMDPageList::modifyPageContentPostXsl | ( | $a_html, | |
$a_mode | |||
) |
Definition at line 218 of file class.ilPCAMDPageList.php.
References $end, $i, $lng, findPages(), ilPageContent\getPage(), and ilWikiUtil\makeLink().
ilPCAMDPageList::setData | ( | array | $a_fields_data, |
$a_mode = null |
|||
) |
Set list settings.
Definition at line 79 of file class.ilPCAMDPageList.php.
References $db, $ilDB, and array.
ilPCAMDPageList::setNode | ( | $a_node | ) |
Set node.
Definition at line 56 of file class.ilPCAMDPageList.php.
|
protected |
Definition at line 21 of file class.ilPCAMDPageList.php.
Referenced by findPages(), getFieldValues(), and setData().
ilPCAMDPageList::$dom |
Definition at line 28 of file class.ilPCAMDPageList.php.
|
protected |
Definition at line 26 of file class.ilPCAMDPageList.php.
Referenced by modifyPageContentPostXsl().