ILIAS
Release_4_0_x_branch Revision 61816
|
Class ilInfoScreenGUI. More...
Public Member Functions | |
ilInfoScreenGUI ($a_gui_object) | |
Constructor. | |
& | executeCommand () |
execute command | |
enablePrivateNotes ($a_enable=true) | |
enable notes | |
enableLearningProgress ($a_enable=true) | |
enable learning progress | |
enableFeedback ($a_enable=true) | |
enable feedback | |
enableNews ($a_enable=true) | |
enable news | |
enableNewsEditing ($a_enable=true) | |
enable news editing | |
setBlockProperty ($a_block_type, $a_property, $a_value) | |
This function is supposed to be used for block type specific properties, that should be passed to ilBlockGUI->setProperty. | |
getAllBlockProperties () | |
addSection ($a_title) | |
add a new section | |
setFormAction ($a_form_action) | |
set a form action | |
removeFormAction () | |
remove form action | |
addProperty ($a_name, $a_value, $a_link="") | |
add a property to current section | |
addPropertyCheckbox ($a_name, $a_checkbox_name, $a_checkbox_value, $a_checkbox_label="", $a_checkbox_checked=false) | |
add a property to current section | |
addPropertyTextinput ($a_name, $a_input_name, $a_input_value="", $a_input_size="", $direct_button_command="", $direct_button_label="") | |
add a property to current section | |
addButton ($a_title, $a_link, $a_frame="", $a_position="top") | |
add a property to current section | |
addFormButton ($a_command, $a_title, $a_position="top") | |
add a form button to the info screen the form buttons are only valid if a form action is set | |
addHiddenElement ($a_name, $a_value) | |
addMetaDataSections ($a_rep_obj_id, $a_obj_id, $a_type) | |
add standard meta data sections | |
addObjectSections () | |
add standard object section | |
showSummary () | |
show summary page | |
getCenterColumnHTML () | |
Display center column. | |
getRightColumnHTML () | |
Display right column. | |
setColumnSettings ($column_gui) | |
Set column settings. | |
getHTML () | |
get html | |
showLearningProgress ($a_tpl) | |
saveProgress () | |
showNotesSection () | |
show notes section | |
showLDAPRoleGroupMappingInfo ($a_section= '') | |
show LDAP role group mapping info | |
setTabs () | |
getTabs (&$tabs_gui) | |
get tabs | |
addTagging () | |
Add tagging. | |
saveTags () |
Data Fields | |
$ilias | |
$lng | |
$ctrl | |
$gui_object | |
$top_buttons = array() | |
$top_formbuttons = array() | |
$hiddenelements = array() | |
$form_action | |
a form action parameter. |
Class ilInfoScreenGUI.
ilInfoScreenGUI: ilNoteGUI, ilFeedbackGUI, ilColumnGUI, ilPublicUserProfileGUI
Definition at line 17 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::addButton | ( | $a_title, | |
$a_link, | |||
$a_frame = "" , |
|||
$a_position = "top" |
|||
) |
add a property to current section
Definition at line 251 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::addFormButton | ( | $a_command, | |
$a_title, | |||
$a_position = "top" |
|||
) |
add a form button to the info screen the form buttons are only valid if a form action is set
Definition at line 264 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::addHiddenElement | ( | $a_name, | |
$a_value | |||
) |
Definition at line 274 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::addMetaDataSections | ( | $a_rep_obj_id, | |
$a_obj_id, | |||
$a_type | |||
) |
add standard meta data sections
Definition at line 282 of file class.ilInfoScreenGUI.php.
References $lng, ilMDUtils\_parseCopyright(), ilFormat\_secondsToString(), addProperty(), and addSection().
ilInfoScreenGUI::addObjectSections | ( | ) |
add standard object section
Definition at line 408 of file class.ilInfoScreenGUI.php.
References $ilCtrl, $ilias, $ilSetting, $lng, $ref_id, $size, $title, $type, ilObject\_getAllReferences(), ilPermanentLinkGUI\_getBookmarksSelectionList(), ilECSSettings\_getInstance(), ilLink\_getStaticLink(), ilDiskQuotaActivationChecker\_isActive(), ilChangeEvent\_isActive(), ilDAVServer\_isActive(), ilChangeEvent\_lookupReadEvents(), addProperty(), addSection(), ilDatePresentation\formatDate(), ilFormat\formatSize(), ilUtil\getImagePath(), ilObjectFactory\getInstanceByObjId(), and IL_CAL_DATETIME.
Referenced by getHTML().
ilInfoScreenGUI::addProperty | ( | $a_name, | |
$a_value, | |||
$a_link = "" |
|||
) |
add a property to current section
string | $a_name | property name string |
string | $a_value | property value |
string | $a_link | link (will link the property value string) |
Definition at line 199 of file class.ilInfoScreenGUI.php.
Referenced by addMetaDataSections(), addObjectSections(), addTagging(), and showLDAPRoleGroupMappingInfo().
ilInfoScreenGUI::addPropertyCheckbox | ( | $a_name, | |
$a_checkbox_name, | |||
$a_checkbox_value, | |||
$a_checkbox_label = "" , |
|||
$a_checkbox_checked = false |
|||
) |
add a property to current section
Definition at line 209 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::addPropertyTextinput | ( | $a_name, | |
$a_input_name, | |||
$a_input_value = "" , |
|||
$a_input_size = "" , |
|||
$direct_button_command = "" , |
|||
$direct_button_label = "" |
|||
) |
add a property to current section
Definition at line 228 of file class.ilInfoScreenGUI.php.
References ilUtil\prepareFormOutput().
ilInfoScreenGUI::addSection | ( | $a_title | ) |
add a new section
Definition at line 170 of file class.ilInfoScreenGUI.php.
Referenced by addMetaDataSections(), addObjectSections(), addTagging(), and showLDAPRoleGroupMappingInfo().
ilInfoScreenGUI::addTagging | ( | ) |
Add tagging.
Definition at line 1110 of file class.ilInfoScreenGUI.php.
References $ilCtrl, $lng, addProperty(), and addSection().
Referenced by getHTML().
ilInfoScreenGUI::enableFeedback | ( | $a_enable = true | ) |
enable feedback
Definition at line 129 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::enableLearningProgress | ( | $a_enable = true | ) |
enable learning progress
Definition at line 120 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::enableNews | ( | $a_enable = true | ) |
enable news
Definition at line 137 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::enableNewsEditing | ( | $a_enable = true | ) |
enable news editing
Definition at line 145 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::enablePrivateNotes | ( | $a_enable = true | ) |
enable notes
Definition at line 112 of file class.ilInfoScreenGUI.php.
& ilInfoScreenGUI::executeCommand | ( | ) |
execute command
Definition at line 59 of file class.ilInfoScreenGUI.php.
References $_GET, $cmd, $ilCtrl, $lng, $tpl, setTabs(), and showSummary().
ilInfoScreenGUI::getAllBlockProperties | ( | ) |
Definition at line 162 of file class.ilInfoScreenGUI.php.
Referenced by setColumnSettings().
ilInfoScreenGUI::getCenterColumnHTML | ( | ) |
Display center column.
Definition at line 620 of file class.ilInfoScreenGUI.php.
References $ilCtrl, getHTML(), IL_COL_CENTER, IL_COL_LEFT, IL_COL_RIGHT, IL_SCREEN_SIDE, and setColumnSettings().
Referenced by showSummary().
ilInfoScreenGUI::getHTML | ( | ) |
get html
Definition at line 702 of file class.ilInfoScreenGUI.php.
References $ilCtrl, $ilSetting, $lng, $tpl, addObjectSections(), addTagging(), setFormAction(), showLearningProgress(), and showNotesSection().
Referenced by getCenterColumnHTML().
ilInfoScreenGUI::getRightColumnHTML | ( | ) |
Display right column.
Definition at line 659 of file class.ilInfoScreenGUI.php.
References $ilCtrl, $lng, IL_COL_RIGHT, IL_SCREEN_SIDE, and setColumnSettings().
Referenced by showSummary().
ilInfoScreenGUI::getTabs | ( | & | $tabs_gui | ) |
get tabs
Definition at line 1050 of file class.ilInfoScreenGUI.php.
References $_GET.
Referenced by setTabs().
ilInfoScreenGUI::ilInfoScreenGUI | ( | $a_gui_object | ) |
Constructor.
object | $a_gui_object | GUI instance of related object (ilCouseGUI, ilTestGUI, ...) |
Definition at line 37 of file class.ilInfoScreenGUI.php.
References $ilCtrl, $ilias, and $lng.
ilInfoScreenGUI::removeFormAction | ( | ) |
remove form action
Definition at line 187 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::saveProgress | ( | ) |
Definition at line 955 of file class.ilInfoScreenGUI.php.
References $_POST, ilUtil\sendSuccess(), ilLPMarks\setCompleted(), and showSummary().
ilInfoScreenGUI::saveTags | ( | ) |
Definition at line 1134 of file class.ilInfoScreenGUI.php.
References $ilCtrl, and showSummary().
ilInfoScreenGUI::setBlockProperty | ( | $a_block_type, | |
$a_property, | |||
$a_value | |||
) |
This function is supposed to be used for block type specific properties, that should be passed to ilBlockGUI->setProperty.
string | $a_property | property name |
string | $a_value | property value |
Definition at line 157 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::setColumnSettings | ( | $column_gui | ) |
Set column settings.
Definition at line 690 of file class.ilInfoScreenGUI.php.
References $lng, and getAllBlockProperties().
Referenced by getCenterColumnHTML(), and getRightColumnHTML().
ilInfoScreenGUI::setFormAction | ( | $a_form_action | ) |
set a form action
Definition at line 179 of file class.ilInfoScreenGUI.php.
Referenced by getHTML().
ilInfoScreenGUI::setTabs | ( | ) |
Definition at line 1040 of file class.ilInfoScreenGUI.php.
References $tpl, and getTabs().
Referenced by executeCommand().
ilInfoScreenGUI::showLDAPRoleGroupMappingInfo | ( | $a_section = '' | ) |
show LDAP role group mapping info
public
string | section name. Leave empty to place this info string inside a section |
Definition at line 1014 of file class.ilInfoScreenGUI.php.
References ilLDAPRoleGroupMapping\_getInstance(), addProperty(), and addSection().
ilInfoScreenGUI::showLearningProgress | ( | $a_tpl | ) |
Definition at line 846 of file class.ilInfoScreenGUI.php.
References ilObjUserTracking\_enabledLearningProgress(), ilLearningProgress\_getProgress(), ilLPMarks\_hasCompleted(), ilLPObjSettings\_lookupMode(), ilFormat\_secondsToString(), ilDatePresentation\formatDate(), ilUtil\formSelect(), IL_CAL_DATETIME, and LP_MODE_MANUAL.
Referenced by getHTML().
ilInfoScreenGUI::showNotesSection | ( | ) |
show notes section
Definition at line 976 of file class.ilInfoScreenGUI.php.
References $ref_id.
Referenced by getHTML().
ilInfoScreenGUI::showSummary | ( | ) |
show summary page
Definition at line 608 of file class.ilInfoScreenGUI.php.
References $tpl, getCenterColumnHTML(), and getRightColumnHTML().
Referenced by executeCommand(), saveProgress(), and saveTags().
ilInfoScreenGUI::$ctrl |
Definition at line 21 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::$form_action |
a form action parameter.
if set a form is generated
Definition at line 29 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::$gui_object |
Definition at line 22 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::$hiddenelements = array() |
Definition at line 25 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::$ilias |
Definition at line 19 of file class.ilInfoScreenGUI.php.
Referenced by addObjectSections(), and ilInfoScreenGUI().
ilInfoScreenGUI::$lng |
Definition at line 20 of file class.ilInfoScreenGUI.php.
Referenced by addMetaDataSections(), addObjectSections(), addTagging(), executeCommand(), getHTML(), getRightColumnHTML(), ilInfoScreenGUI(), and setColumnSettings().
ilInfoScreenGUI::$top_buttons = array() |
Definition at line 23 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::$top_formbuttons = array() |
Definition at line 24 of file class.ilInfoScreenGUI.php.