ILIAS
Release_3_10_x_branch Revision 61812
|
Class ilPCParagraphGUI. More...
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 | |
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 | |
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. | |
getHierId () | |
get hierarchical id in dom object | |
setHierId ($a_hier_id) | |
get hierarchical id in dom object | |
getBBMenu () | |
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 |
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 |
Class ilPCParagraphGUI.
User Interface for Paragraph Editing
Definition at line 38 of file class.ilPCParagraphGUI.php.
ilPCParagraphGUI::create | ( | ) |
create new paragraph in dom and update page in db
Definition at line 318 of file class.ilPCParagraphGUI.php.
References $_SESSION, and insert().
ilPCParagraphGUI::edit | ( | $a_insert = false | ) |
edit paragraph form
Definition at line 96 of file class.ilPCParagraphGUI.php.
References $_GET, $_SESSION, ilPageContentGUI\$ilias, $lang, ilPageContentGUI\$tpl, ilMDLanguageItem\_getLanguages(), ilPageContentGUI\displayValidationError(), formSelect(), ilPageContentGUI\getBBMenu(), ilPageContentGUI\getHierId(), insertHelp(), setStyle(), and ilUtil\stripSlashes().
Referenced by insert(), and update().
& ilPCParagraphGUI::executeCommand | ( | ) |
execute command
Definition at line 55 of file class.ilPCParagraphGUI.php.
ilPCParagraphGUI::getEnableWikiLinks | ( | ) |
Get Enable Wiki Links.
Definition at line 88 of file class.ilPCParagraphGUI.php.
Referenced by insertHelp().
ilPCParagraphGUI::ilPCParagraphGUI | ( | & | $a_pg_obj, |
& | $a_content_obj, | ||
$a_hier_id, | |||
$a_pc_id = "" |
|||
) |
Constructor public.
Definition at line 45 of file class.ilPCParagraphGUI.php.
References ilPageContentGUI\ilPageContentGUI(), and setEnableWikiLinks().
ilPCParagraphGUI::insert | ( | ) |
insert paragraph form
Definition at line 263 of file class.ilPCParagraphGUI.php.
References edit().
Referenced by create().
ilPCParagraphGUI::insertHelp | ( | $a_tpl | ) |
Insert Help.
Definition at line 351 of file class.ilPCParagraphGUI.php.
References ilPageContentGUI\$lng, and getEnableWikiLinks().
Referenced by edit().
ilPCParagraphGUI::setEnableWikiLinks | ( | $a_enablewikilinks | ) |
Set Enable Wiki Links.
boolean | $a_enablewikilinks | Enable Wiki Links |
Definition at line 78 of file class.ilPCParagraphGUI.php.
Referenced by ilPCParagraphGUI().
|
private |
Set Style.
Definition at line 236 of file class.ilPCParagraphGUI.php.
References ilObjContentObject\_lookupStyleSheetId(), and ilObjStyleSheet\getContentStylePath().
Referenced by edit().
ilPCParagraphGUI::update | ( | ) |
update paragraph in dom and update page in db
Definition at line 271 of file class.ilPCParagraphGUI.php.
References $ilBench, and edit().