| ILIAS
    Release_4_3_x_branch Revision 61807
    | 
Class ilPCParagraphGUI. More...
 Inheritance diagram for ilPCParagraphGUI:
 Inheritance diagram for ilPCParagraphGUI: Collaboration 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 | |
| setEnableWikiLinks ($a_enablewikilinks) | |
| Set Enable Wiki Links. | |
| getEnableWikiLinks () | |
| Get Enable Wiki Links. | |
| 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. | |
| 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. | |
| setStyleId ($a_styleid) | |
| Set Style Id. | |
| getStyleId () | |
| Get Style Id. | |
| setEnableInternalLinks ($a_val) | |
| Set enable internal links. | |
| getEnableInternalLinks () | |
| Get enable internal links. | |
| setEnableKeywords ($a_val) | |
| Set enable keywords handling. | |
| getEnableKeywords () | |
| Get enable keywords handling. | |
| setEnableAnchors ($a_val) | |
| Set enable anchors. | |
| getEnableAnchors () | |
| Get enable anchors. | |
| 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 | |
|  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 18 of file class.ilPCParagraphGUI.php.
| 
 | static | 
Get characteristics.
Definition at line 57 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 call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Get standard characteristics.
Definition at line 36 of file class.ilPCParagraphGUI.php.
References ilPageContentGUI\$lng.
Referenced by _getCharacteristics(), and ilPCParagraphGUI().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPCParagraphGUI::cancel | ( | ) | 
Cancel.
Reimplemented from ilPageContentGUI.
Definition at line 426 of file class.ilPCParagraphGUI.php.
| ilPCParagraphGUI::create | ( | ) | 
create new paragraph in dom and update page in db
Definition at line 684 of file class.ilPCParagraphGUI.php.
References $_POST, $_SESSION, createJS(), and insert().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPCParagraphGUI::createJS | ( | ) | 
Create paragraph per JS.
Definition at line 723 of file class.ilPCParagraphGUI.php.
References $_POST, $ilCtrl, $ilUser, exit, and ilUtil\stripSlashes().
Referenced by create().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPCParagraphGUI::determineCharacteristic | ( | $a_insert = false | ) | 
Determine current characteristic.
| @return | 
Definition at line 268 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 call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPCParagraphGUI::edit | ( | $a_insert = false | ) | 
edit paragraph form
Definition at line 139 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 call graph for this function: Here is the caller 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 321 of file class.ilPCParagraphGUI.php.
References ilPageContentGUI\$ilias, $ilUser, determineCharacteristic(), exit, and xml2outputJS().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPCParagraphGUI::editMultipleJS | ( | ) | 
Edit multiple paragraphs (Ajax mode, sends the content of the paragraphs)
Definition at line 341 of file class.ilPCParagraphGUI.php.
References ilPageContentGUI\$ilias, $ilUser, and exit.
| & ilPCParagraphGUI::executeCommand | ( | ) | 
execute command
Definition at line 95 of file class.ilPCParagraphGUI.php.
References $cmd, $ret, and ilPageContentGUI\getCharacteristicsOfCurrentStyle().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | static | 
Get character style selector.
Definition at line 532 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 call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPCParagraphGUI::getEnableWikiLinks | ( | ) | 
Get Enable Wiki Links.
Definition at line 131 of file class.ilPCParagraphGUI.php.
Referenced by insertHelp().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Get style selector.
Definition at line 482 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:
 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 24 of file class.ilPCParagraphGUI.php.
References _getStandardCharacteristics(), ilPageContentGUI\ilPageContentGUI(), ilPageContentGUI\setCharacteristics(), and setEnableWikiLinks().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPCParagraphGUI::insert | ( | ) | 
insert paragraph form
Definition at line 628 of file class.ilPCParagraphGUI.php.
References edit().
Referenced by create().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller 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 434 of file class.ilPCParagraphGUI.php.
References ilPageContentGUI\getCharacteristics().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPCParagraphGUI::insertHelp | ( | $a_tpl | ) | 
Insert Help.
Definition at line 752 of file class.ilPCParagraphGUI.php.
References ilPageContentGUI\$lng, and getEnableWikiLinks().
Referenced by edit().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller 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 473 of file class.ilPCParagraphGUI.php.
References ilPageContentGUI\getCharacteristics().
Referenced by edit().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPCParagraphGUI::saveJS | ( | ) | 
Save paragraph by JS call.
| @return | 
Definition at line 398 of file class.ilPCParagraphGUI.php.
References $_POST, $ilCtrl, exit, and ilUtil\stripSlashes().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPCParagraphGUI::setEnableWikiLinks | ( | $a_enablewikilinks | ) | 
Set Enable Wiki Links.
| boolean | $a_enablewikilinks | Enable Wiki Links | 
Definition at line 121 of file class.ilPCParagraphGUI.php.
Referenced by ilPCParagraphGUI().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
Set Style.
Definition at line 598 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 call graph for this function: Here is the caller 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 636 of file class.ilPCParagraphGUI.php.
References $_POST, $ilBench, and edit().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | static | 
Prepare content for js output.
Definition at line 352 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 call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function: