ILIAS
Release_4_0_x_branch Revision 61816
|
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 | |
insertCharacteristicTable ($a_tpl, $a_seleted_value) | |
Insert characteristic table. | |
insertStyleSelectionList ($a_tpl, $a_s_char) | |
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. | |
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 | |
getTemplateOptions ($a_type) | |
Get table templates. |
Static Public Member Functions | |
static | _getStandardCharacteristics () |
Get standard characteristics. | |
static | _getCharacteristics ($a_style_id) |
Get characteristics. | |
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 ilPageEditorGUI\initCharacteristicForm().
|
static |
Get standard characteristics.
Definition at line 36 of file class.ilPCParagraphGUI.php.
References ilPageContentGUI\$lng.
Referenced by _getCharacteristics(), and ilPCParagraphGUI().
ilPCParagraphGUI::create | ( | ) |
create new paragraph in dom and update page in db
Definition at line 455 of file class.ilPCParagraphGUI.php.
References $_POST, $_SESSION, and insert().
ilPCParagraphGUI::edit | ( | $a_insert = false | ) |
edit paragraph form
Definition at line 137 of file class.ilPCParagraphGUI.php.
References $_GET, $_POST, $_SESSION, ilPageContentGUI\$ilias, $lang, ilPageContentGUI\$tpl, ilMDLanguageItem\_getLanguages(), ilPageContentGUI\displayValidationError(), formSelect(), ilPageContentGUI\getBBMenu(), ilPageContentGUI\getHierId(), insertHelp(), insertStyleSelectionList(), setStyle(), and ilUtil\stripSlashes().
Referenced by insert(), and update().
& ilPCParagraphGUI::executeCommand | ( | ) |
execute command
Definition at line 93 of file class.ilPCParagraphGUI.php.
References $cmd, $ret, and ilPageContentGUI\getCharacteristicsOfCurrentStyle().
ilPCParagraphGUI::getEnableWikiLinks | ( | ) |
Get Enable Wiki Links.
Definition at line 129 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 24 of file class.ilPCParagraphGUI.php.
References _getStandardCharacteristics(), ilPageContentGUI\ilPageContentGUI(), ilPageContentGUI\setCharacteristics(), and setEnableWikiLinks().
ilPCParagraphGUI::insert | ( | ) |
insert paragraph form
Definition at line 399 of file class.ilPCParagraphGUI.php.
References edit().
Referenced by create().
ilPCParagraphGUI::insertCharacteristicTable | ( | $a_tpl, | |
$a_seleted_value | |||
) |
Insert characteristic table.
Definition at line 288 of file class.ilPCParagraphGUI.php.
References ilPageContentGUI\getCharacteristics().
ilPCParagraphGUI::insertHelp | ( | $a_tpl | ) |
Insert Help.
Definition at line 488 of file class.ilPCParagraphGUI.php.
References ilPageContentGUI\$lng, and getEnableWikiLinks().
Referenced by edit().
ilPCParagraphGUI::insertStyleSelectionList | ( | $a_tpl, | |
$a_s_char | |||
) |
Definition at line 321 of file class.ilPCParagraphGUI.php.
References $t, ilAdvancedSelectionListGUI\DOWN_ARROW_DARK, ilPageContentGUI\getCharacteristics(), and ilAdvancedSelectionListGUI\ON_ITEM_CLICK_FORM_SELECT.
Referenced by edit().
ilPCParagraphGUI::setEnableWikiLinks | ( | $a_enablewikilinks | ) |
Set Enable Wiki Links.
boolean | $a_enablewikilinks | Enable Wiki Links |
Definition at line 119 of file class.ilPCParagraphGUI.php.
Referenced by ilPCParagraphGUI().
|
private |
Set Style.
Definition at line 369 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 407 of file class.ilPCParagraphGUI.php.
References $_POST, $ilBench, and edit().