|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilPCTableGUI. More...
Inheritance diagram for ilPCTableGUI:
Collaboration diagram for ilPCTableGUI:Public Member Functions | |
| __construct (&$a_pg_obj, &$a_content_obj, $a_hier_id, $a_pc_id="") | |
| Constructor @access public. More... | |
| setBasicTableCellStyles () | |
| Set basic table cell styles. More... | |
| executeCommand () | |
| execute command More... | |
| setTabs () | |
| Set tabs. More... | |
| setCellPropertiesSubTabs () | |
| Set tabs. More... | |
| getTemplateOptions ($a_type="") | |
| Get table templates. More... | |
| edit () | |
| edit properties form More... | |
| initPropertiesForm ($a_mode="edit") | |
| Init properties form. More... | |
| getPropertiesFormValues () | |
| Get properties form. More... | |
| renderTable ($a_mode="table_edit", $a_submode="") | |
| Render the table. More... | |
| editCellStyle () | |
| Edit cell styles. More... | |
| editCellWidth () | |
| Edit cell widths. More... | |
| editCellSpan () | |
| Edit cell spans. More... | |
| setStyles () | |
| Set cell styles and. More... | |
| setWidths () | |
| Set cell widths. More... | |
| setSpans () | |
| Set cell spans. More... | |
| setProperties () | |
| Set properties from input form. More... | |
| saveProperties () | |
| save table properties in db and return to page edit screen More... | |
| rightAlign () | |
| align table to right More... | |
| leftAlign () | |
| align table to left More... | |
| centerAlign () | |
| align table to left More... | |
| leftFloatAlign () | |
| align table to left float More... | |
| rightFloatAlign () | |
| align table to left More... | |
| insert () | |
| insert new table form More... | |
| getNewTableObject () | |
| Get new table object. More... | |
| create () | |
| create new table in dom and update page in db More... | |
| afterCreation () | |
| After creation processing. More... | |
| editCellAlignment () | |
| Edit cell styles. More... | |
| setAlignment () | |
| Set cell alignments. More... | |
Public Member Functions inherited from ilPageContentGUI | |
| __construct ($a_pg_obj, $a_content_obj, $a_hier_id=0, $a_pc_id="") | |
| Constructor @access public. More... | |
| setContentObject ($a_val) | |
| Set content object. More... | |
| getContentObject () | |
| Get content object. More... | |
| setPage ($a_val) | |
| Set page. More... | |
| getPage () | |
| Get page. More... | |
| setPageConfig ($a_val) | |
| Set Page Config. More... | |
| getPageConfig () | |
| Get Page Config. More... | |
| setStyleId ($a_styleid) | |
| Set Style Id. More... | |
| getStyleId () | |
| Get Style Id. More... | |
| getStyle () | |
| Get style object. More... | |
| setCharacteristics ($a_chars) | |
| Set Characteristics. More... | |
| getCharacteristics () | |
| Get characteristics. More... | |
| getHierId () | |
| get hierarchical id in dom object More... | |
| setHierId ($a_hier_id) | |
| get hierarchical id in dom object More... | |
| getBBMenu ($a_ta_name="par_content") | |
| Get the bb menu incl. More... | |
| delete () | |
| delete content element More... | |
| moveAfter () | |
| move content element after another element More... | |
| moveBefore () | |
| move content element before another element More... | |
| splitPage () | |
| split page to new page at specified position More... | |
| splitPageNext () | |
| split page to next page at specified position More... | |
| displayValidationError () | |
| display validation errors More... | |
| cancelCreate () | |
| cancel creating page content More... | |
| cancelUpdate () | |
| cancel update More... | |
| cancel () | |
| Cancel. More... | |
| deactivate () | |
| gui function set enabled if is not enabled and vice versa More... | |
| cut () | |
| Cut single element. More... | |
| copy () | |
| Copy single element. More... | |
| getTemplateOptions ($a_type) | |
| Get table templates. More... | |
Static Public Member Functions | |
| static | _renderTable ($content, $a_mode="table_edit", $a_submode="", $a_table_obj=null, $unmask=true) |
| Static render table function. More... | |
| static | _addStyleCheckboxes ($a_output, $a_table) |
| Add style checkboxes in edit mode. More... | |
| static | _addAlignmentCheckboxes ($a_output, $a_table) |
| Add alignment checkboxes in edit mode. More... | |
| static | _addWidthInputs ($a_output, $a_table) |
| Add width inputs. More... | |
| static | _addSpanInputs ($a_output, $a_table) |
| Add span inputs. More... | |
Static Public Member Functions inherited from ilPageContentGUI | |
| static | _getCommonBBButtons () |
| Get common bb buttons. More... | |
Protected Attributes | |
| $tabs | |
| $user | |
Protected Attributes inherited from ilPageContentGUI | |
| $error | |
| $log | |
Additional Inherited Members | |
Data Fields inherited from ilPageContentGUI | |
| $content_obj | |
| $tpl | |
| $lng | |
| $ctrl | |
| $pg_obj | |
| $hier_id | |
| $dom | |
| $updated | |
| $target_script | |
| $return_location | |
| $page_config = null | |
Static Public Attributes inherited from ilPageContentGUI | |
| static | $style_selector_reset = "margin-top:2px; margin-bottom:2px; text-indent:0px; position:static; float:none; width: auto;" |
Protected Member Functions inherited from ilPageContentGUI | |
| getCharacteristicsOfCurrentStyle ($a_type) | |
| Get characteristics of current style. More... | |
Static Protected Attributes inherited from ilPageContentGUI | |
| static | $common_bb_buttons |
Class ilPCTableGUI.
User Interface for Table Editing
Definition at line 17 of file class.ilPCTableGUI.php.
| ilPCTableGUI::__construct | ( | & | $a_pg_obj, |
| & | $a_content_obj, | ||
| $a_hier_id, | |||
$a_pc_id = "" |
|||
| ) |
Constructor @access public.
Reimplemented in ilPCDataTableGUI.
Definition at line 34 of file class.ilPCTableGUI.php.
References $DIC, ilPageContentGUI\setCharacteristics(), and user().
Here is the call graph for this function:
|
static |
Add alignment checkboxes in edit mode.
Definition at line 532 of file class.ilPCTableGUI.php.
References $DIC, and ilPageContentGUI\$lng.
Referenced by _renderTable().
Here is the caller graph for this function:
|
static |
Add span inputs.
Definition at line 577 of file class.ilPCTableGUI.php.
References $DIC, $i, and ilPageContentGUI\$lng.
Referenced by _renderTable().
Here is the caller graph for this function:
|
static |
Add style checkboxes in edit mode.
Definition at line 505 of file class.ilPCTableGUI.php.
References $DIC, and ilPageContentGUI\$lng.
Referenced by _renderTable().
Here is the caller graph for this function:
|
static |
Add width inputs.
Definition at line 556 of file class.ilPCTableGUI.php.
References $DIC, and ilPageContentGUI\$lng.
Referenced by _renderTable().
Here is the caller graph for this function:
|
static |
Static render table function.
Definition at line 447 of file class.ilPCTableGUI.php.
References $DIC, $ilUser, $output, $params, _addAlignmentCheckboxes(), _addSpanInputs(), _addStyleCheckboxes(), _addWidthInputs(), ilUtil\getImagePath(), ilUtil\getWebspaceDir(), xslt_create(), xslt_error(), and xslt_free().
Referenced by ilObjStyleSheetGUI\_getTemplatePreview(), and renderTable().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCTableGUI::afterCreation | ( | ) |
After creation processing.
Reimplemented in ilPCDataTableGUI.
Definition at line 958 of file class.ilPCTableGUI.php.
Referenced by create().
Here is the caller graph for this function:| ilPCTableGUI::centerAlign | ( | ) |
align table to left
Definition at line 853 of file class.ilPCTableGUI.php.
References $_SESSION.
| ilPCTableGUI::create | ( | ) |
create new table in dom and update page in db
Definition at line 908 of file class.ilPCTableGUI.php.
References $_POST, ilPageContentGUI\$lng, afterCreation(), getNewTableObject(), insert(), setProperties(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilPCTableGUI::edit | ( | ) |
edit properties form
Definition at line 157 of file class.ilPCTableGUI.php.
References ilPageContentGUI\$ctrl, $html, $ilCtrl, ilPageContentGUI\$lng, ilPageContentGUI\$tpl, ilPageContentGUI\displayValidationError(), getPropertiesFormValues(), initPropertiesForm(), renderTable(), and setTabs().
Referenced by saveProperties().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCTableGUI::editCellAlignment | ( | ) |
Edit cell styles.
Definition at line 971 of file class.ilPCTableGUI.php.
References ilPageContentGUI\$ctrl, $form, $html, $ilCtrl, ilPageContentGUI\$lng, $options, $si, $tabs, ilPageContentGUI\$tpl, ilPageContentGUI\displayValidationError(), renderTable(), setCellPropertiesSubTabs(), and setTabs().
Here is the call graph for this function:| ilPCTableGUI::editCellSpan | ( | ) |
Edit cell spans.
Definition at line 691 of file class.ilPCTableGUI.php.
References ilPageContentGUI\$ctrl, $html, $ilCtrl, ilPageContentGUI\$lng, $tabs, ilPageContentGUI\$tpl, ilPageContentGUI\displayValidationError(), renderTable(), setCellPropertiesSubTabs(), and setTabs().
Here is the call graph for this function:| ilPCTableGUI::editCellStyle | ( | ) |
Edit cell styles.
Definition at line 616 of file class.ilPCTableGUI.php.
References ilPageContentGUI\$ctrl, $form, $html, $ilCtrl, ilPageContentGUI\$lng, $options, $style, $tabs, ilPageContentGUI\$tpl, ilPageContentGUI\displayValidationError(), ilPageContentGUI\getCharacteristics(), ilPageContentGUI\getCharacteristicsOfCurrentStyle(), renderTable(), setBasicTableCellStyles(), setCellPropertiesSubTabs(), and setTabs().
Here is the call graph for this function:| ilPCTableGUI::editCellWidth | ( | ) |
Edit cell widths.
Definition at line 665 of file class.ilPCTableGUI.php.
References ilPageContentGUI\$ctrl, $html, $ilCtrl, ilPageContentGUI\$lng, $tabs, ilPageContentGUI\$tpl, ilPageContentGUI\displayValidationError(), renderTable(), setCellPropertiesSubTabs(), and setTabs().
Here is the call graph for this function:| ilPCTableGUI::executeCommand | ( | ) |
execute command
Reimplemented in ilPCDataTableGUI.
Definition at line 59 of file class.ilPCTableGUI.php.
References $ret, and ilPageContentGUI\getCharacteristicsOfCurrentStyle().
Here is the call graph for this function:| ilPCTableGUI::getNewTableObject | ( | ) |
Get new table object.
Reimplemented in ilPCDataTableGUI.
Definition at line 900 of file class.ilPCTableGUI.php.
References ilPageContentGUI\getPage().
Referenced by create().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCTableGUI::getPropertiesFormValues | ( | ) |
Get properties form.
Definition at line 390 of file class.ilPCTableGUI.php.
References ilObjStyleSheet\_lookupTemplateIdByName(), and ilPageContentGUI\getStyleId().
Referenced by edit().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCTableGUI::getTemplateOptions | ( | $a_type = "" | ) |
Get table templates.
Reimplemented from ilPageContentGUI.
Definition at line 149 of file class.ilPCTableGUI.php.
Referenced by initPropertiesForm().
Here is the caller graph for this function:| ilPCTableGUI::initPropertiesForm | ( | $a_mode = "edit" | ) |
Init properties form.
Definition at line 176 of file class.ilPCTableGUI.php.
References $_GET, $_SESSION, $border, $cols, ilPageContentGUI\$ctrl, $html, $i, $ilCtrl, $ilUser, $lang, ilPageContentGUI\$lng, $options, $rows, $t, ilPageContentGUI\$tpl, $user, ilMDLanguageItem\_getLanguages(), ilPageContentGUI\getCharacteristics(), ilPageContentGUI\getCharacteristicsOfCurrentStyle(), getTemplateOptions(), and setBasicTableCellStyles().
Referenced by edit(), and insert().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCTableGUI::insert | ( | ) |
insert new table form
Definition at line 883 of file class.ilPCTableGUI.php.
References ilPageContentGUI\$ctrl, $html, $ilCtrl, $ilUser, ilPageContentGUI\$lng, ilPageContentGUI\$tpl, $user, ilPageContentGUI\displayValidationError(), and initPropertiesForm().
Referenced by create().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCTableGUI::leftAlign | ( | ) |
align table to left
Definition at line 843 of file class.ilPCTableGUI.php.
References $_SESSION.
| ilPCTableGUI::leftFloatAlign | ( | ) |
align table to left float
Definition at line 863 of file class.ilPCTableGUI.php.
References $_SESSION.
| ilPCTableGUI::renderTable | ( | $a_mode = "table_edit", |
|
$a_submode = "" |
|||
| ) |
Render the table.
Definition at line 422 of file class.ilPCTableGUI.php.
References $mobs, $style, ilObject\_lookupType(), _renderTable(), and ilPageContentGUI\getStyleId().
Referenced by edit(), editCellAlignment(), editCellSpan(), editCellStyle(), and editCellWidth().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCTableGUI::rightAlign | ( | ) |
align table to right
Definition at line 833 of file class.ilPCTableGUI.php.
References $_SESSION.
| ilPCTableGUI::rightFloatAlign | ( | ) |
align table to left
Definition at line 873 of file class.ilPCTableGUI.php.
References $_SESSION.
| ilPCTableGUI::saveProperties | ( | ) |
save table properties in db and return to page edit screen
Definition at line 817 of file class.ilPCTableGUI.php.
References edit(), and setProperties().
Here is the call graph for this function:| ilPCTableGUI::setAlignment | ( | ) |
Set cell alignments.
Definition at line 1014 of file class.ilPCTableGUI.php.
References $_POST, ilPageContentGUI\$lng, ilUtil\sendSuccess(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilPCTableGUI::setBasicTableCellStyles | ( | ) |
Set basic table cell styles.
Definition at line 50 of file class.ilPCTableGUI.php.
References ilPageContentGUI\setCharacteristics().
Referenced by editCellStyle(), and initPropertiesForm().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCTableGUI::setCellPropertiesSubTabs | ( | ) |
Set tabs.
Definition at line 111 of file class.ilPCTableGUI.php.
References ilPageContentGUI\$ctrl, $ilCtrl, ilPageContentGUI\$lng, and $tabs.
Referenced by editCellAlignment(), editCellSpan(), editCellStyle(), and editCellWidth().
Here is the caller graph for this function:| ilPCTableGUI::setProperties | ( | ) |
Set properties from input form.
Definition at line 782 of file class.ilPCTableGUI.php.
References $_POST, $t, and ilUtil\stripSlashes().
Referenced by create(), and saveProperties().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCTableGUI::setSpans | ( | ) |
Set cell spans.
Definition at line 763 of file class.ilPCTableGUI.php.
References $_POST, ilPageContentGUI\$lng, ilUtil\sendSuccess(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilPCTableGUI::setStyles | ( | ) |
Set cell styles and.
Definition at line 717 of file class.ilPCTableGUI.php.
References $_POST, ilPageContentGUI\$lng, ilUtil\sendSuccess(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilPCTableGUI::setTabs | ( | ) |
Set tabs.
Reimplemented in ilPCDataTableGUI.
Definition at line 82 of file class.ilPCTableGUI.php.
References ilPageContentGUI\$ctrl, $ilCtrl, ilPageContentGUI\$lng, and $tabs.
Referenced by edit(), editCellAlignment(), editCellSpan(), editCellStyle(), and editCellWidth().
Here is the caller graph for this function:| ilPCTableGUI::setWidths | ( | ) |
Set cell widths.
Definition at line 741 of file class.ilPCTableGUI.php.
References $_POST, ilPageContentGUI\$lng, ilUtil\sendSuccess(), and ilUtil\stripSlashes().
Here is the call graph for this function:
|
protected |
Definition at line 22 of file class.ilPCTableGUI.php.
Referenced by editCellAlignment(), editCellSpan(), editCellStyle(), editCellWidth(), setCellPropertiesSubTabs(), and setTabs().
|
protected |
Definition at line 27 of file class.ilPCTableGUI.php.
Referenced by initPropertiesForm(), and insert().