|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class ilPCAMDPageList. More...
Inheritance diagram for ilPCAMDPageList:
Collaboration diagram for ilPCAMDPageList: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) | |
| Modify page content after xsl. 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 | handleCopiedContent (DOMDocument $a_domdoc, $a_self_ass=true, $a_clone_mobs=false) |
| Handle copied content. More... | |
| 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... | |
Additional Inherited Members | |
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 52 of file class.ilPCAMDPageList.php.
References ilPageContent\createPageContentNode(), and IL_INSERT_AFTER.
Here is the call graph for this function:
|
protected |
Definition at line 172 of file class.ilPCAMDPageList.php.
References $ilDB, $row, ilAdvancedMDRecord\_getSelectedRecordsByObject(), getFieldValues(), ilADTFactory\getInstance(), ilAdvancedMDFieldDefinition\getInstancesByRecordId(), and ilPageContent\getPage().
Referenced by modifyPageContentPostXsl().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCAMDPageList::getFieldValues | ( | $a_data_id = null | ) |
Get filter field values.
| int | $a_data_id |
Definition at line 106 of file class.ilPCAMDPageList.php.
References $ilDB, $res, and $row.
Referenced by findPages().
Here is the caller graph for this function:
|
static |
Get lang vars needed for editing.
Reimplemented from ilPageContent.
Definition at line 32 of file class.ilPCAMDPageList.php.
| ilPCAMDPageList::getMode | ( | ) |
Definition at line 92 of file class.ilPCAMDPageList.php.
|
static |
Handle copied content.
This function must, e.g. create copies of objects referenced within the content (e.g. question objects)
| DOMDocument | $a_domdoc | dom document |
Reimplemented from ilPageContent.
Definition at line 133 of file class.ilPCAMDPageList.php.
References $ilDB, ilPageContent\$node, and $row.
| ilPCAMDPageList::init | ( | ) |
Init page content component.
Reimplemented from ilPageContent.
Definition at line 23 of file class.ilPCAMDPageList.php.
References ilPageContent\setType().
Here is the call graph for this function:
|
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 299 of file class.ilPCAMDPageList.php.
References $data, $ilDB, and $row.
Referenced by ilAdvancedMDFieldDefinitionSelect\update(), and ilAdvancedMDFieldDefinitionSelectMulti\update().
Here is the caller graph for this function:| ilPCAMDPageList::modifyPageContentPostXsl | ( | $a_output, | |
| $a_mode | |||
| ) |
Modify page content after xsl.
| string | $a_output |
Reimplemented from ilPageContent.
Definition at line 220 of file class.ilPCAMDPageList.php.
References $lng, $start, findPages(), ilPageContent\getPage(), and ilWikiUtil\makeLink().
Here is the call graph for this function:| ilPCAMDPageList::setData | ( | array | $a_fields_data, |
$a_mode = null |
|||
| ) |
Set list settings.
Definition at line 63 of file class.ilPCAMDPageList.php.
References $ilDB.
| ilPCAMDPageList::setNode | ( | $a_node | ) |
Set node.
Reimplemented from ilPageContent.
Definition at line 40 of file class.ilPCAMDPageList.php.
| ilPCAMDPageList::$dom |
Definition at line 18 of file class.ilPCAMDPageList.php.