|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Grid element. More...
Inheritance diagram for ilPCGrid:
Collaboration diagram for ilPCGrid:Public Member Functions | |
| init () | |
| Init page content component. More... | |
| setNode ($a_node) | |
| Set content node. More... | |
| create ($a_pg_obj, $a_hier_id, $a_pc_id="") | |
| Create new Grid node. More... | |
| applyTemplate (int $post_layout_template, int $number_of_cells, $s, $m, $l, $xl) | |
| savePositions ($a_pos) | |
| Set attribute of grid tag. More... | |
| saveWidths ($a_width_s, $a_width_m, $a_width_l, $a_width_xl) | |
| Save widths of cells. More... | |
| deleteGridCell ($a_hier_id, $a_pc_id) | |
| Delete grid cell. More... | |
| addGridCell ($a_s, $a_m, $a_l, $a_xl) | |
| Add grid cell. More... | |
| addCell () | |
| Add a cell. More... | |
| getJavascriptFiles ($a_mode) | |
| Get Javascript files. More... | |
| getCssFiles ($a_mode) | |
| Get Javascript files. More... | |
| getCellData () | |
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... | |
| setProfileBackUrl ($url) | |
| getProfileBackUrl () | |
| 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, $a_abstract_only=false) | |
| Modify page content after xsl. More... | |
| getModel () | |
| Get model. More... | |
Static Public Member Functions | |
| static | getSizes () |
| Get sizes. More... | |
| static | getWidths () |
| Get widths. More... | |
| static | getLangVars () |
| Get lang vars needed for editing. 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... | |
Protected Attributes | |
| $grid_node | |
Protected Attributes inherited from ilPageContent | |
| $profile_back_url | |
| $file_download_link | |
| $fullscreen_link | |
| $sourcecode_download_script | |
| $log | |
Additional Inherited Members | |
Data Fields inherited from ilPageContent | |
| $hier_id | |
| $node | |
| $dom | |
| $page_lang | |
Protected Member Functions inherited from ilPageContent | |
| setType ($a_type) | |
| Set Type. More... | |
Grid element.
Definition at line 33 of file class.ilPCGrid.php.
| ilPCGrid::addCell | ( | ) |
Add a cell.
Definition at line 247 of file class.ilPCGrid.php.
| ilPCGrid::addGridCell | ( | $a_s, | |
| $a_m, | |||
| $a_l, | |||
| $a_xl | |||
| ) |
Add grid cell.
Definition at line 232 of file class.ilPCGrid.php.
Referenced by applyTemplate().
Here is the caller graph for this function:| ilPCGrid::applyTemplate | ( | int | $post_layout_template, |
| int | $number_of_cells, | ||
| $s, | |||
| $m, | |||
| $l, | |||
| $xl | |||
| ) |
| $post_layout_template | |
| $number_of_cells | |
| $s | |
| $m | |
| $l | |
| $xl |
Definition at line 101 of file class.ilPCGrid.php.
References $i, addGridCell(), ilPCGridGUI\TEMPLATE_MAIN_SIDE, ilPCGridGUI\TEMPLATE_MANUAL, ilPCGridGUI\TEMPLATE_THREE_COLUMN, ilPCGridGUI\TEMPLATE_TWO_BY_TWO, and ilPCGridGUI\TEMPLATE_TWO_COLUMN.
Here is the call graph for this function:| ilPCGrid::create | ( | $a_pg_obj, | |
| $a_hier_id, | |||
$a_pc_id = "" |
|||
| ) |
Create new Grid node.
Definition at line 85 of file class.ilPCGrid.php.
References ilPageContent\createPageContentNode(), and IL_INSERT_AFTER.
Here is the call graph for this function:| ilPCGrid::deleteGridCell | ( | $a_hier_id, | |
| $a_pc_id | |||
| ) |
Delete grid cell.
Definition at line 216 of file class.ilPCGrid.php.
References $i.
| ilPCGrid::getCellData | ( | ) |
Definition at line 283 of file class.ilPCGrid.php.
References ilPageContent\$hier_id, and $i.
| ilPCGrid::getCssFiles | ( | $a_mode | ) |
Get Javascript files.
Reimplemented from ilPageContent.
Definition at line 278 of file class.ilPCGrid.php.
| ilPCGrid::getJavascriptFiles | ( | $a_mode | ) |
Get Javascript files.
Reimplemented from ilPageContent.
Definition at line 270 of file class.ilPCGrid.php.
|
static |
Get lang vars needed for editing.
Reimplemented from ilPageContent.
Definition at line 262 of file class.ilPCGrid.php.
|
static |
Get sizes.
Note that these are mapped to (BS3): s > .col-xs, m > .col-sm, l > .col-md, xl > .col-lg
Definition at line 63 of file class.ilPCGrid.php.
Referenced by ilPCGridCellTableGUI\fillRow(), and ilPCGridGUI\initCreationForm().
Here is the caller graph for this function:
|
static |
Get widths.
Definition at line 72 of file class.ilPCGrid.php.
Referenced by ilPCGridCellTableGUI\fillRow(), and ilPCGridGUI\initCreationForm().
Here is the caller graph for this function:| ilPCGrid::init | ( | ) |
Init page content component.
Reimplemented from ilPageContent.
Definition at line 40 of file class.ilPCGrid.php.
References ilPageContent\setType().
Here is the call graph for this function:| ilPCGrid::savePositions | ( | $a_pos | ) |
Set attribute of grid tag.
| string | $a_attr | attribute name |
| string | $a_value | attribute value Save positions of grid cells |
| array | $a_pos |
Definition at line 170 of file class.ilPCGrid.php.
References ilPageContent\$hier_id, and $i.
| ilPCGrid::saveWidths | ( | $a_width_s, | |
| $a_width_m, | |||
| $a_width_l, | |||
| $a_width_xl | |||
| ) |
Save widths of cells.
Definition at line 195 of file class.ilPCGrid.php.
References ilPageContent\$hier_id, and $i.
| ilPCGrid::setNode | ( | $a_node | ) |
Set content node.
| object | $a_node |
Reimplemented from ilPageContent.
Definition at line 49 of file class.ilPCGrid.php.
|
protected |
Definition at line 35 of file class.ilPCGrid.php.