|
ILIAS
release_8 Revision v8.24
|
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... | |
| editMultipleJS () | |
| Edit multiple paragraphs (Ajax mode, sends the content of the paragraphs) More... | |
| outputError (array $a_err) | |
| Output error. More... | |
| cancel () | |
| Cancel. More... | |
| insertCharacteristicTable (ilTemplate $a_tpl, string $a_seleted_value) | |
| Insert characteristic table. More... | |
| insertStyleSelectionList (ilTemplate $a_tpl, string $a_selected) | |
| Insert style selection list. More... | |
| insert () | |
| insert paragraph form More... | |
| update () | |
| update paragraph in dom and update page in db More... | |
| create () | |
| create new paragraph in dom and update page in db 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 () | |
| 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 () | |
| 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 | getStyleSelector (string $a_selected, array $a_chars, bool $a_use_callback=false) |
| Get style selector. More... | |
| static | getCharStyleSelector (string $a_par_type, bool $a_use_callback=true, int $a_style_id=0) |
| Get character style selector. More... | |
Static Public Member Functions inherited from ilPageContentGUI | |
| static | _getCommonBBButtons () |
Protected Attributes | |
| ilObjUser | $user |
Protected Attributes inherited from ilPageContentGUI | |
| 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 |
| 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 = "" |
| php4DOMDocument | $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 () | |
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 378 of file class.ilPCParagraphGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilPCParagraphGUI::create | ( | ) |
create new paragraph in dom and update page in db
Definition at line 661 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 213 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 253 of file class.ilPCParagraphGUI.php.
References exit, and xml2outputJS().
Here is the call graph for this function:| ilPCParagraphGUI::editMultipleJS | ( | ) |
Edit multiple paragraphs (Ajax mode, sends the content of the paragraphs)
Definition at line 278 of file class.ilPCParagraphGUI.php.
References exit.
| ilPCParagraphGUI::executeCommand | ( | ) |
execute command
Definition at line 186 of file class.ilPCParagraphGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:
|
static |
Get character style selector.
Definition at line 508 of file class.ilPCParagraphGUI.php.
|
static |
Get style selector.
Definition at line 440 of file class.ilPCParagraphGUI.php.
| ilPCParagraphGUI::insert | ( | ) |
insert paragraph form
Definition at line 613 of file class.ilPCParagraphGUI.php.
| ilPCParagraphGUI::insertCharacteristicTable | ( | ilTemplate | $a_tpl, |
| string | $a_seleted_value | ||
| ) |
Insert characteristic table.
Definition at line 387 of file class.ilPCParagraphGUI.php.
| ilPCParagraphGUI::insertHelp | ( | ilTemplate | $a_tpl | ) |
Insert Help.
Definition at line 706 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::insertStyleSelectionList | ( | ilTemplate | $a_tpl, |
| string | $a_selected | ||
| ) |
Insert style selection list.
Definition at line 427 of file class.ilPCParagraphGUI.php.
| ilPCParagraphGUI::outputError | ( | array | $a_err | ) |
Output error.
Definition at line 367 of file class.ilPCParagraphGUI.php.
References exit.
|
private |
Definition at line 596 of file class.ilPCParagraphGUI.php.
References ilObjContentObject\_lookupStyleSheetId(), and ilObjStyleSheet\getContentStylePath().
Here is the call graph for this function:| ilPCParagraphGUI::update | ( | ) |
update paragraph in dom and update page in db
Definition at line 622 of file class.ilPCParagraphGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:
|
static |
Prepare content for js output.
Definition at line 287 of file class.ilPCParagraphGUI.php.
References ilPageContentGUI\_getCommonBBButtons(), and ilPCParagraph\attribsToArray().
Referenced by editJS(), ilPCDataTableGUI\getCellContent(), ilPCParagraph\getModel(), and ilPCTable\getModel().
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.