|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Class ilPCParagraphGUI User Interface for Paragraph Editing. More...
Inheritance diagram for ilPCParagraphGUI:
Collaboration diagram for ilPCParagraphGUI:Public Member Functions | |
| __construct (ilPageObject $a_pg_obj, ?ilPageContent $a_content_obj, string $a_hier_id, string $a_pc_id="") | |
| executeCommand () | |
| execute command More... | |
| determineCharacteristic (bool $a_insert=false) | |
| Determine current characteristic. More... | |
| editJS () | |
| Edit paragraph (Ajax mode, sends the content of the paragraph) More... | |
| outputError (array $a_err) | |
| Output error. More... | |
| cancel () | |
| Cancel. More... | |
| insertCharacteristicTable (ilTemplate $a_tpl, string $a_seleted_value) | |
| Insert characteristic table. More... | |
| insertHelp (ilTemplate $a_tpl) | |
| Insert Help. More... | |
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... | |
Static Public Member Functions | |
| static | _getStandardCharacteristics () |
| Get standard characteristics. More... | |
| static | _getStandardTextCharacteristics () |
| Get standard characteristics. More... | |
| static | _getCharacteristics (int $a_style_id) |
| Get characteristics. More... | |
| static | xml2outputJS (string $s_text) |
| Prepare content for js output. More... | |
Static Public Member Functions inherited from ilPageContentGUI | |
| static | _getCommonBBButtons () |
Protected Attributes | |
| 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 |
| 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 |
Private Member Functions | |
| setStyle () | |
Additional Inherited Members | |
Data Fields inherited from ilPageContentGUI | |
| ilPageContent | $content_obj |
| ilGlobalTemplateInterface | $tpl |
| ilLanguage | $lng |
| ilCtrl | $ctrl |
| ilPageObject | $pg_obj |
| string | $hier_id = "" |
| DOMDocument | $dom |
| array bool null | $updated = null |
| 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 ilPCParagraphGUI User Interface for Paragraph Editing.
Definition at line 26 of file class.ilPCParagraphGUI.php.
| ilPCParagraphGUI::__construct | ( | ilPageObject | $a_pg_obj, |
| ?ilPageContent | $a_content_obj, | ||
| string | $a_hier_id, | ||
| string | $a_pc_id = "" |
||
| ) |
Reimplemented from ilPageContentGUI.
Definition at line 30 of file class.ilPCParagraphGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), _getStandardCharacteristics(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilPageContentGUI\setCharacteristics(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
static |
Get characteristics.
Definition at line 79 of file class.ilPCParagraphGUI.php.
References ilPageContentGUI\$char_manager, ilPageContentGUI\$chars, $DIC, ilPageContentGUI\$request, ilPageContentGUI\$requested_ref_id, $service, _getStandardCharacteristics(), and ilObject\_lookupType().
Here is the call graph for this function:
|
static |
Get standard characteristics.
Definition at line 50 of file class.ilPCParagraphGUI.php.
References $DIC, ilPageContentGUI\$lng, and ilLanguage\txt().
Referenced by __construct(), and _getCharacteristics().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get standard characteristics.
Definition at line 71 of file class.ilPCParagraphGUI.php.
| ilPCParagraphGUI::cancel | ( | ) |
Cancel.
Reimplemented from ilPageContentGUI.
Definition at line 382 of file class.ilPCParagraphGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilPCParagraphGUI::determineCharacteristic | ( | bool | $a_insert = false | ) |
Determine current characteristic.
Definition at line 214 of file class.ilPCParagraphGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilPCParagraphGUI::editJS | ( | ) |
Edit paragraph (Ajax mode, sends the content of the paragraph)
Definition at line 254 of file class.ilPCParagraphGUI.php.
References exit, and xml2outputJS().
Here is the call graph for this function:| ilPCParagraphGUI::executeCommand | ( | ) |
execute command
Definition at line 187 of file class.ilPCParagraphGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilPCParagraphGUI::insertCharacteristicTable | ( | ilTemplate | $a_tpl, |
| string | $a_seleted_value | ||
| ) |
Insert characteristic table.
Definition at line 391 of file class.ilPCParagraphGUI.php.
| ilPCParagraphGUI::insertHelp | ( | ilTemplate | $a_tpl | ) |
Insert Help.
Definition at line 445 of file class.ilPCParagraphGUI.php.
References $lng, ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Here is the call graph for this function:| ilPCParagraphGUI::outputError | ( | array | $a_err | ) |
Output error.
Definition at line 371 of file class.ilPCParagraphGUI.php.
References exit.
|
private |
Definition at line 428 of file class.ilPCParagraphGUI.php.
References ilObjContentObject\_lookupStyleSheetId(), and ilObjStyleSheet\getContentStylePath().
Here is the call graph for this function:
|
static |
Prepare content for js output.
Definition at line 279 of file class.ilPCParagraphGUI.php.
References ilPageContentGUI\_getCommonBBButtons(), and ilPCParagraph\attribsToArray().
Referenced by editJS(), ilPCDataTableGUI\getCellContent(), ilPCParagraph\getModel(), ilPCTable\getModel(), and ilPCParagraphModelProvider\getModels().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 28 of file class.ilPCParagraphGUI.php.