|
ILIAS
Release_4_0_x_branch Revision 61816
|
Class ilPCTableGUI. More...
Inheritance diagram for ilPCTableGUI:
Collaboration diagram for ilPCTableGUI:Public Member Functions | |
| ilPCTableGUI (&$a_pg_obj, &$a_content_obj, $a_hier_id, $a_pc_id="") | |
| Constructor public. | |
| setBasicTableCellStyles () | |
| Set basic table cell styles. | |
| & | executeCommand () |
| execute command | |
| setTabs () | |
| Set tabs. | |
| setCellPropertiesSubTabs () | |
| Set tabs. | |
| getTemplateOptions () | |
| Get table templates. | |
| edit () | |
| edit properties form | |
| initPropertiesForm ($a_mode="edit") | |
| Init properties form. | |
| getPropertiesFormValues () | |
| Get properties form. | |
| renderTable ($a_mode="table_edit", $a_submode="") | |
| Render the table. | |
| editCellStyle () | |
| Edit cell styles. | |
| editCellWidth () | |
| Edit cell widths. | |
| editCellSpan () | |
| Edit cell spans. | |
| setStyles () | |
| Set cell styles and. | |
| setWidths () | |
| Set cell widths. | |
| setSpans () | |
| Set cell spans. | |
| setProperties () | |
| Set properties from input form. | |
| saveProperties () | |
| save table properties in db and return to page edit screen | |
| rightAlign () | |
| align table to right | |
| leftAlign () | |
| align table to left | |
| centerAlign () | |
| align table to left | |
| leftFloatAlign () | |
| align table to left float | |
| rightFloatAlign () | |
| align table to left | |
| insert () | |
| insert new table form | |
| getNewTableObject () | |
| Get new table object. | |
| create () | |
| create new table in dom and update page in db | |
| afterCreation () | |
| After creation processing. | |
Public Member Functions inherited from ilPageContentGUI | |
| ilPageContentGUI (&$a_pg_obj, &$a_content_obj, $a_hier_id=0, $a_pc_id="") | |
| Constructor public. | |
| setStyleId ($a_styleid) | |
| Set Style Id. | |
| getStyleId () | |
| Get Style Id. | |
| getStyle () | |
| Get style object. | |
| setCharacteristics ($a_chars) | |
| Set Characteristics. | |
| getCharacteristics () | |
| Get characteristics. | |
| getHierId () | |
| get hierarchical id in dom object | |
| setHierId ($a_hier_id) | |
| get hierarchical id in dom object | |
| getBBMenu ($a_ta_name="par_content") | |
| Get the bb menu incl. | |
| delete () | |
| delete content element | |
| moveAfter () | |
| move content element after another element | |
| moveBefore () | |
| move content element before another element | |
| splitPage () | |
| split page to new page at specified position | |
| splitPageNext () | |
| split page to next page at specified position | |
| displayValidationError () | |
| display validation errors | |
| cancelCreate () | |
| cancel creating page content | |
| cancelUpdate () | |
| cancel update | |
| deactivate () | |
| gui function set enabled if is not enabled and vice versa | |
| getTemplateOptions ($a_type) | |
| Get table templates. | |
Static Public Member Functions | |
| static | _renderTable ($content, $a_mode="table_edit", $a_submode="", $a_table_obj=null) |
| Static render table function. | |
| static | _addStyleCheckboxes ($a_output, $a_table) |
| Add style checkboxes in edit mode. | |
| static | _addWidthInputs ($a_output, $a_table) |
| Add width inputs. | |
| static | _addSpanInputs ($a_output, $a_table) |
| Add span inputs. | |
Static Public Member Functions inherited from ilPageContentGUI | |
| static | _getCommonBBButtons () |
| Get common bb buttons. | |
Additional Inherited Members | |
Data Fields inherited from ilPageContentGUI | |
| $content_obj | |
| $ilias | |
| $tpl | |
| $lng | |
| $ctrl | |
| $pg_obj | |
| $hier_id | |
| $dom | |
| $updated | |
| $target_script | |
| $return_location | |
Protected Member Functions inherited from ilPageContentGUI | |
| getCharacteristicsOfCurrentStyle ($a_type) | |
| Get characteristics of current style. | |
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.
|
static |
Add span inputs.
Definition at line 512 of file class.ilPCTableGUI.php.
References ilPageContentGUI\$lng.
Referenced by _renderTable().
Here is the caller graph for this function:
|
static |
Add style checkboxes in edit mode.
Definition at line 464 of file class.ilPCTableGUI.php.
References ilPageContentGUI\$lng.
Referenced by _renderTable().
Here is the caller graph for this function:
|
static |
Add width inputs.
Definition at line 492 of file class.ilPCTableGUI.php.
References ilPageContentGUI\$lng.
Referenced by _renderTable().
Here is the caller graph for this function:
|
static |
Static render table function.
Definition at line 412 of file class.ilPCTableGUI.php.
References $params, _addSpanInputs(), _addStyleCheckboxes(), _addWidthInputs(), ilUtil\getImagePath(), ilUtil\getWebspaceDir(), xslt_create(), xslt_error(), xslt_free(), and xslt_process().
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 896 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 787 of file class.ilPCTableGUI.php.
References $_SESSION.
| ilPCTableGUI::create | ( | ) |
create new table in dom and update page in db
Definition at line 839 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 116 of file class.ilPCTableGUI.php.
References $ilCtrl, ilPageContentGUI\$lng, ilPageContentGUI\$tpl, ilPageContentGUI\displayValidationError(), getPropertiesFormValues(), initPropertiesForm(), and setTabs().
Referenced by saveProperties().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCTableGUI::editCellSpan | ( | ) |
Edit cell spans.
Definition at line 622 of file class.ilPCTableGUI.php.
References $ilCtrl, ilPageContentGUI\$lng, ilPageContentGUI\$tpl, ilPageContentGUI\displayValidationError(), setCellPropertiesSubTabs(), and setTabs().
Here is the call graph for this function:| ilPCTableGUI::editCellStyle | ( | ) |
Edit cell styles.
Definition at line 552 of file class.ilPCTableGUI.php.
References $ilCtrl, ilPageContentGUI\$lng, ilPageContentGUI\$tpl, ilPageContentGUI\displayValidationError(), ilPageContentGUI\getCharacteristics(), ilPageContentGUI\getCharacteristicsOfCurrentStyle(), setBasicTableCellStyles(), setCellPropertiesSubTabs(), and setTabs().
Here is the call graph for this function:| ilPCTableGUI::editCellWidth | ( | ) |
Edit cell widths.
Definition at line 598 of file class.ilPCTableGUI.php.
References $ilCtrl, ilPageContentGUI\$lng, ilPageContentGUI\$tpl, ilPageContentGUI\displayValidationError(), setCellPropertiesSubTabs(), and setTabs().
Here is the call graph for this function:| & ilPCTableGUI::executeCommand | ( | ) |
execute command
Reimplemented in ilPCDataTableGUI.
Definition at line 43 of file class.ilPCTableGUI.php.
References $cmd, $ret, and ilPageContentGUI\getCharacteristicsOfCurrentStyle().
Here is the call graph for this function:| ilPCTableGUI::getNewTableObject | ( | ) |
Get new table object.
Reimplemented in ilPCDataTableGUI.
Definition at line 831 of file class.ilPCTableGUI.php.
Referenced by create().
Here is the caller graph for this function:| ilPCTableGUI::getPropertiesFormValues | ( | ) |
Get properties form.
Definition at line 353 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 | ( | ) |
Get table templates.
Definition at line 108 of file class.ilPCTableGUI.php.
Referenced by initPropertiesForm().
Here is the caller graph for this function:| ilPCTableGUI::ilPCTableGUI | ( | & | $a_pg_obj, |
| & | $a_content_obj, | ||
| $a_hier_id, | |||
$a_pc_id = "" |
|||
| ) |
Constructor public.
Definition at line 24 of file class.ilPCTableGUI.php.
References ilPageContentGUI\ilPageContentGUI(), and ilPageContentGUI\setCharacteristics().
Here is the call graph for this function:| ilPCTableGUI::initPropertiesForm | ( | $a_mode = "edit" | ) |
Init properties form.
Definition at line 133 of file class.ilPCTableGUI.php.
References $_GET, $_SESSION, $ilCtrl, $lang, ilPageContentGUI\$lng, $t, ilPageContentGUI\$tpl, ilMDLanguageItem\_getLanguages(), ilRadioOption\addSubItem(), ilPageContentGUI\getCharacteristics(), ilPageContentGUI\getCharacteristicsOfCurrentStyle(), getTemplateOptions(), setBasicTableCellStyles(), ilSelectInputGUI\setOptions(), ilTextInputGUI\setSize(), and ilTextInputGUI\setValue().
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 817 of file class.ilPCTableGUI.php.
References $ilCtrl, ilPageContentGUI\$lng, ilPageContentGUI\$tpl, 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 777 of file class.ilPCTableGUI.php.
References $_SESSION.
| ilPCTableGUI::leftFloatAlign | ( | ) |
align table to left float
Definition at line 797 of file class.ilPCTableGUI.php.
References $_SESSION.
| ilPCTableGUI::renderTable | ( | $a_mode = "table_edit", |
|
$a_submode = "" |
|||
| ) |
Render the table.
Definition at line 388 of file class.ilPCTableGUI.php.
References $mobs, ilObject\_lookupType(), _renderTable(), and ilPageContentGUI\getStyleId().
Here is the call graph for this function:| ilPCTableGUI::rightAlign | ( | ) |
align table to right
Definition at line 767 of file class.ilPCTableGUI.php.
References $_SESSION.
| ilPCTableGUI::rightFloatAlign | ( | ) |
align table to left
Definition at line 807 of file class.ilPCTableGUI.php.
References $_SESSION.
| ilPCTableGUI::saveProperties | ( | ) |
save table properties in db and return to page edit screen
Definition at line 748 of file class.ilPCTableGUI.php.
References edit(), and setProperties().
Here is the call graph for this function:| ilPCTableGUI::setBasicTableCellStyles | ( | ) |
Set basic table cell styles.
Definition at line 34 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 87 of file class.ilPCTableGUI.php.
References $ilCtrl, and ilPageContentGUI\$lng.
Referenced by editCellSpan(), editCellStyle(), and editCellWidth().
Here is the caller graph for this function:| ilPCTableGUI::setProperties | ( | ) |
Set properties from input form.
Definition at line 712 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 691 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 646 of file class.ilPCTableGUI.php.
References $_POST, $cid, 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 67 of file class.ilPCTableGUI.php.
References $ilCtrl, and ilPageContentGUI\$lng.
Referenced by edit(), editCellSpan(), editCellStyle(), and editCellWidth().
Here is the caller graph for this function:| ilPCTableGUI::setWidths | ( | ) |
Set cell widths.
Definition at line 670 of file class.ilPCTableGUI.php.
References $_POST, $cid, ilPageContentGUI\$lng, ilUtil\sendSuccess(), and ilUtil\stripSlashes().
Here is the call graph for this function: