|
ILIAS
Release_4_4_x_branch Revision 61816
|
Class ilPCParagraphGUI. More...
Inheritance diagram for ilPCParagraphGUI:
Collaboration diagram for ilPCParagraphGUI:Public Member Functions | |
| ilPCParagraphGUI ($a_pg_obj, &$a_content_obj, $a_hier_id, $a_pc_id="") | |
| Constructor public. | |
| & | executeCommand () |
| execute command | |
| edit ($a_insert=false) | |
| edit paragraph form | |
| determineCharacteristic ($a_insert=false) | |
| Determine current characteristic. | |
| editJS () | |
| Edit paragraph (Ajax mode, sends the content of the paragraph) | |
| editMultipleJS () | |
| Edit multiple paragraphs (Ajax mode, sends the content of the paragraphs) | |
| saveJS () | |
| Save paragraph by JS call. | |
| outputError ($a_err) | |
| Output error. | |
| cancel () | |
| Cancel. | |
| insertCharacteristicTable ($a_tpl, $a_seleted_value) | |
| Insert characteristic table. | |
| insertStyleSelectionList ($a_tpl, $a_selected) | |
| Insert style selection list. | |
| insert () | |
| insert paragraph form | |
| update () | |
| update paragraph in dom and update page in db | |
| create () | |
| create new paragraph in dom and update page in db | |
| createJS () | |
| Create paragraph per JS. | |
| insertHelp ($a_tpl) | |
| Insert Help. | |
Public Member Functions inherited from ilPageContentGUI | |
| ilPageContentGUI ($a_pg_obj, $a_content_obj, $a_hier_id=0, $a_pc_id="") | |
| Constructor public. | |
| setContentObject ($a_val) | |
| Set content object. | |
| getContentObject () | |
| Get content object. | |
| setPage ($a_val) | |
| Set page. | |
| getPage () | |
| Get page. | |
| setPageConfig ($a_val) | |
| Set Page Config. | |
| getPageConfig () | |
| Get Page Config. | |
| 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 | |
| cut () | |
| Cut single element. | |
| copy () | |
| Copy single element. | |
| getTemplateOptions ($a_type) | |
| Get table templates. | |
Static Public Member Functions | |
| static | _getStandardCharacteristics () |
| Get standard characteristics. | |
| static | _getCharacteristics ($a_style_id) |
| Get characteristics. | |
| static | xml2outputJS ($s_text, $char, $a_pc_id) |
| Prepare content for js output. | |
| static | getStyleSelector ($a_selected, $a_chars, $a_use_callback=false) |
| Get style selector. | |
| static | getCharStyleSelector ($a_par_type, $a_use_callback=true) |
| Get character style selector. | |
Static Public Member Functions inherited from ilPageContentGUI | |
| static | _getCommonBBButtons () |
| Get common bb buttons. | |
Private Member Functions | |
| setStyle () | |
| Set Style. | |
Additional Inherited Members | |
Data Fields inherited from ilPageContentGUI | |
| $content_obj | |
| $ilias | |
| $tpl | |
| $lng | |
| $ctrl | |
| $pg_obj | |
| $hier_id | |
| $dom | |
| $updated | |
| $target_script | |
| $return_location | |
| $page_config = null | |
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 ilPCParagraphGUI.
User Interface for Paragraph Editing
Definition at line 17 of file class.ilPCParagraphGUI.php.
|
static |
Get characteristics.
Definition at line 55 of file class.ilPCParagraphGUI.php.
References $t, _getStandardCharacteristics(), and ilObject\_lookupType().
Referenced by ilPageObjectGUI\getTinyMenu(), and ilPageEditorGUI\initCharacteristicForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get standard characteristics.
Definition at line 34 of file class.ilPCParagraphGUI.php.
References ilPageContentGUI\$lng.
Referenced by _getCharacteristics(), and ilPCParagraphGUI().
Here is the caller graph for this function:| ilPCParagraphGUI::cancel | ( | ) |
Cancel.
Reimplemented from ilPageContentGUI.
Definition at line 424 of file class.ilPCParagraphGUI.php.
| ilPCParagraphGUI::create | ( | ) |
create new paragraph in dom and update page in db
Definition at line 683 of file class.ilPCParagraphGUI.php.
References $_POST, $_SESSION, createJS(), ilPageContentGUI\getPage(), and insert().
Here is the call graph for this function:| ilPCParagraphGUI::createJS | ( | ) |
Create paragraph per JS.
Definition at line 722 of file class.ilPCParagraphGUI.php.
References $_POST, $ilCtrl, $ilUser, exit, ilPageContentGUI\getPage(), outputError(), and ilUtil\stripSlashes().
Referenced by create().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCParagraphGUI::determineCharacteristic | ( | $a_insert = false | ) |
Determine current characteristic.
| @return |
Definition at line 246 of file class.ilPCParagraphGUI.php.
References $_POST, and ilPageContentGUI\getHierId().
Referenced by edit(), and editJS().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCParagraphGUI::edit | ( | $a_insert = false | ) |
edit paragraph form
Definition at line 117 of file class.ilPCParagraphGUI.php.
References $_GET, $_POST, $_SESSION, ilPageContentGUI\$ilias, $ilUser, $lang, ilPageContentGUI\$tpl, ilMDLanguageItem\_getLanguages(), determineCharacteristic(), ilPageContentGUI\displayValidationError(), ilUtil\formSelect(), ilPageContentGUI\getBBMenu(), insertHelp(), insertStyleSelectionList(), setStyle(), and ilUtil\stripSlashes().
Referenced by insert(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCParagraphGUI::editJS | ( | ) |
Edit paragraph (Ajax mode, sends the content of the paragraph)
Definition at line 299 of file class.ilPCParagraphGUI.php.
References ilPageContentGUI\$ilias, $ilUser, determineCharacteristic(), 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 319 of file class.ilPCParagraphGUI.php.
References ilPageContentGUI\$ilias, $ilUser, and exit.
| & ilPCParagraphGUI::executeCommand | ( | ) |
execute command
Definition at line 93 of file class.ilPCParagraphGUI.php.
References $cmd, $ret, and ilPageContentGUI\getCharacteristicsOfCurrentStyle().
Here is the call graph for this function:
|
static |
Get character style selector.
Definition at line 530 of file class.ilPCParagraphGUI.php.
References ilPageContentGUI\$lng, $t, ilAdvancedSelectionListGUI\DOWN_ARROW_DARK, ilPageEditorSettings\lookupSettingByParentType(), and ilAdvancedSelectionListGUI\ON_ITEM_CLICK_NOP.
Referenced by ilPageObjectGUI\getTinyMenu().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get style selector.
Definition at line 480 of file class.ilPCParagraphGUI.php.
References $t, ilAdvancedSelectionListGUI\DOWN_ARROW_DARK, and ilAdvancedSelectionListGUI\ON_ITEM_CLICK_FORM_SELECT.
Referenced by ilPageObjectGUI\getTinyMenu().
Here is the caller graph for this function:| ilPCParagraphGUI::ilPCParagraphGUI | ( | $a_pg_obj, | |
| & | $a_content_obj, | ||
| $a_hier_id, | |||
$a_pc_id = "" |
|||
| ) |
Constructor public.
Definition at line 23 of file class.ilPCParagraphGUI.php.
References _getStandardCharacteristics(), ilPageContentGUI\ilPageContentGUI(), and ilPageContentGUI\setCharacteristics().
Here is the call graph for this function:| ilPCParagraphGUI::insert | ( | ) |
insert paragraph form
Definition at line 626 of file class.ilPCParagraphGUI.php.
References edit().
Referenced by create().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCParagraphGUI::insertCharacteristicTable | ( | $a_tpl, | |
| $a_seleted_value | |||
| ) |
Insert characteristic table.
Definition at line 432 of file class.ilPCParagraphGUI.php.
References ilPageContentGUI\getCharacteristics().
Here is the call graph for this function:| ilPCParagraphGUI::insertHelp | ( | $a_tpl | ) |
Insert Help.
Definition at line 757 of file class.ilPCParagraphGUI.php.
References ilPageContentGUI\$lng, and ilPageContentGUI\getPageConfig().
Referenced by edit().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCParagraphGUI::insertStyleSelectionList | ( | $a_tpl, | |
| $a_selected | |||
| ) |
Insert style selection list.
| object | $a_tpl | |
| string | $a_selected |
Definition at line 471 of file class.ilPCParagraphGUI.php.
References ilPageContentGUI\getCharacteristics().
Referenced by edit().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCParagraphGUI::outputError | ( | $a_err | ) |
Output error.
| array | $a_err | error array |
Definition at line 411 of file class.ilPCParagraphGUI.php.
References exit.
Referenced by createJS(), and saveJS().
Here is the caller graph for this function:| ilPCParagraphGUI::saveJS | ( | ) |
Save paragraph by JS call.
| @return |
Definition at line 376 of file class.ilPCParagraphGUI.php.
References $_POST, $ilCtrl, exit, outputError(), and ilUtil\stripSlashes().
Here is the call graph for this function:
|
private |
Set Style.
Definition at line 596 of file class.ilPCParagraphGUI.php.
References ilObjContentObject\_lookupStyleSheetId(), and ilObjStyleSheet\getContentStylePath().
Referenced by edit().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCParagraphGUI::update | ( | ) |
update paragraph in dom and update page in db
Definition at line 634 of file class.ilPCParagraphGUI.php.
References $_POST, $ilBench, and edit().
Here is the call graph for this function:
|
static |
Prepare content for js output.
Definition at line 330 of file class.ilPCParagraphGUI.php.
References ilPageContentGUI\_getCommonBBButtons().
Referenced by ilPCDataTableGUI\editData(), editJS(), and ilPCParagraph\getParagraphSequenceContent().
Here is the call graph for this function:
Here is the caller graph for this function: