|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Class ilPCSourcecodeGUI. More...
Inheritance diagram for ilPCSourceCodeGUI:
Collaboration diagram for ilPCSourceCodeGUI:Public Member Functions | |
| __construct (ilPageObject $a_pg_obj, ?ilPageContent $a_content_obj, string $a_hier_id, string $a_pc_id="") | |
| executeCommand () | |
| edit () | |
| insert () | |
| update () | |
| cancelUpdate () | |
| create () | |
| cancelCreate () | |
| upload_source () | |
| getProgLangOptions () | |
| Get selectable programming languages. More... | |
| initPropertyForm (string $a_title, string $a_cmd, string $a_cmd_cancel) | |
| getImportFormAdapter () | |
| getManualFormAdapter (?string $download_title=null, ?string $subchar=null, ?bool $line_numbers=null) | |
| getEditingFormAdapter () | |
| handleUploadResult (FileUpload $upload, UploadResult $result) | |
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... | |
Protected Attributes | |
| ilTabsGUI | $tabs |
| string | $requested_par_downloadtitle |
| string | $requested_par_content |
| ilObjUser | $user |
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 |
| 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 |
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="") | |
Static Protected Attributes inherited from ilPageContentGUI | |
| static array | $common_bb_buttons |
Class ilPCSourcecodeGUI.
User Interface for Paragraph Editing ilPCSourceCodeGUI: ilRepoStandardUploadHandlerGUI
Definition at line 32 of file class.ilPCSourceCodeGUI.php.
| ilPCSourceCodeGUI::__construct | ( | ilPageObject | $a_pg_obj, |
| ?ilPageContent | $a_content_obj, | ||
| string | $a_hier_id, | ||
| string | $a_pc_id = "" |
||
| ) |
Definition at line 42 of file class.ilPCSourceCodeGUI.php.
References $DIC, ILIAS\MetaData\Repository\Validation\Data\__construct(), ILIAS\Repository\tabs(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilPCSourceCodeGUI::cancelCreate | ( | ) |
Definition at line 257 of file class.ilPCSourceCodeGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilPCSourceCodeGUI::cancelUpdate | ( | ) |
Definition at line 204 of file class.ilPCSourceCodeGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilPCSourceCodeGUI::create | ( | ) |
Definition at line 209 of file class.ilPCSourceCodeGUI.php.
References ILIAS\Repository\ctrl(), ilPageContentGUI\getPage(), insert(), ilPageContentGUI\setCurrentTextLang(), and upload_source().
Here is the call graph for this function:| ilPCSourceCodeGUI::edit | ( | ) |
Definition at line 77 of file class.ilPCSourceCodeGUI.php.
References Vendor\Package\$f, ILIAS\Repository\ctrl(), ilPageContentGUI\displayValidationError(), ilPageContentGUI\getEditorScriptTag(), ilPageContentGUI\initEditor(), initPropertyForm(), ILIAS\Repository\lng(), ILIAS\Repository\tabs(), and ILIAS\UI\Implementation\Component\Input\withValue().
Referenced by update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCSourceCodeGUI::executeCommand | ( | ) |
Definition at line 55 of file class.ilPCSourceCodeGUI.php.
References ilPageContentGUI\$gui, ILIAS\Repository\ctrl(), and getImportFormAdapter().
Here is the call graph for this function:| ilPCSourceCodeGUI::getEditingFormAdapter | ( | ) |
Definition at line 406 of file class.ilPCSourceCodeGUI.php.
References getManualFormAdapter().
Referenced by ilPCSourceCodeEditorGUI\getEditorElements().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCSourceCodeGUI::getImportFormAdapter | ( | ) |
Definition at line 342 of file class.ilPCSourceCodeGUI.php.
References ILIAS\Repository\ctrl(), getProgLangOptions(), and ILIAS\Repository\lng().
Referenced by executeCommand(), and ilPCSourceCodeEditorGUI\getRenderedImportForm().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCSourceCodeGUI::getManualFormAdapter | ( | ?string | $download_title = null, |
| ?string | $subchar = null, |
||
| ?bool | $line_numbers = null |
||
| ) |
Definition at line 375 of file class.ilPCSourceCodeGUI.php.
References ILIAS\Repository\ctrl(), getProgLangOptions(), and ILIAS\Repository\lng().
Referenced by getEditingFormAdapter(), and ilPCSourceCodeEditorGUI\getRenderedManualForm().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCSourceCodeGUI::getProgLangOptions | ( | ) |
Get selectable programming languages.
Definition at line 293 of file class.ilPCSourceCodeGUI.php.
References ilSyntaxHighlighter\getSupportedLanguagesV51().
Referenced by getImportFormAdapter(), and getManualFormAdapter().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCSourceCodeGUI::handleUploadResult | ( | FileUpload | $upload, |
| UploadResult | $result | ||
| ) |
Definition at line 415 of file class.ilPCSourceCodeGUI.php.
References ILIAS\FileUpload\FileUpload\moveOneFileTo().
Here is the call graph for this function:| ilPCSourceCodeGUI::initPropertyForm | ( | string | $a_title, |
| string | $a_cmd, | ||
| string | $a_cmd_cancel | ||
| ) |
Definition at line 303 of file class.ilPCSourceCodeGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by edit(), and insert().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCSourceCodeGUI::insert | ( | ) |
Definition at line 121 of file class.ilPCSourceCodeGUI.php.
References $user, ILIAS\Repository\ctrl(), ilPageContentGUI\displayValidationError(), ilPageContentGUI\getCurrentTextLang(), initPropertyForm(), and ILIAS\Repository\lng().
Referenced by create().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCSourceCodeGUI::update | ( | ) |
Definition at line 156 of file class.ilPCSourceCodeGUI.php.
References ILIAS\Repository\ctrl(), and edit().
Here is the call graph for this function:| ilPCSourceCodeGUI::upload_source | ( | ) |
Definition at line 262 of file class.ilPCSourceCodeGUI.php.
Referenced by create().
Here is the caller graph for this function:
|
protected |
Definition at line 39 of file class.ilPCSourceCodeGUI.php.
|
protected |
Definition at line 38 of file class.ilPCSourceCodeGUI.php.
|
protected |
Definition at line 34 of file class.ilPCSourceCodeGUI.php.
|
protected |
Definition at line 40 of file class.ilPCSourceCodeGUI.php.
Referenced by insert().