ILIAS  trunk Revision v11.0_alpha-1749-g1a06bdef097
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilPCTableDataGUI Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Inheritance diagram for ilPCTableDataGUI:
+ Collaboration diagram for ilPCTableDataGUI:

Public Member Functions

 __construct (ilPageObject $a_pg_obj, ?ilPageContent $a_content_obj, string $a_hier_id, string $a_pc_id="")
 
 executeCommand ()
 
 newRowAfter ()
 
 newRowBefore ()
 
 deleteRow ()
 
 newColAfter ()
 
 newColBefore ()
 
 deleteCol ()
 
 moveRowDown ()
 
 moveRowUp ()
 
 moveColRight ()
 
 moveColLeft ()
 
- Public Member Functions inherited from ilPageContentGUI
 __construct (ilPageObject $a_pg_obj, ?ilPageContent $a_content_obj, string $a_hier_id="", string $a_pc_id="0")
 
 setContentObject (ilPageContent $a_val)
 
 getContentObject ()
 
 setPage (ilPageObject $a_val)
 
 getPage ()
 
 setPageConfig (ilPageConfig $a_val)
 
 getPageConfig ()
 
 setStyleId (int $a_styleid)
 
 getStyleId ()
 
 getStyle ()
 
 getCharacteristicsOfCurrentStyle (array $a_type)
 Get characteristics of current style and call setCharacteristics, if style is given. More...
 
 setCharacteristics (array $a_chars)
 
 getCharacteristics ()
 
 getHierId ()
 
 setHierId (string $a_hier_id)
 set hierarchical id in dom object More...
 
 delete ()
 
 displayValidationError ()
 
 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 (string $a_type="")
 Get table templates. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from ilPageContentGUI
static _getCommonBBButtons ()
 
- Data Fields inherited from ilPageContentGUI
ilPageContent $content_obj
 
ilGlobalTemplateInterface $tpl
 
ilLanguage $lng
 
ilCtrl $ctrl
 
ilPageObject $pg_obj
 
string $hier_id = ""
 
DOMDocument $dom
 
 $updated
 
string $target_script = ""
 
string $return_location = ""
 
ilPageConfig $page_config = null
 
- Static Public Attributes inherited from ilPageContentGUI
static string $style_selector_reset = "margin-top:2px; margin-bottom:2px; text-indent:0px; position:static; float:none; width: auto;"
 
- Protected Member Functions inherited from ilPageContentGUI
 redirectToParent (string $hier_id="")
 
 getParentReturn (string $hier_id="")
 
 updateAndReturn ()
 
 setCurrentTextLang (string $lang_key)
 
 getCurrentTextLang ()
 
 setEditorToolContext ()
 
 initEditor ()
 
 getEditorScriptTag (string $form_pc_id="", string $form_cname="")
 
- Protected Attributes inherited from ilPageContentGUI
ILIAS COPage Editor GUIService $editor_gui
 
ILIAS COPage InternalGUIService $gui
 
EditSessionRepository $edit_repo
 
string $pc_id = ""
 
array $chars
 
ilObjStyleSheet $style = null
 
LOMServices $lom_services
 
ilLogger $log
 
int $styleid = 0
 
EditGUIRequest $request
 
string $sub_command = ""
 
int $requested_ref_id = 0
 
ILIAS GlobalScreen ScreenContext ContextServices $tool_context
 
Style Content CharacteristicManager $char_manager
 
- Static Protected Attributes inherited from ilPageContentGUI
static array $common_bb_buttons
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilPCTableDataGUI Handles user commands on table data elements (table cells)

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

Definition at line 24 of file class.ilPCTableDataGUI.php.

Constructor & Destructor Documentation

◆ __construct()

ilPCTableDataGUI::__construct ( ilPageObject  $a_pg_obj,
?ilPageContent  $a_content_obj,
string  $a_hier_id,
string  $a_pc_id = "" 
)

Definition at line 26 of file class.ilPCTableDataGUI.php.

References ILIAS\GlobalScreen\Provider\__construct().

31  {
32  parent::__construct($a_pg_obj, $a_content_obj, $a_hier_id, $a_pc_id);
33  }
__construct(Container $dic, ilPlugin $plugin)
+ Here is the call graph for this function:

