|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilPCPlaceHolderGUI. More...
Inheritance diagram for ilPCPlaceHolderGUI:
Collaboration diagram for ilPCPlaceHolderGUI:Public Member Functions | |
| __construct ($a_pg_obj, $a_content_obj, $a_hier_id, $a_pc_id="") | |
| Constructor @access public. More... | |
| executeCommand () | |
| execute command More... | |
| edit () | |
| Handle Editing. More... | |
| setStyleId ($a_styleid) | |
| Set Style Id. More... | |
| getStyleId () | |
| Get Style Id. More... | |
| cancel () | |
| Cancel. More... | |
Public Member Functions inherited from ilPageContentGUI | |
| __construct ($a_pg_obj, $a_content_obj, $a_hier_id=0, $a_pc_id="") | |
| Constructor @access 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... | |
Data Fields | |
| $pg_obj | |
| $content_obj | |
| $hier_id | |
| $pc_id | |
| const | TYPE_TEXT = "Text" |
| const | TYPE_QUESTION = "Question" |
| const | TYPE_MEDIA = "Media" |
| const | TYPE_VERIFICATION = "Verification" |
Data Fields inherited from ilPageContentGUI | |
| $content_obj | |
| $tpl | |
| $lng | |
| $ctrl | |
| $pg_obj | |
| $hier_id | |
| $dom | |
| $updated | |
| $target_script | |
| $return_location | |
| $page_config = null | |
Protected Member Functions | |
| insert () | |
| Handle Insert. More... | |
| create () | |
| create new table in dom and update page in db More... | |
| edit_object () | |
| Handle Editing Private Methods. More... | |
| forward_edit () | |
| saveProperties () | |
| save placeholder properties in db and return to page edit screen More... | |
| propertyGUI ($a_action, $a_type, $a_height, $a_mode) | |
| Object Property GUI. More... | |
| textCOSelectionGUI () | |
| Text Item Selection. More... | |
| insertPCText () | |
| Forwards Text Item Selection to GUI classes. More... | |
| getAvailableTypes ($a_selected_type="") | |
| getTypeCaptions () | |
Protected Member Functions inherited from ilPageContentGUI | |
| getCharacteristicsOfCurrentStyle ($a_type) | |
| Get characteristics of current style. More... | |
Protected Attributes | |
| $styleid | |
Protected Attributes inherited from ilPageContentGUI | |
| $error | |
| $log | |
Additional Inherited Members | |
Static Public Member Functions inherited from ilPageContentGUI | |
| static | _getCommonBBButtons () |
| Get common bb buttons. More... | |
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;" |
Static Protected Attributes inherited from ilPageContentGUI | |
| static | $common_bb_buttons |
Class ilPCPlaceHolderGUI.
User Interface for Place Holder Management
@ilCtrl_Calls ilPCPlaceHolderGUI: ilPCMediaObjectGUI
Definition at line 20 of file class.ilPCPlaceHolderGUI.php.
| ilPCPlaceHolderGUI::__construct | ( | $a_pg_obj, | |
| $a_content_obj, | |||
| $a_hier_id, | |||
$a_pc_id = "" |
|||
| ) |
Constructor @access public.
Reimplemented from ilPageContentGUI.
Definition at line 37 of file class.ilPCPlaceHolderGUI.php.
References $DIC.
| ilPCPlaceHolderGUI::cancel | ( | ) |
Cancel.
Reimplemented from ilPageContentGUI.
Definition at line 351 of file class.ilPCPlaceHolderGUI.php.
|
protected |
create new table in dom and update page in db
Definition at line 86 of file class.ilPCPlaceHolderGUI.php.
References $_POST, ilPageContentGUI\getPage(), and insert().
Here is the call graph for this function:| ilPCPlaceHolderGUI::edit | ( | ) |
Handle Editing.
Definition at line 108 of file class.ilPCPlaceHolderGUI.php.
References edit_object(), forward_edit(), and ilPageContentGUI\getPageConfig().
Referenced by saveProperties().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Handle Editing Private Methods.
Definition at line 140 of file class.ilPCPlaceHolderGUI.php.
References propertyGUI().
Referenced by edit(), and saveProperties().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCPlaceHolderGUI::executeCommand | ( | ) |
execute command
Definition at line 53 of file class.ilPCPlaceHolderGUI.php.
References $ret.
|
protected |
Definition at line 150 of file class.ilPCPlaceHolderGUI.php.
References textCOSelectionGUI(), TYPE_MEDIA, TYPE_QUESTION, TYPE_TEXT, and TYPE_VERIFICATION.
Referenced by edit().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 356 of file class.ilPCPlaceHolderGUI.php.
References $key, ilPageContentGUI\getPageConfig(), and ilCertificate\isActive().
Referenced by propertyGUI().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCPlaceHolderGUI::getStyleId | ( | ) |
Get Style Id.
Reimplemented from ilPageContentGUI.
Definition at line 132 of file class.ilPCPlaceHolderGUI.php.
References $styleid.
Referenced by insertPCText().
Here is the caller graph for this function:
|
protected |
Definition at line 377 of file class.ilPCPlaceHolderGUI.php.
References ilPageContentGUI\$lng.
Referenced by propertyGUI().
Here is the caller graph for this function:
|
protected |
Handle Insert.
Definition at line 78 of file class.ilPCPlaceHolderGUI.php.
References propertyGUI().
Referenced by create().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Forwards Text Item Selection to GUI classes.
Definition at line 275 of file class.ilPCPlaceHolderGUI.php.
References $_POST, ilPageEditorGUI\_doJSEditing(), ilPageContentGUI\getPageConfig(), and getStyleId().
Here is the call graph for this function:
|
protected |
Object Property GUI.
Definition at line 213 of file class.ilPCPlaceHolderGUI.php.
References $a_type, ilPageContentGUI\$lng, $type, getAvailableTypes(), and getTypeCaptions().
Referenced by edit_object(), and insert().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
save placeholder properties in db and return to page edit screen
Definition at line 191 of file class.ilPCPlaceHolderGUI.php.
References $_POST, edit(), and edit_object().
Here is the call graph for this function:| ilPCPlaceHolderGUI::setStyleId | ( | $a_styleid | ) |
Set Style Id.
| int | $a_styleid | Style Id |
Reimplemented from ilPageContentGUI.
Definition at line 122 of file class.ilPCPlaceHolderGUI.php.
|
protected |
Text Item Selection.
Definition at line 248 of file class.ilPCPlaceHolderGUI.php.
References ilPageContentGUI\$lng.
Referenced by forward_edit().
Here is the caller graph for this function:| ilPCPlaceHolderGUI::$content_obj |
Definition at line 23 of file class.ilPCPlaceHolderGUI.php.
| ilPCPlaceHolderGUI::$hier_id |
Definition at line 24 of file class.ilPCPlaceHolderGUI.php.
| ilPCPlaceHolderGUI::$pc_id |
Definition at line 25 of file class.ilPCPlaceHolderGUI.php.
| ilPCPlaceHolderGUI::$pg_obj |
Definition at line 22 of file class.ilPCPlaceHolderGUI.php.
|
protected |
Definition at line 26 of file class.ilPCPlaceHolderGUI.php.
Referenced by getStyleId().
| const ilPCPlaceHolderGUI::TYPE_MEDIA = "Media" |
Definition at line 30 of file class.ilPCPlaceHolderGUI.php.
Referenced by forward_edit(), and ilPortfolioTemplatePageConfig\getAvailablePlaceholderTypes().
| const ilPCPlaceHolderGUI::TYPE_QUESTION = "Question" |
Definition at line 29 of file class.ilPCPlaceHolderGUI.php.
Referenced by forward_edit().
| const ilPCPlaceHolderGUI::TYPE_TEXT = "Text" |
Definition at line 28 of file class.ilPCPlaceHolderGUI.php.
Referenced by forward_edit(), and ilPortfolioTemplatePageConfig\getAvailablePlaceholderTypes().
| const ilPCPlaceHolderGUI::TYPE_VERIFICATION = "Verification" |
Definition at line 31 of file class.ilPCPlaceHolderGUI.php.
Referenced by forward_edit(), and ilPortfolioTemplatePageConfig\getAvailablePlaceholderTypes().