ILIAS
Release_3_10_x_branch Revision 61812
|
Class ilObjChatGUI. More...
Public Member Functions | |
ilObjChatGUI ($a_data, $a_id, $a_call_by_reference=true, $a_prepare_output=true) | |
Constructor public. | |
& | executeCommand () |
execute command | |
cancelObject () | |
Cancel. | |
addAdminLocatorItems () | |
should be overwritten to add object specific items (repository items are preloaded) | |
setTargetScript ($a_script) | |
getTargetScript ($a_params) | |
setInModule ($in_module) | |
inModule () | |
saveObject () | |
save object | |
blockedUsersObject () | |
blockUserObject () | |
unblockUsersObject () | |
kickUserObject () | |
unkickUserObject () | |
viewObject () | |
list childs of current object | |
adminRoomsObject () | |
emptyRoomObject () | |
deleteRoomObject () | |
confirmedDeleteRoomObject () | |
addPrivateRoomObject () | |
addRoomObject () | |
renameRoomObject () | |
adminAddRoomObject () | |
recordingsObject () | |
askDeleteRecordingsObject () | |
deleteRecordingsObject () | |
exportRecordingObject () | |
startRecordingObject () | |
stopRecordingObject () | |
showFramesObject () | |
Show top frameset. | |
showUserFrameObject () | |
Show user frame. | |
showTopFrameObject () | |
showInputFrameObject () | |
showRightFrameObject () | |
cancel () | |
cancelAddressOrWhisperModeObject () | |
inputObject () | |
inviteObject () | |
invitePDObject () | |
dropObject () | |
closeFrame () | |
exportObject () | |
__showOnlineUsers () | |
__showActiveUsers () | |
__showAdminAddRoomSelect () | |
__showAdminRoomSelect () | |
__showRooms () | |
__loadStylesheet ($expires=false) | |
__getColorSelect () | |
__getFontType () | |
__getFontFace () | |
__formatMessage () | |
__exportRooms () | |
getTabs (&$tabs_gui) | |
get tabs public | |
__prepareOutput () | |
__setHeader () | |
__setLocator () | |
_goto ($a_target) | |
showUserProfileObject () | |
addLocatorItems () | |
should be overwritten to add object specific items (repository items are preloaded) | |
infoScreenObject () | |
this one is called from the info button in the repository not very nice to set cmdClass/Cmd manually, if everything works through ilCtrl in the future this may be changed | |
infoScreen () | |
show information screen | |
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 | |
assignObject () | |
prepareOutput () | |
prepare output | |
setTitleAndDescription () | |
called by prepare output | |
showUpperIcon () | |
showMountWebfolderIcon () | |
setTabs () | |
set admin tabs public | |
setAdminTabs () | |
set admin tabs public | |
getAdminTabs (&$tabs_gui) | |
administration tabs show only permissions and trash folder | |
getHTML () | |
setActions ($a_actions="") | |
set possible actions for objects in list. | |
setSubObjects ($a_sub_objects="") | |
set possible subobjects for this object. | |
setLocator () | |
set Locator | |
omitLocator ($a_omit=true) | |
undeleteObject () | |
get object back from trash | |
insertSavedNodes ($a_source_id, $a_dest_id, $a_tree_id, &$a_affected_ids) | |
recursive method to insert all saved nodes of the clipboard (maybe this function could be moved to a rbac class ?) | |
confirmedDeleteObject () | |
confirmed deletion if object -> objects are moved to trash | |
cancelDeleteObject () | |
cancel deletion of object | |
removeFromSystemObject () | |
remove objects from trash bin and all entries therefore every object needs a specific deleteObject() method | |
removeDeletedNodes ($a_node_id, $a_checked, $a_delete_objects, &$a_affected_ids) | |
remove already deleted objects within the objects in trash recursive function | |
createObject () | |
create new object form | |
cancelObject ($in_rep=false) | |
cancel action and go back to previous page public | |
importObject () | |
import new object form | |
editObject () | |
edit object | |
displayEditForm ($fields) | |
display edit form (usually called by editObject) | |
updateObject () | |
updates object entry in object_data | |
afterUpdate () | |
permObject () | |
show permissions of current node | |
getFormAction ($a_cmd, $a_formaction="") | |
get form action for command (command is method name without "Object", e.g. | |
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 | |
permSaveObject () | |
save permissions | |
isVisible ($a_ref_id, $a_type) | |
displayList () | |
display object list | |
deleteObject ($a_error=false) | |
display deletion confirmation screen only for referenced objects. | |
trashObject () | |
show trash content of object | |
addRoleObject () | |
adds a local role This method is only called when choose the option 'you may add local roles'. | |
showActions ($with_subobjects=false) | |
show possible action (form buttons) | |
getActions () | |
Get Actions. | |
showPossibleSubObjects () | |
show possible subobjects (pulldown menu) | |
getTemplateFile ($a_cmd, $a_type="") | |
get a template blockfile format: tpl. | |
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 () | |
& | __initTableGUI () |
__setTableGUIBasicData (&$tbl, &$result_set, $a_from="") | |
standard implementation for tables use 'from' variable use different initial setting of table | |
__showClipboardTable ($a_result_set, $a_from="") | |
infoObject () | |
__buildRoleFilterSelect () | |
__filterRoles ($a_roles, $a_filter) | |
ownerObject () | |
changeOwnerObject () | |
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. | |
fillCloneSearchTemplate ($a_tpl_varname, $a_type) | |
Add an object search in case the number of existing objects is too big to offer a selection list. | |
cloneAllObject () | |
Clone single (not container object) Method is overwritten in ilContainerGUI. | |
copyWizardHasOptions ($a_mode) | |
Check if there is any modules specific option. | |
getCenterColumnHTML () | |
Get center column. | |
getRightColumnHTML () | |
Display right column. | |
setColumnSettings ($column_gui) | |
May be overwritten in subclasses. | |
checkPermission ($a_perm, $a_cmd="") |
Data Fields | |
$target_script = "adm_object.php" | |
$in_module = false | |
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 |
Additional Inherited Members | |
Protected Member Functions inherited from ilObjectGUI | |
searchCloneSourceObject () | |
Search clone source by title. | |
buildCloneSelect ($existing_objs) | |
Build a select box for clonable objects (permission write) |
Class ilObjChatGUI.
ilObjChatGUI: ilPermissionGUI, ilPublicUserProfileGUI ilObjChatGUI: ilInfoScreenGUI
Definition at line 40 of file class.ilObjChatGUI.php.
ilObjChatGUI::__exportRooms | ( | ) |
Definition at line 1975 of file class.ilObjChatGUI.php.
References ilUtil\deliverFile(), and exportObject().
Referenced by adminRoomsObject().
ilObjChatGUI::__formatMessage | ( | ) |
Definition at line 1882 of file class.ilObjChatGUI.php.
References $_GET, $_SESSION, ilObjectGUI\$tpl, and ilUtil\stripSlashes().
Referenced by emptyRoomObject(), and inputObject().
ilObjChatGUI::__getColorSelect | ( | ) |
Definition at line 1816 of file class.ilObjChatGUI.php.
References formSelect().
Referenced by showInputFrameObject().
ilObjChatGUI::__getFontFace | ( | ) |
Definition at line 1855 of file class.ilObjChatGUI.php.
Referenced by showInputFrameObject().
ilObjChatGUI::__getFontType | ( | ) |
Definition at line 1837 of file class.ilObjChatGUI.php.
Referenced by showInputFrameObject().
ilObjChatGUI::__loadStylesheet | ( | $expires = false | ) |
Definition at line 1803 of file class.ilObjChatGUI.php.
References ilUtil\getStyleSheetLocation().
Referenced by closeFrame(), showInputFrameObject(), showRightFrameObject(), showTopFrameObject(), and showUserFrameObject().
ilObjChatGUI::__prepareOutput | ( | ) |
Definition at line 2076 of file class.ilObjChatGUI.php.
References __setHeader(), __setLocator(), ilUtil\infoPanel(), and ilUtil\sendInfo().
Referenced by executeCommand().
ilObjChatGUI::__setHeader | ( | ) |
Definition at line 2098 of file class.ilObjChatGUI.php.
References ilUtil\getImagePath(), and getTabs().
Referenced by __prepareOutput().
ilObjChatGUI::__setLocator | ( | ) |
Definition at line 2115 of file class.ilObjChatGUI.php.
References ilObjectGUI\$tree.
Referenced by __prepareOutput().
ilObjChatGUI::__showActiveUsers | ( | ) |
Definition at line 1504 of file class.ilObjChatGUI.php.
References $_GET, $_SESSION, $ilCtrl, $user, and ilUtil\getImagePath().
Referenced by showUserFrameObject().
ilObjChatGUI::__showAdminAddRoomSelect | ( | ) |
Definition at line 1632 of file class.ilObjChatGUI.php.
References formSelect().
Referenced by viewObject().
ilObjChatGUI::__showAdminRoomSelect | ( | ) |
Definition at line 1639 of file class.ilObjChatGUI.php.
References $_SESSION, and formSelect().
Referenced by viewObject().
ilObjChatGUI::__showOnlineUsers | ( | ) |
Definition at line 1385 of file class.ilObjChatGUI.php.
References $_GET, $_SESSION, $cmd, $ilCtrl, $img, $user, ilChatBlockedUsers\_isBlocked(), and ilUtil\getImagePath().
Referenced by showUserFrameObject().
ilObjChatGUI::__showRooms | ( | ) |
Definition at line 1663 of file class.ilObjChatGUI.php.
References $_GET, $_SESSION, $ilCtrl, ilChatBlockedUsers\_isBlocked(), and ilObjectFactory\getInstanceByObjId().
Referenced by showUserFrameObject().
ilObjChatGUI::_goto | ( | $a_target | ) |
Definition at line 2155 of file class.ilObjChatGUI.php.
References $_GET, $ilErr, ilObjectGUI\$lng, ilObject\_lookupObjId(), ilObject\_lookupTitle(), exit, and ilUtil\sendInfo().
ilObjChatGUI::addAdminLocatorItems | ( | ) |
should be overwritten to add object specific items (repository items are preloaded)
Reimplemented from ilObjectGUI.
Definition at line 137 of file class.ilObjChatGUI.php.
References $_GET, ilObjectGUI\$tree, and ilFrameTargetInfo\_getFrame().
ilObjChatGUI::addLocatorItems | ( | ) |
should be overwritten to add object specific items (repository items are preloaded)
Reimplemented from ilObjectGUI.
Definition at line 2196 of file class.ilObjChatGUI.php.
References $_GET.
ilObjChatGUI::addPrivateRoomObject | ( | ) |
Definition at line 679 of file class.ilObjChatGUI.php.
References $_SESSION, exit, ilUtil\sendInfo(), ilChatRoom\setTitle(), showFramesObject(), and ilUtil\stripSlashes().
ilObjChatGUI::addRoomObject | ( | ) |
Definition at line 707 of file class.ilObjChatGUI.php.
References $_SESSION, ilUtil\sendInfo(), ilChatRoom\setTitle(), ilUtil\stripSlashes(), and viewObject().
ilObjChatGUI::adminAddRoomObject | ( | ) |
Definition at line 759 of file class.ilObjChatGUI.php.
ilObjChatGUI::adminRoomsObject | ( | ) |
Definition at line 513 of file class.ilObjChatGUI.php.
References $_SESSION, __exportRooms(), ilUtil\sendInfo(), ilChatRoom\setRoomId(), and viewObject().
ilObjChatGUI::askDeleteRecordingsObject | ( | ) |
Definition at line 836 of file class.ilObjChatGUI.php.
References $_SESSION, ilUtil\getImagePath(), recordingsObject(), ilUtil\sendInfo(), and ilUtil\switchColor().
ilObjChatGUI::blockedUsersObject | ( | ) |
Definition at line 207 of file class.ilObjChatGUI.php.
References ilUtil\formCheckbox(), and ilUtil\getImagePath().
Referenced by blockUserObject(), and unblockUsersObject().
ilObjChatGUI::blockUserObject | ( | ) |
Definition at line 255 of file class.ilObjChatGUI.php.
References blockedUsersObject(), ilObjUser\getUserIdByLogin(), and ilUtil\sendInfo().
ilObjChatGUI::cancel | ( | ) |
Definition at line 1231 of file class.ilObjChatGUI.php.
References $_GET, and showInputFrameObject().
ilObjChatGUI::cancelAddressOrWhisperModeObject | ( | ) |
Definition at line 1239 of file class.ilObjChatGUI.php.
References $_GET, and showInputFrameObject().
ilObjChatGUI::cancelObject | ( | ) |
Cancel.
public
Definition at line 124 of file class.ilObjChatGUI.php.
References $_SESSION, and ilUtil\sendInfo().
ilObjChatGUI::closeFrame | ( | ) |
Definition at line 1358 of file class.ilObjChatGUI.php.
References __loadStylesheet(), and ilUtil\sendInfo().
ilObjChatGUI::confirmedDeleteRoomObject | ( | ) |
Definition at line 655 of file class.ilObjChatGUI.php.
References $_SESSION, ilUtil\sendInfo(), and viewObject().
ilObjChatGUI::deleteRecordingsObject | ( | ) |
Definition at line 895 of file class.ilObjChatGUI.php.
References $_SESSION, recordingsObject(), and ilUtil\sendInfo().
ilObjChatGUI::deleteRoomObject | ( | ) |
Definition at line 623 of file class.ilObjChatGUI.php.
References $_GET, $_SESSION, and ilUtil\sendInfo().
ilObjChatGUI::dropObject | ( | ) |
Definition at line 1344 of file class.ilObjChatGUI.php.
References $_GET, ilUtil\sendInfo(), and showFramesObject().
ilObjChatGUI::emptyRoomObject | ( | ) |
Definition at line 605 of file class.ilObjChatGUI.php.
References $_GET, __formatMessage(), and showFramesObject().
& ilObjChatGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilObjectGUI.
Definition at line 66 of file class.ilObjChatGUI.php.
References $_GET, $cmd, $ret, __prepareOutput(), infoScreen(), and ilObjectGUI\prepareOutput().
ilObjChatGUI::exportObject | ( | ) |
Definition at line 1366 of file class.ilObjChatGUI.php.
References ilUtil\deliverData(), and exit.
Referenced by __exportRooms().
ilObjChatGUI::exportRecordingObject | ( | ) |
Definition at line 925 of file class.ilObjChatGUI.php.
References $_GET, ilUtil\deliverData(), exit, recordingsObject(), and ilUtil\sendInfo().
ilObjChatGUI::getTabs | ( | & | $tabs_gui | ) |
get tabs public
object | tabs gui object |
Reimplemented from ilObjectGUI.
Definition at line 2015 of file class.ilObjChatGUI.php.
References $_GET.
Referenced by __setHeader().
ilObjChatGUI::getTargetScript | ( | $a_params | ) |
Definition at line 175 of file class.ilObjChatGUI.php.
ilObjChatGUI::ilObjChatGUI | ( | $a_data, | |
$a_id, | |||
$a_call_by_reference = true , |
|||
$a_prepare_output = true |
|||
) |
Constructor public.
Definition at line 49 of file class.ilObjChatGUI.php.
References $_SESSION, $ilCtrl, and ilObjectGUI\ilObjectGUI().
ilObjChatGUI::infoScreen | ( | ) |
show information screen
Definition at line 2221 of file class.ilObjChatGUI.php.
References $_GET.
Referenced by executeCommand(), and infoScreenObject().
ilObjChatGUI::infoScreenObject | ( | ) |
this one is called from the info button in the repository not very nice to set cmdClass/Cmd manually, if everything works through ilCtrl in the future this may be changed
Definition at line 2211 of file class.ilObjChatGUI.php.
References infoScreen().
ilObjChatGUI::inModule | ( | ) |
Definition at line 183 of file class.ilObjChatGUI.php.
References $in_module.
ilObjChatGUI::inputObject | ( | ) |
Definition at line 1248 of file class.ilObjChatGUI.php.
References $_GET, $_SESSION, __formatMessage(), ilUtil\sendInfo(), and showInputFrameObject().
ilObjChatGUI::inviteObject | ( | ) |
Definition at line 1287 of file class.ilObjChatGUI.php.
References $_GET, ilUtil\sendInfo(), and showFramesObject().
ilObjChatGUI::invitePDObject | ( | ) |
Definition at line 1306 of file class.ilObjChatGUI.php.
References $_GET, ilObjUser\_lookupLogin(), ilUtil\redirect(), ilUtil\sendInfo(), and showFramesObject().
ilObjChatGUI::kickUserObject | ( | ) |
Definition at line 321 of file class.ilObjChatGUI.php.
References $_GET, and showFramesObject().
ilObjChatGUI::recordingsObject | ( | ) |
Definition at line 779 of file class.ilObjChatGUI.php.
References ilObjectGUI\$data, ilUtil\formCheckbox(), ilUtil\getImagePath(), ilUtil\sendInfo(), and ilUtil\switchColor().
Referenced by askDeleteRecordingsObject(), deleteRecordingsObject(), and exportRecordingObject().
ilObjChatGUI::renameRoomObject | ( | ) |
Definition at line 732 of file class.ilObjChatGUI.php.
References $_SESSION, ilUtil\sendInfo(), ilChatRoom\setRoomId(), ilUtil\stripSlashes(), and viewObject().
ilObjChatGUI::saveObject | ( | ) |
save object
public
Reimplemented from ilObjectGUI.
Definition at line 188 of file class.ilObjChatGUI.php.
References ilObjectGUI\getReturnLocation(), and ilUtil\redirect().
ilObjChatGUI::setInModule | ( | $in_module | ) |
Definition at line 179 of file class.ilObjChatGUI.php.
References $in_module.
ilObjChatGUI::setTargetScript | ( | $a_script | ) |
Definition at line 171 of file class.ilObjChatGUI.php.
ilObjChatGUI::showFramesObject | ( | ) |
Show top frameset.
Definition at line 1006 of file class.ilObjChatGUI.php.
References $_GET, $ilCtrl, exit, and ilUtil\getStyleSheetLocation().
Referenced by addPrivateRoomObject(), dropObject(), emptyRoomObject(), inviteObject(), invitePDObject(), kickUserObject(), startRecordingObject(), stopRecordingObject(), and unkickUserObject().
ilObjChatGUI::showInputFrameObject | ( | ) |
Definition at line 1107 of file class.ilObjChatGUI.php.
References $_GET, $ilCtrl, __getColorSelect(), __getFontFace(), __getFontType(), __loadStylesheet(), exit, and ilUtil\sendInfo().
Referenced by cancel(), cancelAddressOrWhisperModeObject(), and inputObject().
ilObjChatGUI::showRightFrameObject | ( | ) |
Definition at line 1222 of file class.ilObjChatGUI.php.
References __loadStylesheet(), and exit.
ilObjChatGUI::showTopFrameObject | ( | ) |
Definition at line 1097 of file class.ilObjChatGUI.php.
References __loadStylesheet(), and exit.
ilObjChatGUI::showUserFrameObject | ( | ) |
Show user frame.
Definition at line 1046 of file class.ilObjChatGUI.php.
References $_SESSION, $ilCtrl, __loadStylesheet(), __showActiveUsers(), __showOnlineUsers(), __showRooms(), and exit.
ilObjChatGUI::showUserProfileObject | ( | ) |
Definition at line 2181 of file class.ilObjChatGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$tpl, and exit.
ilObjChatGUI::startRecordingObject | ( | ) |
Definition at line 958 of file class.ilObjChatGUI.php.
References $_GET, ilUtil\sendInfo(), and showFramesObject().
ilObjChatGUI::stopRecordingObject | ( | ) |
Definition at line 981 of file class.ilObjChatGUI.php.
References $_GET, ilUtil\sendInfo(), and showFramesObject().
ilObjChatGUI::unblockUsersObject | ( | ) |
Definition at line 291 of file class.ilObjChatGUI.php.
References blockedUsersObject(), and ilUtil\sendInfo().
ilObjChatGUI::unkickUserObject | ( | ) |
Definition at line 345 of file class.ilObjChatGUI.php.
References $_GET, and showFramesObject().
ilObjChatGUI::viewObject | ( | ) |
list childs of current object
public
Reimplemented from ilObjectGUI.
Definition at line 363 of file class.ilObjChatGUI.php.
References $_GET, $_SESSION, __showAdminAddRoomSelect(), __showAdminRoomSelect(), ilChatRoom\_getCountActiveUsers(), ilChatBlockedUsers\_isBlocked(), ilUtil\formCheckbox(), ilUtil\getImagePath(), and ilUtil\sendInfo().
Referenced by addRoomObject(), adminRoomsObject(), confirmedDeleteRoomObject(), and renameRoomObject().
ilObjChatGUI::$in_module = false |
Definition at line 43 of file class.ilObjChatGUI.php.
Referenced by inModule(), and setInModule().
ilObjChatGUI::$target_script = "adm_object.php" |
Definition at line 42 of file class.ilObjChatGUI.php.