ILIAS
Release_4_0_x_branch Revision 61816
|
BlockGUI class for Personal Desktop Users Online block. More...
Public Member Functions | |
ilUsersOnlineBlockGUI () | |
Constructor. | |
& | executeCommand () |
execute command | |
getHTML () | |
Get HTML. | |
getUsers () | |
Get online users. | |
fillDataSection () | |
Fill data section. | |
getListRowData () | |
Get list data. | |
fillRow ($a_set) | |
get flat bookmark list for personal desktop | |
getOverview () | |
Get overview. | |
__showActiveChatsOfUser ($a_usr_id) | |
__showChatInvitation ($a_usr_id) | |
showUserProfile () | |
show profile of other user | |
Public Member Functions inherited from ilBlockGUI | |
ilBlockGUI () | |
Constructor. | |
addHeaderLink ($a_href, $a_text, $status=true) | |
getHeaderLinks () | |
setData ($a_data) | |
Set Data. | |
getData () | |
Get Data. | |
setBigMode ($a_bigmode) | |
Set Big Mode. | |
getBigMode () | |
Get Big Mode. | |
setBlockId ($a_block_id=0) | |
Set Block Id. | |
getBlockId () | |
Get Block Id. | |
setAvailableDetailLevels ($a_max, $a_min=0) | |
Set Available Detail Levels. | |
setCurrentDetailLevel ($a_currentdetaillevel) | |
Set Current Detail Level. | |
setGuiObject (&$a_gui_object) | |
Set GuiObject. | |
getGuiObject () | |
Get GuiObject. | |
getCurrentDetailLevel () | |
Get Current Detail Level. | |
setTitle ($a_title) | |
Set Title. | |
getTitle () | |
Get Title. | |
setImage ($a_image) | |
Set Image. | |
getImage () | |
Get Image. | |
setOffset ($a_offset) | |
Set Offset. | |
getOffset () | |
Get Offset. | |
correctOffset () | |
setLimit ($a_limit) | |
Set Limit. | |
getLimit () | |
Get Limit. | |
setEnableEdit ($a_enableedit) | |
Set EnableEdit. | |
getEnableEdit () | |
Get EnableEdit. | |
setRepositoryMode ($a_repositorymode) | |
Set RepositoryMode. | |
getRepositoryMode () | |
Get RepositoryMode. | |
setFooterInfo ($a_footerinfo, $a_hide_and_icon=false) | |
Set Footer Info. | |
getFooterInfo ($a_hide_and_icon=false) | |
Get Footer Info. | |
setSubtitle ($a_subtitle) | |
Set Subtitle. | |
getSubtitle () | |
Get Subtitle. | |
setRefId ($a_refid) | |
Set Ref Id (only used if isRepositoryObject() is true). | |
getRefId () | |
Get Ref Id (only used if isRepositoryObject() is true). | |
setAdminCommands ($a_admincommands) | |
Set Administration Commmands. | |
getAdminCommands () | |
Get Administration Commmands. | |
setColSpan ($a_colspan) | |
Set Columns Span. | |
getColSpan () | |
Get Columns Span. | |
setEnableDetailRow ($a_enabledetailrow) | |
Set EnableDetailRow. | |
getEnableDetailRow () | |
Get EnableDetailRow. | |
setEnableNumInfo ($a_enablenuminfo) | |
Set Enable Item Number Info. | |
getEnableNumInfo () | |
Get Enable Item Number Info. | |
setProperties ($a_properties) | |
This function is supposed to be used for block type specific properties, that should be inherited through ilColumnGUI->setBlockProperties. | |
getProperty ($a_property) | |
setProperty ($a_property, $a_value) | |
setRowTemplate ($a_rowtemplatename, $a_rowtemplatedir="") | |
Set Row Template Name. | |
getNavParameter () | |
getDetailParameter () | |
getConfigParameter () | |
getMoveParameter () | |
getRowTemplateName () | |
Get Row Template Name. | |
getRowTemplateDir () | |
Get Row Template Directory. | |
addBlockCommand ($a_href, $a_text, $a_target="", $a_img="", $a_right_aligned=false) | |
Add Block Command. | |
getBlockCommands () | |
Get Block commands. | |
addHeaderCommand ($a_href, $a_text, $a_as_close=false) | |
Add Header Block Command. | |
getHeaderCommands () | |
Get Header Block commands. | |
addFooterLink ($a_text, $a_href="", $a_onclick="", $a_block_id="", $a_top=false, $a_omit_separator=false) | |
Add a footer text/link. | |
getFooterLinks () | |
Get footer links. | |
clearFooterLinks () | |
Clear footer links. | |
handleDetailLevel () | |
Handle read/write current detail level. | |
setConfigMode ($a_configmode) | |
Handle config status. | |
getConfigMode () | |
Get Config Mode (move blocks). | |
fillHeaderCommands () | |
Fill header commands block. | |
fillHeaderTitleBlock () | |
Fill header title block (title and. | |
setDataSection ($a_content) | |
Call this from overwritten fillDataSection(), if standard row based data is not used. | |
fillFooter () | |
fillPreviousNext () | |
Fill previous/next row. | |
setPreviousNextLinks () | |
Get previous/next linkbar. | |
fillFooterLinks ($a_top=false, $a_numinfo="") | |
Fill footer links. | |
fillDetailRow () | |
Fill Detail Setting Row. | |
fillMoveRow () | |
Fill row for Moving. | |
getAllowMove ($a_direction) | |
setAllowMove ($a_direction, $a_allow=true) | |
fillMoveLink ($a_value, $a_img, $a_txt) |
Static Public Member Functions | |
static | getBlockType () |
Get block type. | |
static | isRepositoryObject () |
Is block used in repository object? | |
static | getScreenMode () |
Get Screen Mode for current command. |
Static Public Attributes | |
static | $block_type = "pdusers" |
Additional Inherited Members | |
Protected Member Functions inherited from ilBlockGUI | |
fillRowColor ($a_placeholder="CSS_ROW") | |
Protected Attributes inherited from ilBlockGUI | |
$data = array() | |
$colspan = 1 | |
$enablenuminfo = true | |
$detail_min = 0 | |
$detail_max = 0 | |
$bigmode = false | |
$footer_links = array() | |
$block_id = 0 | |
$header_commands = array() | |
$allow_moving = true | |
$move = array("left" => false, "right" => false, "up" => false, "down" => false) | |
$enabledetailrow = true | |
$header_links = array() |
BlockGUI class for Personal Desktop Users Online block.
ilUsersOnlineBlockGUI: ilColumnGUI ilUsersOnlineBlockGUI: ilPublicUserProfileGUI
Definition at line 15 of file class.ilUsersOnlineBlockGUI.php.
ilUsersOnlineBlockGUI::__showActiveChatsOfUser | ( | $a_usr_id | ) |
Definition at line 452 of file class.ilUsersOnlineBlockGUI.php.
References $lng, $ref_id, ilObject\_getAllReferences(), ilChatRoom\_isActive(), and ilObject\_lookupTitle().
Referenced by fillRow().
ilUsersOnlineBlockGUI::__showChatInvitation | ( | $a_usr_id | ) |
Definition at line 476 of file class.ilUsersOnlineBlockGUI.php.
References $lng, and ilObjChat\_getPublicChatRefId().
Referenced by fillRow().
& ilUsersOnlineBlockGUI::executeCommand | ( | ) |
execute command
Definition at line 76 of file class.ilUsersOnlineBlockGUI.php.
References $_GET, $cmd, and $ilCtrl.
ilUsersOnlineBlockGUI::fillDataSection | ( | ) |
Fill data section.
Reimplemented from ilBlockGUI.
Definition at line 166 of file class.ilUsersOnlineBlockGUI.php.
References $ilCtrl, $ilSetting, ilBlockGUI\getCurrentDetailLevel(), getListRowData(), getOverview(), ilBlockGUI\setColSpan(), ilBlockGUI\setDataSection(), ilBlockGUI\setEnableNumInfo(), and ilBlockGUI\setRowTemplate().
ilUsersOnlineBlockGUI::fillRow | ( | $a_set | ) |
get flat bookmark list for personal desktop
Reimplemented from ilBlockGUI.
Definition at line 228 of file class.ilUsersOnlineBlockGUI.php.
References $ilCtrl, $ilSetting, $lng, __showActiveChatsOfUser(), __showChatInvitation(), ilObjUser\_getPersonalPicturePath(), ilObjChat\_getPublicChatRefId(), ilChatServerConfig\_isActive(), ilObjUser\_lookupIm(), ilObjUser\_lookupPref(), ilBlockGUI\getCurrentDetailLevel(), and ilUtil\getImagePath().
|
static |
Get block type.
Reimplemented from ilBlockGUI.
Definition at line 39 of file class.ilUsersOnlineBlockGUI.php.
References $block_type.
ilUsersOnlineBlockGUI::getHTML | ( | ) |
Get HTML.
Reimplemented from ilBlockGUI.
Definition at line 97 of file class.ilUsersOnlineBlockGUI.php.
References ilBlockGUI\getCurrentDetailLevel(), and getUsers().
ilUsersOnlineBlockGUI::getListRowData | ( | ) |
Get list data.
Definition at line 195 of file class.ilUsersOnlineBlockGUI.php.
References $_SESSION, ilBlockGUI\$data, $ilCtrl, $ilDB, $lng, $user, ilMail\getMailObjectReferenceId(), getOverview(), ilBlockGUI\setCurrentDetailLevel(), ilBlockGUI\setData(), ilBlockGUI\setDataSection(), and ilBlockGUI\setEnableNumInfo().
Referenced by fillDataSection().
ilUsersOnlineBlockGUI::getOverview | ( | ) |
Get overview.
Definition at line 407 of file class.ilUsersOnlineBlockGUI.php.
References $ilCtrl, $lng, and elseif().
Referenced by fillDataSection(), and getListRowData().
|
static |
Get Screen Mode for current command.
Reimplemented from ilBlockGUI.
Definition at line 57 of file class.ilUsersOnlineBlockGUI.php.
References $ilCtrl, IL_SCREEN_FULL, and IL_SCREEN_SIDE.
ilUsersOnlineBlockGUI::getUsers | ( | ) |
Get online users.
Definition at line 123 of file class.ilUsersOnlineBlockGUI.php.
References $user, ilObjUser\_getUsersOnline(), ilObjUser\_lookupPref(), and ilUtil\getAssociatedUsersOnline().
Referenced by getHTML().
ilUsersOnlineBlockGUI::ilUsersOnlineBlockGUI | ( | ) |
Constructor.
Definition at line 22 of file class.ilUsersOnlineBlockGUI.php.
References $ilCtrl, $lng, ilUtil\getImagePath(), ilBlockGUI\ilBlockGUI(), ilBlockGUI\setAvailableDetailLevels(), ilBlockGUI\setImage(), ilBlockGUI\setLimit(), and ilBlockGUI\setTitle().
|
static |
Is block used in repository object?
Reimplemented from ilBlockGUI.
Definition at line 49 of file class.ilUsersOnlineBlockGUI.php.
ilUsersOnlineBlockGUI::showUserProfile | ( | ) |
show profile of other user
Definition at line 505 of file class.ilUsersOnlineBlockGUI.php.
References $_GET, $ilCtrl, and $lng.
|
static |
Definition at line 17 of file class.ilUsersOnlineBlockGUI.php.
Referenced by getBlockType().