Member Function Documentation

◆ deleteCol()

ilPCTableDataGUI::deleteCol ( )

Definition at line 81 of file class.ilPCTableDataGUI.php.

References ilPageContentGUI\updateAndReturn().

81  : void
82  {
83  $this->content_obj->deleteCol();
84  $this->updateAndReturn();
85  }
+ Here is the call graph for this function:

◆ deleteRow()

ilPCTableDataGUI::deleteRow ( )

Definition at line 63 of file class.ilPCTableDataGUI.php.

References ilPageContentGUI\updateAndReturn().

63  : void
64  {
65  $this->content_obj->deleteRow();
66  $this->updateAndReturn();
67  }
+ Here is the call graph for this function:

◆ executeCommand()

ilPCTableDataGUI::executeCommand ( )

Definition at line 35 of file class.ilPCTableDataGUI.php.

References ILIAS\Repository\ctrl().

35  : void
36  {
37  // get next class that processes or forwards current command
38  $next_class = $this->ctrl->getNextClass($this);
39 
40  // get current command
41  $cmd = $this->ctrl->getCmd();
42 
43  switch ($next_class) {
44  default:
45  $this->$cmd();
46  break;
47  }
48  }
+ Here is the call graph for this function:

◆ moveColLeft()

ilPCTableDataGUI::moveColLeft ( )

Definition at line 105 of file class.ilPCTableDataGUI.php.

References ilPageContentGUI\updateAndReturn().

105  : void
106  {
107  $this->content_obj->moveColLeft();
108  $this->updateAndReturn();
109  }
+ Here is the call graph for this function:

◆ moveColRight()

ilPCTableDataGUI::moveColRight ( )

Definition at line 99 of file class.ilPCTableDataGUI.php.

References ilPageContentGUI\updateAndReturn().

99  : void
100  {
101  $this->content_obj->moveColRight();
102  $this->updateAndReturn();
103  }
+ Here is the call graph for this function:

◆ moveRowDown()

ilPCTableDataGUI::moveRowDown ( )

Definition at line 87 of file class.ilPCTableDataGUI.php.

References ilPageContentGUI\updateAndReturn().

87  : void
88  {
89  $this->content_obj->moveRowDown();
90  $this->updateAndReturn();
91  }
+ Here is the call graph for this function:

◆ moveRowUp()

ilPCTableDataGUI::moveRowUp ( )

Definition at line 93 of file class.ilPCTableDataGUI.php.

References ilPageContentGUI\updateAndReturn().

93  : void
94  {
95  $this->content_obj->moveRowUp();
96  $this->updateAndReturn();
97  }
+ Here is the call graph for this function:

◆ newColAfter()

ilPCTableDataGUI::newColAfter ( )

Definition at line 69 of file class.ilPCTableDataGUI.php.

References ilPageContentGUI\updateAndReturn().

69  : void
70  {
71  $this->content_obj->newColAfter();
72  $this->updateAndReturn();
73  }
+ Here is the call graph for this function:

◆ newColBefore()

ilPCTableDataGUI::newColBefore ( )

Definition at line 75 of file class.ilPCTableDataGUI.php.

References ilPageContentGUI\updateAndReturn().

75  : void
76  {
77  $this->content_obj->newColBefore();
78  $this->updateAndReturn();
79  }
+ Here is the call graph for this function:

◆ newRowAfter()

ilPCTableDataGUI::newRowAfter ( )

Definition at line 51 of file class.ilPCTableDataGUI.php.

References ilPageContentGUI\updateAndReturn().

51  : void
52  {
53  $this->content_obj->newRowAfter();
54  $this->updateAndReturn();
55  }
+ Here is the call graph for this function:

◆ newRowBefore()

ilPCTableDataGUI::newRowBefore ( )

Definition at line 57 of file class.ilPCTableDataGUI.php.

References ilPageContentGUI\updateAndReturn().

57  : void
58  {
59  $this->content_obj->newRowBefore();
60  $this->updateAndReturn();
61  }
+ Here is the call graph for this function:

The documentation for this class was generated from the following file: