ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class ilPCSectionGUI. More...
Public Member Functions | |
__construct (&$a_pg_obj, &$a_content_obj, $a_hier_id, $a_pc_id="") | |
Constructor public. More... | |
executeCommand () | |
execute command More... | |
insert (ilPropertyFormGUI $a_form=null) | |
Insert new section form. More... | |
edit ($a_insert=false, ilPropertyFormGUI $a_form=null) | |
Edit section form. More... | |
initForm ($a_insert=false) | |
Init editing form. More... | |
create () | |
Create new Section. More... | |
update () | |
Update Section. More... | |
setValuesFromForm ($form) | |
Set values from form. More... | |
Public Member Functions inherited from ilPageContentGUI | |
__construct ($a_pg_obj, $a_content_obj, $a_hier_id=0, $a_pc_id="") | |
Constructor public. More... | |
setContentObject ($a_val) | |
Set content object. More... | |
getContentObject () | |
Get content object. More... | |
setPage ($a_val) | |
Set page. More... | |
getPage () | |
Get page. More... | |
setPageConfig ($a_val) | |
Set Page Config. More... | |
getPageConfig () | |
Get Page Config. More... | |
setStyleId ($a_styleid) | |
Set Style Id. More... | |
getStyleId () | |
Get Style Id. More... | |
getStyle () | |
Get style object. More... | |
setCharacteristics ($a_chars) | |
Set Characteristics. More... | |
getCharacteristics () | |
Get characteristics. More... | |
getHierId () | |
get hierarchical id in dom object More... | |
setHierId ($a_hier_id) | |
get hierarchical id in dom object More... | |
getBBMenu ($a_ta_name="par_content") | |
Get the bb menu incl. More... | |
delete () | |
delete content element More... | |
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 () | |
display validation errors More... | |
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 ($a_type) | |
Get table templates. More... | |
Static Public Member Functions | |
static | _getStandardCharacteristics () |
Get standard characteristics. More... | |
static | _getCharacteristics ($a_style_id) |
Get characteristics. More... | |
Static Public Member Functions inherited from ilPageContentGUI | |
static | _getCommonBBButtons () |
Get common bb buttons. More... | |
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 | |
Static Public Attributes inherited from ilPageContentGUI | |
static | $style_selector_reset = "margin-top:2px; margin-bottom:2px; text-indent:0px; position:static; float:none; width: auto;" |
Protected Member Functions inherited from ilPageContentGUI | |
getCharacteristicsOfCurrentStyle ($a_type) | |
Get characteristics of current style. More... | |
Protected Attributes inherited from ilPageContentGUI | |
$log | |
Static Protected Attributes inherited from ilPageContentGUI | |
static | $common_bb_buttons |
Class ilPCSectionGUI.
User Interface for Section Editing
ilPCSectionGUI: ilPropertyFormGUI
Definition at line 19 of file class.ilPCSectionGUI.php.
ilPCSectionGUI::__construct | ( | & | $a_pg_obj, |
& | $a_content_obj, | ||
$a_hier_id, | |||
$a_pc_id = "" |
|||
) |
Constructor public.
Definition at line 26 of file class.ilPCSectionGUI.php.
References _getStandardCharacteristics(), and ilPageContentGUI\setCharacteristics().
|
static |
Get characteristics.
Definition at line 53 of file class.ilPCSectionGUI.php.
References $style, _getStandardCharacteristics(), ilObject\_lookupType(), and array.
Referenced by ilPageEditorGUI\initCharacteristicForm().
|
static |
Get standard characteristics.
Definition at line 36 of file class.ilPCSectionGUI.php.
References ilPageContentGUI\$lng, and array.
Referenced by __construct(), and _getCharacteristics().
ilPCSectionGUI::create | ( | ) |
Create new Section.
Definition at line 280 of file class.ilPCSectionGUI.php.
References ilPageContentGUI\getPage(), initForm(), insert(), and setValuesFromForm().
ilPCSectionGUI::edit | ( | $a_insert = false , |
|
ilPropertyFormGUI | $a_form = null |
||
) |
Edit section form.
Definition at line 121 of file class.ilPCSectionGUI.php.
References ilPageContentGUI\$tpl, ilPageContentGUI\displayValidationError(), and initForm().
Referenced by insert(), and update().
ilPCSectionGUI::executeCommand | ( | ) |
execute command
Definition at line 84 of file class.ilPCSectionGUI.php.
References $cmd, $ret, ilPageContentGUI\getCharacteristicsOfCurrentStyle(), and initForm().
ilPCSectionGUI::initForm | ( | $a_insert = false | ) |
Init editing form.
Definition at line 138 of file class.ilPCSectionGUI.php.
References $html, $ilCtrl, $l, ilPageContentGUI\$lng, $options, $si, array, ilLinkInputGUI\BOTH, ilPageContentGUI\getCharacteristics(), ilPageContentGUI\getPageConfig(), IL_CAL_UNIX, ilLinkInputGUI\setAllowedLinkTypes(), ilDateTimeInputGUI\setDate(), ilFormPropertyGUI\setInfo(), and ilFormPropertyGUI\setParent().
Referenced by create(), edit(), executeCommand(), and update().
ilPCSectionGUI::insert | ( | ilPropertyFormGUI | $a_form = null | ) |
Insert new section form.
Definition at line 113 of file class.ilPCSectionGUI.php.
References edit().
Referenced by create().
ilPCSectionGUI::setValuesFromForm | ( | $form | ) |
Set values from form.
object | $form | form object |
Definition at line 326 of file class.ilPCSectionGUI.php.
References $_POST, ilPageContentGUI\getPageConfig(), and IL_CAL_UNIX.
Referenced by create(), and update().
ilPCSectionGUI::update | ( | ) |
Update Section.
Definition at line 303 of file class.ilPCSectionGUI.php.
References edit(), initForm(), and setValuesFromForm().