ILIAS
eassessment Revision 61809
|
Class ilInfoScreenGUI. More...
Public Member Functions | |
ilInfoScreenGUI ($a_gui_object) | |
Constructor. | |
& | executeCommand () |
execute command | |
setTableClass ($a_val) | |
Set table class. | |
getTableClass () | |
Get table class. | |
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() | |
$table_class = "il_InfoScreen" | |
$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 273 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 286 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::addHiddenElement | ( | $a_name, | |
$a_value | |||
) |
Definition at line 296 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::addMetaDataSections | ( | $a_rep_obj_id, | |
$a_obj_id, | |||
$a_type | |||
) |
add standard meta data sections
Definition at line 304 of file class.ilInfoScreenGUI.php.
References $lng, ilMDUtils\_parseCopyright(), ilFormat\_secondsToString(), addProperty(), and addSection().
ilInfoScreenGUI::addObjectSections | ( | ) |
add standard object section
Definition at line 430 of file class.ilInfoScreenGUI.php.
References $ilCtrl, $ilias, $ilSetting, $lng, $ref_id, $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 221 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 231 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 250 of file class.ilInfoScreenGUI.php.
References ilUtil\prepareFormOutput().
ilInfoScreenGUI::addSection | ( | $a_title | ) |
add a new section
Definition at line 192 of file class.ilInfoScreenGUI.php.
Referenced by addMetaDataSections(), addObjectSections(), addTagging(), and showLDAPRoleGroupMappingInfo().
ilInfoScreenGUI::addTagging | ( | ) |
Add tagging.
Definition at line 1138 of file class.ilInfoScreenGUI.php.
References $ilCtrl, $lng, addProperty(), and addSection().
Referenced by getHTML().
ilInfoScreenGUI::enableFeedback | ( | $a_enable = true | ) |
enable feedback
Definition at line 151 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::enableLearningProgress | ( | $a_enable = true | ) |
enable learning progress
Definition at line 142 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::enableNews | ( | $a_enable = true | ) |
enable news
Definition at line 159 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::enableNewsEditing | ( | $a_enable = true | ) |
enable news editing
Definition at line 167 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::enablePrivateNotes | ( | $a_enable = true | ) |
enable notes
Definition at line 134 of file class.ilInfoScreenGUI.php.
& ilInfoScreenGUI::executeCommand | ( | ) |
execute command
Definition at line 61 of file class.ilInfoScreenGUI.php.
References $_GET, $cmd, $ilCtrl, $lng, $tpl, setTabs(), and showSummary().
ilInfoScreenGUI::getAllBlockProperties | ( | ) |
Definition at line 184 of file class.ilInfoScreenGUI.php.
Referenced by setColumnSettings().
ilInfoScreenGUI::getCenterColumnHTML | ( | ) |
Display center column.
Definition at line 643 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 725 of file class.ilInfoScreenGUI.php.
References $ilCtrl, $ilSetting, $lng, $tpl, addObjectSections(), addTagging(), getTableClass(), setFormAction(), showLearningProgress(), and showNotesSection().
Referenced by getCenterColumnHTML().
ilInfoScreenGUI::getRightColumnHTML | ( | ) |
Display right column.
Definition at line 682 of file class.ilInfoScreenGUI.php.
References $ilCtrl, $lng, IL_COL_RIGHT, IL_SCREEN_SIDE, and setColumnSettings().
Referenced by showSummary().
ilInfoScreenGUI::getTableClass | ( | ) |
Get table class.
Definition at line 126 of file class.ilInfoScreenGUI.php.
References $table_class.
Referenced by getHTML().
ilInfoScreenGUI::getTabs | ( | & | $tabs_gui | ) |
get tabs
Definition at line 1078 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 39 of file class.ilInfoScreenGUI.php.
References $ilCtrl, $ilias, and $lng.
ilInfoScreenGUI::removeFormAction | ( | ) |
remove form action
Definition at line 209 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::saveProgress | ( | ) |
Definition at line 980 of file class.ilInfoScreenGUI.php.
References $_POST, ilLPStatusWrapper\_updateStatus(), ilUtil\sendSuccess(), ilLPMarks\setCompleted(), and showSummary().
ilInfoScreenGUI::saveTags | ( | ) |
Definition at line 1162 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 179 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::setColumnSettings | ( | $column_gui | ) |
Set column settings.
Definition at line 713 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 201 of file class.ilInfoScreenGUI.php.
Referenced by getHTML().
ilInfoScreenGUI::setTableClass | ( | $a_val | ) |
Set table class.
string | table class |
Definition at line 116 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::setTabs | ( | ) |
Definition at line 1068 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 1042 of file class.ilInfoScreenGUI.php.
References ilLDAPRoleGroupMapping\_getInstance(), addProperty(), and addSection().
ilInfoScreenGUI::showLearningProgress | ( | $a_tpl | ) |
Definition at line 871 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 1004 of file class.ilInfoScreenGUI.php.
References $ref_id.
Referenced by getHTML().
ilInfoScreenGUI::showSummary | ( | ) |
show summary page
Definition at line 631 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 31 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::$table_class = "il_InfoScreen" |
Definition at line 26 of file class.ilInfoScreenGUI.php.
Referenced by getTableClass().
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.