|
ILIAS
Release_4_4_x_branch Revision 61816
|
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 public. | |
| executeCommand () | |
| execute command | |
| edit () | |
| Handle Editing. | |
| setStyleId ($a_styleid) | |
| Set Style Id. | |
| getStyleId () | |
| Get Style Id. | |
| cancel () | |
| Cancel. | |
Public Member Functions inherited from ilPageContentGUI | |
| ilPageContentGUI ($a_pg_obj, $a_content_obj, $a_hier_id=0, $a_pc_id="") | |
| Constructor public. | |
| setContentObject ($a_val) | |
| Set content object. | |
| getContentObject () | |
| Get content object. | |
| setPage ($a_val) | |
| Set page. | |
| getPage () | |
| Get page. | |
| setPageConfig ($a_val) | |
| Set Page Config. | |
| getPageConfig () | |
| Get Page Config. | |
| 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 | |
| $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 | |
| $ilias | |
| $tpl | |
| $lng | |
| $ctrl | |
| $pg_obj | |
| $hier_id | |
| $dom | |
| $updated | |
| $target_script | |
| $return_location | |
| $page_config = null | |
Protected Member Functions | |
| insert () | |
| Handle Insert. | |
| create () | |
| create new table in dom and update page in db | |
| edit_object () | |
| Handle Editing Private Methods. | |
| forward_edit () | |
| saveProperties () | |
| save placeholder properties in db and return to page edit screen | |
| propertyGUI ($a_action, $a_type, $a_height, $a_mode) | |
| Object Property GUI. | |
| textCOSelectionGUI () | |
| Text Item Selection. | |
| insertPCText () | |
| Forwards Text Item Selection to GUI classes. | |
| getAvailableTypes () | |
| getTypeCaptions () | |
Protected Member Functions inherited from ilPageContentGUI | |
| getCharacteristicsOfCurrentStyle ($a_type) | |
| Get characteristics of current style. | |
Protected Attributes | |
| $styleid | |
Additional Inherited Members | |
Static Public Member Functions inherited from ilPageContentGUI | |
| static | _getCommonBBButtons () |
| Get common bb buttons. | |
Static Protected Attributes inherited from ilPageContentGUI | |
| static | $common_bb_buttons |
Class ilPCPlaceHolderGUI.
User Interface for Place Holder Management
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 public.
Definition at line 37 of file class.ilPCPlaceHolderGUI.php.
References ilPageContentGUI\ilPageContentGUI().
Here is the call graph for this function:| ilPCPlaceHolderGUI::cancel | ( | ) |
Cancel.
Reimplemented from ilPageContentGUI.
Definition at line 359 of file class.ilPCPlaceHolderGUI.php.
|
protected |
create new table in dom and update page in db
Definition at line 84 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 110 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 145 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 50 of file class.ilPCPlaceHolderGUI.php.
|
protected |
Definition at line 153 of file class.ilPCPlaceHolderGUI.php.
References textCOSelectionGUI().
Referenced by edit().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 364 of file class.ilPCPlaceHolderGUI.php.
References ilPageContentGUI\getPageConfig().
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 137 of file class.ilPCPlaceHolderGUI.php.
References $styleid.
Referenced by insertPCText().
Here is the caller graph for this function:
|
protected |
Definition at line 376 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 76 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 283 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 220 of file class.ilPCPlaceHolderGUI.php.
References ilPageContentGUI\$lng, getAvailableTypes(), getTypeCaptions(), and ilTextInputGUI\setSize().
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 195 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 127 of file class.ilPCPlaceHolderGUI.php.
|
protected |
Text Item Selection.
Definition at line 256 of file class.ilPCPlaceHolderGUI.php.
References ilPageContentGUI\$lng, and ilRadioGroupInputGUI\addOption().
Referenced by forward_edit().
Here is the call graph for this function:
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 ilPortfolioTemplatePageConfig\getAvailablePlaceholderTypes().
| const ilPCPlaceHolderGUI::TYPE_QUESTION = "Question" |
Definition at line 29 of file class.ilPCPlaceHolderGUI.php.
| const ilPCPlaceHolderGUI::TYPE_TEXT = "Text" |
Definition at line 28 of file class.ilPCPlaceHolderGUI.php.
Referenced by ilPortfolioTemplatePageConfig\getAvailablePlaceholderTypes().
| const ilPCPlaceHolderGUI::TYPE_VERIFICATION = "Verification" |
Definition at line 31 of file class.ilPCPlaceHolderGUI.php.
Referenced by ilPortfolioTemplatePageConfig\getAvailablePlaceholderTypes().