ILIAS
Release_4_2_x_branch Revision 61807
|
Class ilPCPlaceHolderGUI. More...
Public Member Functions | |
ilPCPlaceHolderGUI (&$a_pg_obj, &$a_content_obj, $a_hier_id, $a_pc_id="") | |
& | executeCommand () |
execute command | |
insert () | |
Handle Insert. | |
create () | |
create new table in dom and update page in db | |
edit () | |
Handle Editing. | |
setStyleId ($a_styleid) | |
Set Style Id. | |
getStyleId () | |
Get Style Id. | |
saveProperties () | |
save placeholder properties in db and return to page edit screen | |
insertPCText () | |
Forwards Text Item Selection to GUI classes. | |
cancel () | |
Cancel. | |
Public Member Functions inherited from ilPageContentGUI | |
ilPageContentGUI (&$a_pg_obj, &$a_content_obj, $a_hier_id=0, $a_pc_id="") | |
Constructor public. | |
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. |
Data Fields | |
$pg_obj | |
Constructor public. | |
$content_obj | |
$hier_id | |
$pc_id | |
$styleid | |
Data Fields inherited from ilPageContentGUI | |
$content_obj | |
$ilias | |
$tpl | |
$lng | |
$ctrl | |
$pg_obj | |
$hier_id | |
$dom | |
$updated | |
$target_script | |
$return_location |
Private Member Functions | |
edit_object () | |
Handle Editing Private Methods. | |
forward_edit () | |
propertyGUI ($a_action, $a_type, $a_height, $a_mode) | |
Object Property GUI. | |
textCOSelectionGUI () | |
Text Item Selection. |
Additional Inherited Members | |
Static Public Member Functions inherited from ilPageContentGUI | |
static | _getCommonBBButtons () |
Get common bb buttons. | |
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 ilPCPlaceHolderGUI.
User Interface for Place Holder Management
ilPCPlaceHolderGUI: ilPCMediaObjectGUI
Definition at line 22 of file class.ilPCPlaceHolderGUI.php.
ilPCPlaceHolderGUI::cancel | ( | ) |
Cancel.
Reimplemented from ilPageContentGUI.
Definition at line 354 of file class.ilPCPlaceHolderGUI.php.
ilPCPlaceHolderGUI::create | ( | ) |
create new table in dom and update page in db
Definition at line 87 of file class.ilPCPlaceHolderGUI.php.
References $_POST, exit, and insert().
ilPCPlaceHolderGUI::edit | ( | ) |
Handle Editing.
Definition at line 113 of file class.ilPCPlaceHolderGUI.php.
References edit_object(), and forward_edit().
Referenced by saveProperties().
|
private |
Handle Editing Private Methods.
Definition at line 147 of file class.ilPCPlaceHolderGUI.php.
References propertyGUI().
Referenced by edit(), and saveProperties().
& ilPCPlaceHolderGUI::executeCommand | ( | ) |
execute command
Definition at line 48 of file class.ilPCPlaceHolderGUI.php.
References $cmd, $ilCtrl, and $ret.
|
private |
Definition at line 152 of file class.ilPCPlaceHolderGUI.php.
References $ilCtrl, $ret, and textCOSelectionGUI().
Referenced by edit().
ilPCPlaceHolderGUI::getStyleId | ( | ) |
Get Style Id.
Reimplemented from ilPageContentGUI.
Definition at line 137 of file class.ilPCPlaceHolderGUI.php.
References $styleid.
Referenced by insertPCText().
ilPCPlaceHolderGUI::ilPCPlaceHolderGUI | ( | & | $a_pg_obj, |
& | $a_content_obj, | ||
$a_hier_id, | |||
$a_pc_id = "" |
|||
) |
Definition at line 34 of file class.ilPCPlaceHolderGUI.php.
References ilPageContentGUI\ilPageContentGUI().
ilPCPlaceHolderGUI::insert | ( | ) |
Handle Insert.
Definition at line 79 of file class.ilPCPlaceHolderGUI.php.
References propertyGUI().
Referenced by create().
ilPCPlaceHolderGUI::insertPCText | ( | ) |
Forwards Text Item Selection to GUI classes.
Definition at line 274 of file class.ilPCPlaceHolderGUI.php.
References $_POST, $ilCtrl, $ilSetting, $ret, ilPageEditorGUI\_doJSEditing(), ilPageContentGUI\getEnableAnchors(), ilPageContentGUI\getEnableInternalLinks(), ilPageContentGUI\getEnableKeywords(), and getStyleId().
|
private |
Definition at line 210 of file class.ilPCPlaceHolderGUI.php.
References $ilCtrl, ilPageContentGUI\$lng, ilRadioMatrixInputGUI\setOptions(), and ilTextInputGUI\setSize().
Referenced by edit_object(), and insert().
ilPCPlaceHolderGUI::saveProperties | ( | ) |
save placeholder properties in db and return to page edit screen
Definition at line 184 of file class.ilPCPlaceHolderGUI.php.
References $_POST, edit(), edit_object(), and exit.
ilPCPlaceHolderGUI::setStyleId | ( | $a_styleid | ) |
Set Style Id.
int | $a_styleid | Style Id |
Reimplemented from ilPageContentGUI.
Definition at line 127 of file class.ilPCPlaceHolderGUI.php.
|
private |
Text Item Selection.
Definition at line 246 of file class.ilPCPlaceHolderGUI.php.
References $ilCtrl, ilPageContentGUI\$lng, and ilRadioMatrixInputGUI\setOptions().
Referenced by forward_edit().
ilPCPlaceHolderGUI::$content_obj |
Definition at line 29 of file class.ilPCPlaceHolderGUI.php.
ilPCPlaceHolderGUI::$hier_id |
Definition at line 30 of file class.ilPCPlaceHolderGUI.php.
ilPCPlaceHolderGUI::$pc_id |
Definition at line 31 of file class.ilPCPlaceHolderGUI.php.
ilPCPlaceHolderGUI::$pg_obj |
Constructor public.
Definition at line 28 of file class.ilPCPlaceHolderGUI.php.
ilPCPlaceHolderGUI::$styleid |
Definition at line 32 of file class.ilPCPlaceHolderGUI.php.
Referenced by getStyleId().