ILIAS
Release_4_1_x_branch Revision 61804
|
Class ilObjiLincCourseGUI. More...
Public Member Functions | |
ilObjiLincCourseGUI ($a_data, $a_id, $a_call_by_reference, $a_prepare_output=false) | |
Constructor public. | |
createObject () | |
create new object form | |
updateObject () | |
updates object entry in object_data | |
saveObject () | |
save object public | |
getTabs (&$tabs_gui) | |
get tabs public | |
__unsetSessionVariables () | |
__search ($a_search_string, $a_search_for) | |
__showSearchUserTable ($a_result_set, $a_user_ids=NULL, $a_cmd="search") | |
__showSearchRoleTable ($a_result_set, $a_role_ids=NULL) | |
__showSearchGroupTable ($a_result_set, $a_grp_ids=NULL) | |
& | __initTableGUI () |
__setTableGUIBasicData (&$tbl, &$result_set, $from="") | |
standard implementation for tables use 'from' variable use different initial setting of table | |
listUsersRoleObject () | |
listUsersGroupObject () | |
canceledObject () | |
canceledObject is called when an operation is canceled, method links back public | |
cancelMemberObject () | |
canceledObject is called when operation is canceled, method links back public | |
membersObject () | |
display group members | |
& | executeCommand () |
execute command | |
viewObject () | |
list childs of current object | |
agendaObject () | |
searchUserFormObject () | |
searchObject () | |
addUserObject () | |
displays confirmation formular with users that shall be assigned to group public | |
removeMemberObject () | |
displays confirmation formular with users that shall be removed from group public | |
confirmationObject ($user_id= '', $confirm= '', $cancel= '', $info= '', $status= '', $a_cmd_return_location= '', $invokeMethod= '') | |
displays confirmation form public | |
confirmedRemoveMemberObject () | |
remove members from group TODO: set return location to parent object if user removes himself TODO: allow user to remove himself when he is not group admin public | |
changeMemberObject () | |
displays form in which the member-status can be changed public | |
updateMemberStatusObject () | |
displays form in which the member-status can be changed public | |
editObject () | |
edit object | |
joinObject () | |
isActiveAdministrationPanel () | |
__setSubTabs ($a_tab) | |
mailMembersObject () | |
membersGalleryObject () | |
Builds a learnlink seminar members gallery as a layer of left-floating images. | |
addStandardContainerSubTabs () | |
showAdministrationPanel ($tpl) | |
Public Member Functions inherited from ilObjectGUI | |
ilObjectGUI ($a_data, $a_id=0, $a_call_by_reference=true, $a_prepare_output=true) | |
Constructor public. | |
withReferences () | |
determines wether objects are referenced or not (got ref ids or not) | |
setCreationMode ($a_mode=true) | |
if true, a creation screen is displayed the current $_GET[ref_id] don't belong to the current class! the mode is determined in ilrepositorygui | |
getCreationMode () | |
get creation mode | |
getAdminTabs (&$tabs_gui) | |
administration tabs show only permissions and trash folder | |
getHTML () | |
undeleteObject () | |
Get objects back from trash. | |
confirmedDeleteObject () | |
confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled | |
cancelDeleteObject () | |
cancel deletion of object | |
removeFromSystemObject () | |
remove objects from trash bin and all entries therefore every object needs a specific deleteObject() method | |
cancelObject ($in_rep=false) | |
cancel action and go back to previous page public | |
getFormAction ($a_cmd, $a_formaction="") | |
get form action for command (command is method name without "Object", e.g. | |
isVisible ($a_ref_id, $a_type) | |
deleteObject ($a_error=false) | |
Display deletion confirmation screen. | |
trashObject () | |
Show trash content of object. | |
getTemplateFile ($a_cmd, $a_type="") | |
get a template blockfile format: tpl. | |
Public Member Functions inherited from ilContainerGUI | |
ilContainerGUI ($a_data, $a_id, $a_call_by_reference=true, $a_prepare_output=true) | |
Constructor public. | |
forwardToStyleSheet () | |
Forward to style object. | |
& | forwardToPageObject () |
forward command to page object | |
addPageTabs () | |
Add page tabs. | |
getContainerPageHTML () | |
Get container page HTML. | |
prepareOutput ($a_show_subobjects=true) | |
prepare output | |
showTreeFlatIcon () | |
setTitleAndDescription () | |
called by prepare output | |
showPossibleSubObjects () | |
show possible sub objects selection list | |
renderObject () | |
render the object | |
setContentSubTabs () | |
Set content sub tabs. | |
showAdministrationPanel (&$tpl) | |
show administration panel | |
__showTimingsButton (&$tpl) | |
showPermanentLink (&$tpl) | |
show permanent link | |
switchToStdEditorObject () | |
Switch to standard page editor. | |
switchToOldEditorObject () | |
Switch to old page editor. | |
useNewEditorObject () | |
Use new editor (-> delete xhtml content page) | |
editPageFrameObject () | |
show page editor frameset | |
editPageContentObject () | |
edit page content (for repository root node and categories) | |
savePageContentObject () | |
cancelPageContentObject () | |
renderItemList ($a_type="all") | |
showLinkListObject () | |
clearAdminCommandsDetermination () | |
cleaer administration commands determination | |
& | newBlockTemplate () |
determin admin commands | |
addHeaderRow (&$a_tpl, $a_type, $a_show_image=true) | |
adds a header row to a block template | |
addStandardRow (&$a_tpl, $a_html, $a_item_ref_id="", $a_item_obj_id="", $a_image_type="") | |
adds a standard row to a block template | |
addMessageRow (&$a_tpl, $a_message, $a_type) | |
add message row | |
resetRowType () | |
setPageEditorTabs () | |
Add page editor tabs. | |
addStandardContainerSubTabs ($a_include_view=true) | |
Add standar container subtabs for view, manage, oderdering and text/media editor link. | |
enableAdministrationPanelObject () | |
enable administration panel | |
disableAdministrationPanelObject () | |
enable administration panel | |
editOrderObject () | |
Edit order. | |
isActiveOrdering () | |
Check if ordering is enabled. | |
addToDeskObject () | |
removeFromDeskObject () | |
lockObject () | |
cutObject () | |
cut object(s) out from a container and write the information to clipboard | |
linkObject () | |
create an new reference of an object in tree it's like a hard link of unix | |
clearObject () | |
clear clipboard and go back to last object | |
performPasteIntoMultipleObjectsObject () | |
initAndDisplayLinkIntoMultipleObjectsObject () | |
showLinkIntoMultipleObjectsTreeObject () | |
initAndDisplayMoveIntoObjectObject () | |
showMoveIntoObjectTreeObject () | |
pasteObject () | |
paste object from clipboard to current place Depending on the chosen command the object(s) are linked, copied or moved | |
copyObject () | |
Copy object(s) out from a container and write the information to clipboard It is not possible to copy multiple objects at once. | |
clipboardObject () | |
show clipboard | |
showCustomIconsEditing ($a_input_colspan=1) | |
show edit section of custom icons for container | |
setColumnSettings ($column_gui) | |
May be overwritten in subclasses. | |
allowBlocksMoving () | |
Standard is to allow blocks moving. | |
allowBlocksConfigure () | |
Standard is to allow blocks configuration. | |
cloneWizardPageTreeObject () | |
public | |
cloneWizardPageListObject () | |
public | |
cloneWizardPageObject ($a_tree_view=true) | |
Show clone wizard page for container objects. | |
cloneAllObject () | |
Clone all object Overwritten method for copying container objects. | |
copyWizardHasOptions ($a_mode) | |
public | |
saveSortingObject () | |
Save Sorting. | |
cloneNodes ($srcRef, $dstRef, &$mapping, $newName=null) | |
Recursively clones all nodes of the RBAC tree. | |
modifyItemGUI (&$a_item_list_gui, $a_item_data, $a_show_path) | |
Modify Item ListGUI for presentation in container. | |
editStylePropertiesObject () | |
Edit style properties. | |
initStylePropertiesForm () | |
Init style properties form. | |
createStyleObject () | |
Create Style. | |
editStyleObject () | |
Edit Style. | |
deleteStyleObject () | |
Delete Style. | |
saveStyleSettingsObject () | |
Save style settings. | |
getAsynchItemListObject () | |
Get item list command drop down asynchronously. | |
importFileObject () | |
Import. |
Static Public Member Functions | |
static | _goto ($a_target) |
Static Public Member Functions inherited from ilContainerGUI | |
static | _buildPath ($a_ref_id, $a_course_ref_id) |
build path |
Protected Member Functions | |
getObjectValues () | |
initSettingsForm ($a_mode= 'create') | |
Protected Member Functions inherited from ilObjectGUI | |
assignObject () | |
prepareOutput () | |
prepare output | |
showUpperIcon () | |
setTabs () | |
set admin tabs public | |
setAdminTabs () | |
set admin tabs public | |
setLocator () | |
set Locator | |
addLocatorItems () | |
should be overwritten to add object specific items (repository items are preloaded) | |
omitLocator ($a_omit=true) | |
addAdminLocatorItems () | |
should be overwritten to add object specific items (repository items are preloaded) | |
displayEditForm ($fields) | |
display edit form (usually called by editObject) | |
afterUpdate () | |
setFormAction ($a_cmd, $a_formaction) | |
set specific form action for command | |
getReturnLocation ($a_cmd, $a_location="") | |
get return location for command (command is method name without "Object", e.g. | |
setReturnLocation ($a_cmd, $a_location) | |
set specific return location for command | |
getTargetFrame ($a_cmd, $a_target_frame="") | |
get target frame for command (command is method name without "Object", e.g. | |
setTargetFrame ($a_cmd, $a_target_frame) | |
set specific target frame for command | |
getTitlesByRefId ($a_ref_ids) | |
get Titles of objects this method is used for error messages in methods cut/copy/paste | |
__showButton ($a_cmd, $a_text, $a_target= '') | |
hitsperpageObject () | |
__showClipboardTable ($a_result_set, $a_from="") | |
redirectToRefId ($a_ref_id, $a_cmd="") | |
redirects to (repository) view per ref id usually to a container and usually used at the end of a save/import method where the object gui type (of the new object) doesn't match with the type of the current $_GET["ref_id"] value | |
fillCloneTemplate ($a_tpl_varname, $a_type) | |
Fill object clone template This method can be called from any object GUI class that wants to offer object cloning. | |
getCenterColumnHTML () | |
Get center column. | |
getRightColumnHTML () | |
Display right column. | |
checkPermission ($a_perm, $a_cmd="") | |
Protected Member Functions inherited from ilContainerGUI | |
showPasswordInstructionObject ($a_init=true) | |
Show webdav password instruction. | |
initFormPasswordInstruction () | |
Init password form. | |
savePasswordObject () | |
Save password. |
Private Attributes | |
$form_gui = null |
Additional Inherited Members | |
Data Fields inherited from ilObjectGUI | |
const | COPY_WIZARD_NEEDS_PAGE = 1 |
$ilias | |
$objDefinition | |
$tpl | |
$tree | |
$lng | |
$data | |
$object | |
$ref_id | |
$obj_id | |
$maxcount | |
$formaction | |
$return_location | |
$target_frame | |
$tab_target_script | |
$actions | |
$sub_objects | |
$omit_locator = false | |
Data Fields inherited from ilContainerGUI | |
$bl_cnt = 1 |
Class ilObjiLincCourseGUI.
ilObjiLincCourseGUI: ilObjiLincClassroomGUI, ilPermissionGUI, ilInfoScreenGUI, ilRepositorySearchGUI ilObjiLincCourseGUI: ilPublicUserProfileGUI, ilColumnGUI
Definition at line 20 of file class.ilObjiLincCourseGUI.php.
& ilObjiLincCourseGUI::__initTableGUI | ( | ) |
Reimplemented from ilObjectGUI.
Definition at line 498 of file class.ilObjiLincCourseGUI.php.
Referenced by __showSearchGroupTable(), __showSearchRoleTable(), and __showSearchUserTable().
ilObjiLincCourseGUI::__search | ( | $a_search_string, | |
$a_search_for | |||
) |
Definition at line 288 of file class.ilObjiLincCourseGUI.php.
References $_SESSION, ilUtil\sendInfo(), and ilUtil\stripSlashes().
Referenced by searchObject().
ilObjiLincCourseGUI::__setSubTabs | ( | $a_tab | ) |
Definition at line 1606 of file class.ilObjiLincCourseGUI.php.
Referenced by changeMemberObject(), executeCommand(), mailMembersObject(), membersGalleryObject(), membersObject(), and removeMemberObject().
ilObjiLincCourseGUI::__setTableGUIBasicData | ( | & | $tbl, |
& | $result_set, | ||
$a_from = "" |
|||
) |
standard implementation for tables use 'from' variable use different initial setting of table
Reimplemented from ilObjectGUI.
Definition at line 505 of file class.ilObjiLincCourseGUI.php.
References $_GET.
Referenced by __showSearchGroupTable(), __showSearchRoleTable(), and __showSearchUserTable().
ilObjiLincCourseGUI::__showSearchGroupTable | ( | $a_result_set, | |
$a_grp_ids = NULL |
|||
) |
Definition at line 440 of file class.ilObjiLincCourseGUI.php.
References $_GET, ilObjectGUI\$tpl, __initTableGUI(), __setTableGUIBasicData(), ilUtil\array_php2js(), and ilUtil\getImagePath().
Referenced by searchObject().
ilObjiLincCourseGUI::__showSearchRoleTable | ( | $a_result_set, | |
$a_role_ids = NULL |
|||
) |
Definition at line 382 of file class.ilObjiLincCourseGUI.php.
References $_GET, ilObjectGUI\$tpl, __initTableGUI(), __setTableGUIBasicData(), ilUtil\array_php2js(), and ilUtil\getImagePath().
Referenced by searchObject().
ilObjiLincCourseGUI::__showSearchUserTable | ( | $a_result_set, | |
$a_user_ids = NULL , |
|||
$a_cmd = "search" |
|||
) |
Definition at line 313 of file class.ilObjiLincCourseGUI.php.
References $_GET, ilObjectGUI\$tpl, __initTableGUI(), __setTableGUIBasicData(), ilUtil\array_php2js(), and ilUtil\getImagePath().
Referenced by listUsersGroupObject(), listUsersRoleObject(), and searchObject().
ilObjiLincCourseGUI::__unsetSessionVariables | ( | ) |
Definition at line 277 of file class.ilObjiLincCourseGUI.php.
References $_SESSION.
Referenced by searchUserFormObject().
|
static |
Definition at line 1781 of file class.ilObjiLincCourseGUI.php.
References $_GET, $ilErr, ilObjectGUI\$lng, and exit.
ilObjiLincCourseGUI::addStandardContainerSubTabs | ( | ) |
Definition at line 1772 of file class.ilObjiLincCourseGUI.php.
ilObjiLincCourseGUI::addUserObject | ( | ) |
displays confirmation formular with users that shall be assigned to group public
Definition at line 1100 of file class.ilObjiLincCourseGUI.php.
References $_POST, $_SESSION, ilUtil\redirect(), and ilUtil\sendInfo().
ilObjiLincCourseGUI::agendaObject | ( | ) |
Definition at line 910 of file class.ilObjiLincCourseGUI.php.
References ilUtil\redirect().
ilObjiLincCourseGUI::canceledObject | ( | ) |
canceledObject is called when an operation is canceled, method links back public
Definition at line 679 of file class.ilObjiLincCourseGUI.php.
References $_GET, ilObjectGUI\$return_location, and ilUtil\sendInfo().
ilObjiLincCourseGUI::cancelMemberObject | ( | ) |
canceledObject is called when operation is canceled, method links back public
Definition at line 695 of file class.ilObjiLincCourseGUI.php.
References ilObjectGUI\$return_location, ilUtil\redirect(), and ilUtil\sendInfo().
ilObjiLincCourseGUI::changeMemberObject | ( | ) |
displays form in which the member-status can be changed public
Definition at line 1296 of file class.ilObjiLincCourseGUI.php.
References $_GET, $_POST, ilObjectGUI\$data, __setSubTabs(), ilUtil\formRadioButton(), formSelect(), and ilObjectFactory\getInstanceByObjId().
ilObjiLincCourseGUI::confirmationObject | ( | $user_id = '' , |
|
$confirm = '' , |
|||
$cancel = '' , |
|||
$info = '' , |
|||
$status = '' , |
|||
$a_cmd_return_location = '' , |
|||
$invokeMethod = '' |
|||
) |
displays confirmation form public
Definition at line 1240 of file class.ilObjiLincCourseGUI.php.
ilObjiLincCourseGUI::confirmedRemoveMemberObject | ( | ) |
remove members from group TODO: set return location to parent object if user removes himself TODO: allow user to remove himself when he is not group admin public
Definition at line 1251 of file class.ilObjiLincCourseGUI.php.
References $_SESSION, ilUtil\redirect(), and ilUtil\sendInfo().
ilObjiLincCourseGUI::createObject | ( | ) |
create new object form
public
Reimplemented from ilObjectGUI.
Definition at line 43 of file class.ilObjiLincCourseGUI.php.
References $_GET, $_POST, and initSettingsForm().
ilObjiLincCourseGUI::editObject | ( | ) |
edit object
public
Reimplemented from ilObjectGUI.
Definition at line 1488 of file class.ilObjiLincCourseGUI.php.
References getObjectValues(), and initSettingsForm().
& ilObjiLincCourseGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilObjectGUI.
Definition at line 806 of file class.ilObjiLincCourseGUI.php.
References $_GET, $cmd, $ilErr, $ret, __setSubTabs(), ilObjectGUI\getCreationMode(), and ilObjectGUI\prepareOutput().
|
protected |
Definition at line 1500 of file class.ilObjiLincCourseGUI.php.
Referenced by editObject().
ilObjiLincCourseGUI::getTabs | ( | & | $tabs_gui | ) |
get tabs public
object | tabs gui object |
Reimplemented from ilObjectGUI.
Definition at line 191 of file class.ilObjiLincCourseGUI.php.
References $_SESSION.
ilObjiLincCourseGUI::ilObjiLincCourseGUI | ( | $a_data, | |
$a_id, | |||
$a_call_by_reference, | |||
$a_prepare_output = false |
|||
) |
Constructor public.
Definition at line 28 of file class.ilObjiLincCourseGUI.php.
References ilContainerGUI\ilContainerGUI().
|
protected |
Definition at line 1511 of file class.ilObjiLincCourseGUI.php.
References ilUtil\getTypeIconPath(), and ilFormPropertyGUI\setRequired().
Referenced by createObject(), editObject(), saveObject(), and updateObject().
ilObjiLincCourseGUI::isActiveAdministrationPanel | ( | ) |
Reimplemented from ilContainerGUI.
Definition at line 1601 of file class.ilObjiLincCourseGUI.php.
ilObjiLincCourseGUI::joinObject | ( | ) |
Definition at line 1581 of file class.ilObjiLincCourseGUI.php.
References $_GET, ilUtil\redirect(), and ilUtil\sendInfo().
ilObjiLincCourseGUI::listUsersGroupObject | ( | ) |
Definition at line 606 of file class.ilObjiLincCourseGUI.php.
References $_POST, $_SESSION, ilObjectGUI\$tree, $user, ilObjectGUI\__showButton(), __showSearchUserTable(), ilDatePresentation\formatDate(), ilUtil\formCheckbox(), ilObjectFactory\getInstanceByObjId(), ilObjectFactory\getInstanceByRefId(), IL_CAL_DATETIME, searchObject(), and ilUtil\sendInfo().
ilObjiLincCourseGUI::listUsersRoleObject | ( | ) |
Definition at line 548 of file class.ilObjiLincCourseGUI.php.
References $_POST, $_SESSION, $user, ilObjectGUI\__showButton(), __showSearchUserTable(), ilDatePresentation\formatDate(), ilUtil\formCheckbox(), ilObjectFactory\getInstanceByObjId(), IL_CAL_DATETIME, searchObject(), and ilUtil\sendInfo().
ilObjiLincCourseGUI::mailMembersObject | ( | ) |
Definition at line 1621 of file class.ilObjiLincCourseGUI.php.
References __setSubTabs(), ilMailFormCall\_getLinkTarget(), ilObjRole\_getTranslation(), ilMail\_usePearMail(), ilUtil\formCheckbox(), and ilUtil\getImagePath().
ilObjiLincCourseGUI::membersGalleryObject | ( | ) |
Builds a learnlink seminar members gallery as a layer of left-floating images.
Definition at line 1668 of file class.ilObjiLincCourseGUI.php.
References $file, __setSubTabs(), exit, ilObjectFactory\getInstanceByObjId(), and ilUtil\getStyleSheetLocation().
ilObjiLincCourseGUI::membersObject | ( | ) |
display group members
Definition at line 706 of file class.ilObjiLincCourseGUI.php.
References $ilBench, ilObjectGUI\$lng, __setSubTabs(), and ilMailFormCall\_getLinkTarget().
ilObjiLincCourseGUI::removeMemberObject | ( | ) |
displays confirmation formular with users that shall be removed from group public
Definition at line 1140 of file class.ilObjiLincCourseGUI.php.
References $_GET, $_POST, $_SESSION, ilObjectGUI\$data, __setSubTabs(), ilUtil\getImageTagByType(), ilObjectFactory\getInstanceByObjId(), and ilUtil\sendQuestion().
ilObjiLincCourseGUI::saveObject | ( | ) |
save object public
Reimplemented from ilObjectGUI.
Definition at line 128 of file class.ilObjiLincCourseGUI.php.
References $_GET, $_POST, $success, initSettingsForm(), ilObjectGUI\redirectToRefId(), ilUtil\sendInfo(), and ilUtil\tf2yn().
ilObjiLincCourseGUI::searchObject | ( | ) |
Definition at line 959 of file class.ilObjiLincCourseGUI.php.
References $_POST, $_SESSION, $result, ilObjectGUI\$tree, $user, __search(), ilObjectGUI\__showButton(), __showSearchGroupTable(), __showSearchRoleTable(), __showSearchUserTable(), ilDatePresentation\formatDate(), ilUtil\formCheckbox(), ilObjectFactory\getInstanceByObjId(), ilObjectFactory\getInstanceByRefId(), IL_CAL_DATETIME, searchUserFormObject(), ilUtil\sendInfo(), and ilUtil\stripSlashes().
Referenced by listUsersGroupObject(), and listUsersRoleObject().
ilObjiLincCourseGUI::searchUserFormObject | ( | ) |
Definition at line 923 of file class.ilObjiLincCourseGUI.php.
References $_POST, $_SESSION, __unsetSessionVariables(), and ilUtil\formRadioButton().
Referenced by searchObject().
ilObjiLincCourseGUI::showAdministrationPanel | ( | $tpl | ) |
Definition at line 1777 of file class.ilObjiLincCourseGUI.php.
ilObjiLincCourseGUI::updateMemberStatusObject | ( | ) |
displays form in which the member-status can be changed public
Definition at line 1385 of file class.ilObjiLincCourseGUI.php.
References $_POST, $user, ilUtil\redirect(), and ilUtil\sendInfo().
ilObjiLincCourseGUI::updateObject | ( | ) |
updates object entry in object_data
public
Reimplemented from ilObjectGUI.
Definition at line 58 of file class.ilObjiLincCourseGUI.php.
References $_GET, $_POST, $success, initSettingsForm(), ilUtil\prepareDBString(), ilUtil\sendInfo(), and ilUtil\tf2yn().
ilObjiLincCourseGUI::viewObject | ( | ) |
list childs of current object
public
Reimplemented from ilObjectGUI.
Definition at line 884 of file class.ilObjiLincCourseGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\getCreationMode(), and ilContainerGUI\renderObject().
|
private |
Definition at line 22 of file class.ilObjiLincCourseGUI.php.