ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
Class ilObjectListGUI. More...
Public Member Functions | |
ilObjectListGUI () | |
constructor More... | |
setContainerObject ($container_obj) | |
set the container object (e.g categorygui) Used for link, delete ... More... | |
getContainerObject () | |
get container object More... | |
init () | |
initialisation More... | |
enableProperties ($a_status) | |
En/disable properties. More... | |
getPropertiesStatus () | |
enablePreconditions ($a_status) | |
En/disable preconditions. More... | |
getNoticePropertiesStatus () | |
enableNoticeProperties ($a_status) | |
En/disable notices. More... | |
getPreconditionsStatus () | |
enableDescription ($a_status) | |
En/disable description. More... | |
getDescriptionStatus () | |
getSearchFragmentStatus () | |
Show hide search result fragments. More... | |
enableSearchFragments ($a_status) | |
En/disable description. More... | |
enableLinkedPath ($a_status) | |
Enable linked path. More... | |
enabledRelevance () | |
enabled relevance More... | |
enableRelevance ($a_status) | |
enable relevance More... | |
setRelevance ($a_rel) | |
set relevance More... | |
getRelevance () | |
get relevance More... | |
enableIcon ($a_status) | |
En/Dis-able icons. More... | |
getIconStatus () | |
Are icons enabled? More... | |
enableCheckbox ($a_status) | |
En/Dis-able checkboxes. More... | |
getCheckboxStatus () | |
Are checkboxes enabled? More... | |
enableExpand ($a_status) | |
En/Dis-able expand/collapse link. More... | |
getExpandStatus () | |
Is expand/collapse enabled. More... | |
setExpanded ($a_status) | |
isExpanded () | |
setPositionInputField ($a_field_index, $a_position_value) | |
Set position input field. More... | |
enableDelete ($a_status) | |
En/disable delete. More... | |
getDeleteStatus () | |
enableCut ($a_status) | |
En/disable cut. More... | |
getCutStatus () | |
enableCopy ($a_status) | |
En/disable copy. More... | |
getCopyStatus () | |
enableSubscribe ($a_status) | |
En/disable subscribe. More... | |
getSubscribeStatus () | |
enablePayment ($a_status) | |
En/disable payment. More... | |
getPaymentStatus () | |
enableLink ($a_status) | |
En/disable link. More... | |
getLinkStatus () | |
enablePath ($a_path, $a_start_node=null) | |
En/disable path. More... | |
getPathStatus () | |
enableCommands ($a_status, $a_std_only=false) | |
En/disable commands. More... | |
getCommandsStatus () | |
enableInfoScreen ($a_info_screen) | |
En/disable path. More... | |
addSubItemHTML ($a_html) | |
Add HTML for subitem (used for sessions) More... | |
getInfoScreenStatus () | |
enableProgressInfo ($a_status) | |
enable progress info More... | |
getProgressInfoStatus () | |
get progress info status More... | |
enableSubstitutions ($a_status) | |
Enable substitutions. More... | |
getSubstitutionStatus () | |
Get substitution status. More... | |
enableItemDetailLinks ($a_status) | |
enable item detail links E.g Direct links to chapters or pages More... | |
getItemDetailLinkStatus () | |
get item detail link status More... | |
setItemDetailLinks ($a_detail_links, $a_intro_txt='') | |
set items detail links More... | |
insertItemDetailLinks () | |
insert item detail links More... | |
setTitle ($a_title) | |
getTitle () | |
getTitle overwritten in class.ilObjLinkResourceList.php More... | |
setDescription ($a_description) | |
getDescription () | |
getDescription overwritten in class.ilObjLinkResourceList.php More... | |
setSearchFragment ($a_text) | |
set search fragment More... | |
getSearchFragment () | |
get search fragment More... | |
setSeparateCommands ($a_val) | |
Set separate commands. More... | |
getSeparateCommands () | |
Get separate commands. More... | |
getCommandId () | |
get command id Normally the ref id. More... | |
setAdditionalInformation ($a_val) | |
Set additional information. More... | |
getAdditionalInformation () | |
Get additional information. More... | |
setDetailsLevel ($a_level) | |
Details level Currently used in Search which shows only limited properties of forums Currently used for Sessions (switch between minimal and extended view for each session) More... | |
getDetailsLevel () | |
Get current details level. More... | |
enableRepositoryTransfer ($a_value) | |
Enable copy/move to repository (from personal workspace) More... | |
restrictToGoto ($a_value) | |
Restrict all actions/links to goto. More... | |
checkCommandAccess ($a_permission, $a_cmd, $a_ref_id, $a_type, $a_obj_id="") | |
initItem ($a_ref_id, $a_obj_id, $a_title="", $a_description="", $a_context=self::CONTEXT_REPOSITORY) | |
inititialize new item (is called by getItemHTML()) More... | |
setConditionTarget ($a_ref_id, $a_obj_id, $a_target_type) | |
resetConditionTarget () | |
disableTitleLink ($a_status) | |
setDefaultCommandParameters (array $a_params) | |
createDefaultCommand ($command) | |
Get default command link Overwritten for e.g categories,courses => they return a goto link If search engine visibility is enabled these object type return a goto_CLIENT_ID_cat_99.html link. More... | |
getCommandLink ($a_cmd) | |
Get command link url. More... | |
getCommandFrame ($a_cmd) | |
Get command target frame. More... | |
getCommandImage ($a_cmd) | |
Get command icon image. More... | |
getProperties ($a_item='') | |
Get item properties. More... | |
addCustomProperty ($a_property="", $a_value="", $a_alert=false, $a_newline=false) | |
add custom property More... | |
getCustomProperties ($a_prop) | |
get custom properties More... | |
getAlertProperties () | |
get all alert properties More... | |
getNoticeProperties () | |
get notice properties More... | |
addCustomCommand ($a_link, $a_lang_var, $a_frame="", $onclick="") | |
add a custom command More... | |
forceVisibleOnly ($a_stat) | |
Force visible access only. More... | |
isVisibleOnlyForced () | |
Force unreadable. More... | |
getCommands () | |
get all current commands for a specific ref id (in the permission context of the current user) More... | |
getIconImageType () | |
Returns the icon image type. More... | |
insertTitle () | |
insert item title More... | |
insertSubstitutions () | |
Insert substitutions. More... | |
insertDescription () | |
insert item description More... | |
insertSearchFragment () | |
Insert highlighted search fragment. More... | |
insertRelevance () | |
insert relevance More... | |
setMode ($a_mode) | |
set output mode More... | |
getMode () | |
get output mode More... | |
setConditionDepth ($a_depth) | |
set depth for precondition output (stops at level 5) More... | |
isMode ($a_mode) | |
check current output mode More... | |
insertProperties ($a_item='') | |
insert properties More... | |
insertNoticeProperties () | |
insertPayment () | |
insert payment information More... | |
insertPreconditions () | |
insert all missing preconditions More... | |
insertCommand ($a_href, $a_text, $a_frame="", $a_img="", $a_cmd="", $a_onclick="") | |
insert command button More... | |
insertDeleteCommand () | |
insert cut command More... | |
insertLinkCommand () | |
insert link command More... | |
insertCutCommand ($a_to_repository=false) | |
insert cut command More... | |
insertCopyCommand ($a_to_repository=false) | |
Insert copy command. More... | |
insertPasteCommand () | |
Insert paste command. More... | |
insertSubscribeCommand () | |
insert subscribe command More... | |
insertInfoScreenCommand () | |
insert info screen command More... | |
insertCommonSocialCommands ($a_header_actions=false) | |
Insert common social commands (comments, notes, tagging) More... | |
insertTimingsCommand () | |
insert edit timings command More... | |
insertCommands ($a_use_asynch=false, $a_get_asynch_commands=false, $a_asynch_url="", $a_header_actions=false) | |
insert all commands into html code More... | |
enableComments ($a_value, $a_enable_comments_settings=true) | |
Toogle comments action status. More... | |
enableNotes ($a_value) | |
Toogle notes action status. More... | |
enableTags ($a_value) | |
Toogle tags action status. More... | |
enableRating ($a_value, $a_text=null, $a_categories=false, array $a_ctrl_path=null) | |
Toogle rating action status. More... | |
enableMultiDownload ($a_value) | |
Toggles whether multiple objects can be downloaded at once or not. More... | |
insertMultiDownloadCommand () | |
enableDownloadCheckbox ($a_ref_id, $a_value) | |
getDownloadCheckboxState () | |
setHeaderSubObject ($a_type, $a_id) | |
Set sub object identifier. More... | |
addHeaderIcon ($a_id, $a_img, $a_tooltip=null, $a_onclick=null, $a_status_text=null, $a_href=null) | |
addHeaderIconHTML ($a_id, $a_html) | |
setAjaxHash ($a_hash) | |
getHeaderAction () | |
Get header action. More... | |
appendRepositoryFrameParameter ($a_link) | |
workaround: all links into the repository (from outside) must tell repository to setup the frameset More... | |
modifySAHSlaunch ($a_link, $wtarget) | |
workaround: SAHS in new javavasript-created window or iframe More... | |
insertPath () | |
insert path More... | |
insertProgressInfo () | |
insert progress info More... | |
insertIconsAndCheckboxes () | |
Insert icons and checkboxes. More... | |
insertSubItems () | |
Insert subitems. More... | |
insertPositionField () | |
Insert field for positioning. More... | |
adminCommandsIncluded () | |
returns whether any admin commands (link, delete, cut) are included in the output More... | |
storeAccessCache () | |
Store access cache. More... | |
getListItemHTML ($a_ref_id, $a_obj_id, $a_title, $a_description, $a_use_asynch=false, $a_get_asynch_commands=false, $a_asynch_url="", $a_context=self::CONTEXT_REPOSITORY) | |
Get all item information (title, commands, description) in HTML. More... | |
setParentRefId ($a_ref_id) | |
Set current parent ref id to enable unique js-ids (sessions, etc.) More... | |
getCommandsHTML () | |
Get commands HTML (must be called after get list item html) More... | |
isSideBlock () | |
Returns whether current item is a block in a side column or not. More... | |
setBoldTitle ($a_bold_title) | |
public boolean $a_bold_title set the item title bold More... | |
isTitleBold () | |
public More... | |
enableTimings ($a_status) | |
enable timings link More... | |
isFileUploadAllowed () | |
Gets a value indicating whether file uploads to this object are allowed or not. More... | |
insertFileUpload () | |
Inserts a file upload component. More... | |
Static Public Member Functions | |
static | prepareJsLinks ($a_redraw_url, $a_notes_url, $a_tags_url, $a_tpl=null) |
Insert js/ajax links into template. More... | |
static | preloadCommonProperties ($a_obj_ids, $a_context) |
Preload common properties. More... | |
Data Fields | |
const | DETAILS_MINIMAL = 10 |
const | DETAILS_SEARCH = 20 |
const | DETAILS_ALL = 30 |
const | CONTEXT_REPOSITORY = 1 |
const | CONTEXT_WORKSPACE = 2 |
const | CONTEXT_SHOP = 3 |
const | CONTEXT_WORKSPACE_SHARING = 4 |
const | CONTEXT_PERSONAL_DESKTOP = 5 |
const | CONTEXT_SEARCH = 6 |
const | DOWNLOAD_CHECKBOX_NONE = 0 |
const | DOWNLOAD_CHECKBOX_ENABLED = 1 |
const | DOWNLOAD_CHECKBOX_DISABLED = 2 |
$ctrl | |
$description_enabled = true | |
$preconditions_enabled = true | |
$properties_enabled = true | |
$notice_properties_enabled = true | |
$commands_enabled = true | |
$cust_prop = array() | |
$cust_commands = array() | |
$info_screen_enabled = false | |
$condition_depth = 0 | |
$std_cmd_only = false | |
$sub_item_html = array() | |
$multi_download_enabled = false | |
$download_checkbox_state = self::DOWNLOAD_CHECKBOX_NONE | |
Protected Member Functions | |
buildGotoLink () | |
insertPaymentCommand ($has_extension_prices=false) | |
parseConditions ($toggle_id, $conditions, $obligatory=true) | |
modifyTitleLink ($a_default_link) | |
resetCustomData () | |
reset properties and commands More... | |
getUniqueItemId ($a_as_div=false) | |
Get unique item identifier (for js-actions) More... | |
isCommentsActivated ($a_type, $a_ref_id, $a_obj_id, $a_header_actions, $a_check_write_access=true) | |
Check comments status against comments settings and context. More... | |
Static Protected Attributes | |
static | $cnt_notes = array() |
static | $cnt_tags = array() |
static | $tags = array() |
static | $comments_activation = array() |
static | $preload_done = false |
static | $js_unique_id = 0 |
Class ilObjectListGUI.
Important note:
All access checking should be made within $ilAccess and the checkAccess of the ilObj...Access classes. Do not additionally enable or disable any commands within this GUI class or in derived classes, except when the container (e.g. a search result list) generally refuses them.
Definition at line 23 of file class.ilObjectListGUI.php.
ilObjectListGUI::addCustomCommand | ( | $a_link, | |
$a_lang_var, | |||
$a_frame = "" , |
|||
$onclick = "" |
|||
) |
add a custom command
Definition at line 1375 of file class.ilObjectListGUI.php.
ilObjectListGUI::addCustomProperty | ( | $a_property = "" , |
|
$a_value = "" , |
|||
$a_alert = false , |
|||
$a_newline = false |
|||
) |
add custom property
Definition at line 1318 of file class.ilObjectListGUI.php.
Referenced by ilContainerObjectiveGUI\addItemDetails(), ilObjectActivation\addListGUIActivationProperty(), getListItemHTML(), ilObjRemoteLearningModuleListGUI\getProperties(), ilObjRemoteGroupListGUI\getProperties(), ilObjRemoteGlossaryListGUI\getProperties(), ilObjRemoteCourseListGUI\getProperties(), ilObjRemoteTestListGUI\getProperties(), ilObjRemoteWikiListGUI\getProperties(), ilObjRemoteCategoryListGUI\getProperties(), ilObjRemoteFileListGUI\getProperties(), insertCommands(), and insertPayment().
ilObjectListGUI::addHeaderIcon | ( | $a_id, | |
$a_img, | |||
$a_tooltip = null , |
|||
$a_onclick = null , |
|||
$a_status_text = null , |
|||
$a_href = null |
|||
) |
string | $a_id | |
string | $a_img | |
string | $a_tooltip | |
string | $a_onclick | |
string | $a_status_text | |
string | $a_href |
Definition at line 3112 of file class.ilObjectListGUI.php.
Referenced by getHeaderAction().
ilObjectListGUI::addHeaderIconHTML | ( | $a_id, | |
$a_html | |||
) |
string | $a_id | |
string | $a_html |
Definition at line 3126 of file class.ilObjectListGUI.php.
Referenced by getHeaderAction().
ilObjectListGUI::addSubItemHTML | ( | $a_html | ) |
Add HTML for subitem (used for sessions)
string | $a_html | subitems HTML |
Definition at line 636 of file class.ilObjectListGUI.php.
ilObjectListGUI::adminCommandsIncluded | ( | ) |
returns whether any admin commands (link, delete, cut) are included in the output
Definition at line 3530 of file class.ilObjectListGUI.php.
ilObjectListGUI::appendRepositoryFrameParameter | ( | $a_link | ) |
workaround: all links into the repository (from outside) must tell repository to setup the frameset
Definition at line 3295 of file class.ilObjectListGUI.php.
References $_GET, and ilUtil\appendUrlParameterString().
Referenced by insertCommands(), and insertTitle().
|
protected |
Definition at line 1614 of file class.ilObjectListGUI.php.
References ilWorkspaceAccessHandler\getGotoLink().
Referenced by insertTitle().
ilObjectListGUI::checkCommandAccess | ( | $a_permission, | |
$a_cmd, | |||
$a_ref_id, | |||
$a_type, | |||
$a_obj_id = "" |
|||
) |
Definition at line 926 of file class.ilObjectListGUI.php.
References isVisibleOnlyForced().
Referenced by getCommands(), getListItemHTML(), insertCopyCommand(), insertCutCommand(), insertDeleteCommand(), insertLinkCommand(), insertSubscribeCommand(), insertTimingsCommand(), and isCommentsActivated().
ilObjectListGUI::createDefaultCommand | ( | $command | ) |
Get default command link Overwritten for e.g categories,courses => they return a goto link If search engine visibility is enabled these object type return a goto_CLIENT_ID_cat_99.html link.
public
int | command link |
Definition at line 1033 of file class.ilObjectListGUI.php.
References ilLink\_getStaticLink().
Referenced by insertCommands(), and insertPaymentCommand().
ilObjectListGUI::disableTitleLink | ( | $a_status | ) |
Definition at line 1013 of file class.ilObjectListGUI.php.
Referenced by ilContainerObjectiveGUI\addItemDetails().
ilObjectListGUI::enableCheckbox | ( | $a_status | ) |
En/Dis-able checkboxes.
boolean | checkbox on/off |
Definition at line 388 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableCommands | ( | $a_status, | |
$a_std_only = false |
|||
) |
En/disable commands.
bool |
Definition at line 605 of file class.ilObjectListGUI.php.
Referenced by ilContainerObjectiveGUI\addItemDetails().
ilObjectListGUI::enableComments | ( | $a_value, | |
$a_enable_comments_settings = true |
|||
) |
Toogle comments action status.
boolean | $a_value |
Definition at line 2925 of file class.ilObjectListGUI.php.
References $ilSetting.
Referenced by ilObjectListGUI().
ilObjectListGUI::enableCopy | ( | $a_status | ) |
En/disable copy.
bool |
Definition at line 496 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableCut | ( | $a_status | ) |
En/disable cut.
bool |
Definition at line 474 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableDelete | ( | $a_status | ) |
En/disable delete.
bool |
Definition at line 451 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableDescription | ( | $a_status | ) |
En/disable description.
bool |
Definition at line 274 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableDownloadCheckbox | ( | $a_ref_id, | |
$a_value | |||
) |
Definition at line 3032 of file class.ilObjectListGUI.php.
References $_SESSION, and getContainerObject().
ilObjectListGUI::enabledRelevance | ( | ) |
enabled relevance
Definition at line 329 of file class.ilObjectListGUI.php.
References $enabled_relevance.
Referenced by getListItemHTML(), and insertRelevance().
ilObjectListGUI::enableExpand | ( | $a_status | ) |
En/Dis-able expand/collapse link.
boolean | checkbox on/off |
Definition at line 408 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableIcon | ( | $a_status | ) |
En/Dis-able icons.
boolean | icons on/off |
Definition at line 368 of file class.ilObjectListGUI.php.
Referenced by ilObjOrgUnitListGUI\insertIconsAndCheckboxes().
ilObjectListGUI::enableInfoScreen | ( | $a_info_screen | ) |
En/disable path.
bool |
Definition at line 626 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableItemDetailLinks | ( | $a_status | ) |
enable item detail links E.g Direct links to chapters or pages
public
bool |
Definition at line 706 of file class.ilObjectListGUI.php.
Referenced by ilContainerObjectiveGUI\addItemDetails().
ilObjectListGUI::enableLink | ( | $a_status | ) |
En/disable link.
bool |
Definition at line 560 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableLinkedPath | ( | $a_status | ) |
Enable linked path.
bool |
Definition at line 320 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableMultiDownload | ( | $a_value | ) |
Toggles whether multiple objects can be downloaded at once or not.
boolean | $a_value | true, to allow downloading of multiple objects; otherwise, false. |
Definition at line 2997 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableNotes | ( | $a_value | ) |
Toogle notes action status.
boolean | $a_value |
Definition at line 2944 of file class.ilObjectListGUI.php.
References $ilSetting.
Referenced by ilObjectListGUI().
ilObjectListGUI::enableNoticeProperties | ( | $a_status | ) |
En/disable notices.
bool |
Definition at line 252 of file class.ilObjectListGUI.php.
ilObjectListGUI::enablePath | ( | $a_path, | |
$a_start_node = null |
|||
) |
En/disable path.
bool | |
int |
Definition at line 583 of file class.ilObjectListGUI.php.
ilObjectListGUI::enablePayment | ( | $a_status | ) |
En/disable payment.
bool |
Definition at line 539 of file class.ilObjectListGUI.php.
ilObjectListGUI::enablePreconditions | ( | $a_status | ) |
En/disable preconditions.
bool |
Definition at line 234 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableProgressInfo | ( | $a_status | ) |
ilObjectListGUI::enableProperties | ( | $a_status | ) |
En/disable properties.
bool |
Definition at line 212 of file class.ilObjectListGUI.php.
Referenced by ilContainerObjectiveGUI\addItemDetails(), and insertCommands().
ilObjectListGUI::enableRating | ( | $a_value, | |
$a_text = null , |
|||
$a_categories = false , |
|||
array | $a_ctrl_path = null |
||
) |
Toogle rating action status.
boolean | $a_value | |
string | $a_text | |
boolean | $a_categories | |
array | $a_ctrl_path |
Definition at line 2980 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableRelevance | ( | $a_status | ) |
ilObjectListGUI::enableRepositoryTransfer | ( | $a_value | ) |
Enable copy/move to repository (from personal workspace)
bool | $a_value |
Definition at line 906 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableSearchFragments | ( | $a_status | ) |
En/disable description.
bool |
Definition at line 308 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableSubscribe | ( | $a_status | ) |
En/disable subscribe.
bool |
Definition at line 518 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableSubstitutions | ( | $a_status | ) |
ilObjectListGUI::enableTags | ( | $a_value | ) |
Toogle tags action status.
boolean | $a_value |
Definition at line 2962 of file class.ilObjectListGUI.php.
Referenced by ilObjectListGUI(), and ilTaggingClassificationProvider\initListGUI().
ilObjectListGUI::enableTimings | ( | $a_status | ) |
enable timings link
public
bool |
Definition at line 3959 of file class.ilObjectListGUI.php.
ilObjectListGUI::forceVisibleOnly | ( | $a_stat | ) |
Force visible access only.
type | $a_stat |
Definition at line 1386 of file class.ilObjectListGUI.php.
ilObjectListGUI::getAdditionalInformation | ( | ) |
Get additional information.
Definition at line 875 of file class.ilObjectListGUI.php.
References $additional_information.
Referenced by getListItemHTML().
ilObjectListGUI::getAlertProperties | ( | ) |
get all alert properties
Definition at line 1344 of file class.ilObjectListGUI.php.
References getProperties().
ilObjectListGUI::getCheckboxStatus | ( | ) |
Are checkboxes enabled?
Definition at line 398 of file class.ilObjectListGUI.php.
References $checkboxes_enabled.
Referenced by insertIconsAndCheckboxes().
ilObjectListGUI::getCommandFrame | ( | $a_cmd | ) |
Get command target frame.
Overwrite this method if link frame is not current frame
string | $a_cmd | command |
Definition at line 1128 of file class.ilObjectListGUI.php.
References ilDAVActivationChecker\_isActive().
Referenced by getCommands(), insertCommonSocialCommands(), ilObjOrgUnitListGUI\insertInfoScreenCommand(), and insertInfoScreenCommand().
ilObjectListGUI::getCommandId | ( | ) |
get command id Normally the ref id.
Overwritten for course and category references
public
Definition at line 855 of file class.ilObjectListGUI.php.
References $ref_id.
Referenced by getCommandLink(), insertCopyCommand(), insertCutCommand(), insertDeleteCommand(), insertIconsAndCheckboxes(), insertLinkCommand(), insertPasteCommand(), and insertSubscribeCommand().
ilObjectListGUI::getCommandImage | ( | $a_cmd | ) |
Get command icon image.
Overwrite this method if an icon is provided
string | $a_cmd | command |
Definition at line 1154 of file class.ilObjectListGUI.php.
Referenced by getCommands().
ilObjectListGUI::getCommandLink | ( | $a_cmd | ) |
Get command link url.
Overwrite this method, if link target is not build by ctrl class (e.g. "forum.php"). This is the case for all links now, but bringing everything to ilCtrl should be realised in the future.
string | $a_cmd | command |
Definition at line 1079 of file class.ilObjectListGUI.php.
References $_GET, ilDAVActivationChecker\_isActive(), getCommandId(), and ilDAVServer\getInstance().
Referenced by getCommands(), insertCommonSocialCommands(), and insertInfoScreenCommand().
ilObjectListGUI::getCommands | ( | ) |
get all current commands for a specific ref id (in the permission context of the current user)
!!!NOTE!!!: Please use getListHTML() if you want to display the item including all commands
!!!NOTE 2!!!: Please do not overwrite this method in derived classes becaus it will get pretty large and much code will be simply copy-and-pasted. Insert smaller object type related method calls instead. (like getCommandLink() or getCommandFrame())
public
int | $a_ref_id | ref id of object |
Definition at line 1423 of file class.ilObjectListGUI.php.
References $cmd, $ilBench, $txt, checkCommandAccess(), getCommandFrame(), getCommandImage(), and getCommandLink().
Referenced by insertCommands(), and insertPaymentCommand().
ilObjectListGUI::getCommandsHTML | ( | ) |
Get commands HTML (must be called after get list item html)
Definition at line 3809 of file class.ilObjectListGUI.php.
References insertCommands().
ilObjectListGUI::getCommandsStatus | ( | ) |
bool |
Definition at line 615 of file class.ilObjectListGUI.php.
References $commands_enabled.
Referenced by ilObjiLincClassroomListGUI\getListItemHTML(), getListItemHTML(), insertCommands(), ilObjOrgUnitListGUI\insertIconsAndCheckboxes(), insertIconsAndCheckboxes(), ilCourseObjectiveListGUI\insertTitle(), and insertTitle().
ilObjectListGUI::getContainerObject | ( | ) |
get container object
public
Definition at line 173 of file class.ilObjectListGUI.php.
Referenced by enableDownloadCheckbox(), getListItemHTML(), insertCutCommand(), insertDeleteCommand(), ilObjOrgUnitListGUI\insertIconsAndCheckboxes(), insertLinkCommand(), insertMultiDownloadCommand(), insertPasteCommand(), ilCourseObjectiveListGUI\insertProgressInfo(), insertSubscribeCommand(), and ilCourseObjectiveListGUI\insertTitle().
ilObjectListGUI::getCopyStatus | ( | ) |
bool |
Definition at line 507 of file class.ilObjectListGUI.php.
References $copy_enabled.
ilObjectListGUI::getCustomProperties | ( | $a_prop | ) |
get custom properties
Definition at line 1328 of file class.ilObjectListGUI.php.
Referenced by insertProperties().
ilObjectListGUI::getCutStatus | ( | ) |
ilObjectListGUI::getDeleteStatus | ( | ) |
ilObjectListGUI::getDescription | ( | ) |
getDescription overwritten in class.ilObjLinkResourceList.php
Definition at line 803 of file class.ilObjectListGUI.php.
Referenced by insertDescription().
ilObjectListGUI::getDescriptionStatus | ( | ) |
bool |
Definition at line 286 of file class.ilObjectListGUI.php.
References $description_enabled.
Referenced by ilObjiLincClassroomListGUI\getListItemHTML(), and getListItemHTML().
ilObjectListGUI::getDetailsLevel | ( | ) |
Get current details level.
Definition at line 896 of file class.ilObjectListGUI.php.
References $details_level.
Referenced by ilObjSessionListGUI\getProperties(), getProperties(), and ilObjForumListGUI\initItem().
ilObjectListGUI::getDownloadCheckboxState | ( | ) |
Definition at line 3055 of file class.ilObjectListGUI.php.
References $download_checkbox_state.
Referenced by insertIconsAndCheckboxes().
ilObjectListGUI::getExpandStatus | ( | ) |
Is expand/collapse enabled.
Definition at line 418 of file class.ilObjectListGUI.php.
References $expand_enabled.
Referenced by insertIconsAndCheckboxes().
ilObjectListGUI::getHeaderAction | ( | ) |
Get header action.
Definition at line 3141 of file class.ilObjectListGUI.php.
References $comments_enabled, $ilUser, $lng, $obj_id, $tags, $tpl, ilNote\_countNotesAndComments(), ilObject\_lookupType(), addHeaderIcon(), addHeaderIconHTML(), ilTooltipGUI\addTooltip(), ilUtil\getImagePath(), ilNoteGUI\getListCommentsJSCall(), ilNoteGUI\getListNotesJSCall(), ilTaggingGUI\getListTagsJSCall(), ilTagging\getTagsForUserAndObject(), IL_NOTE_PRIVATE, IL_NOTE_PUBLIC, ilUtil\img(), insertCommands(), and isCommentsActivated().
ilObjectListGUI::getIconImageType | ( | ) |
Returns the icon image type.
For most objects, this is same as the object type, e.g. 'cat','fold'. We can return here other values, to express a specific state of an object, e.g. 'crs_offline", and/or to express a specific kind of object, e.g. 'file_inline'.
Definition at line 1500 of file class.ilObjectListGUI.php.
References $type.
Referenced by ilObjOrgUnitListGUI\insertIconsAndCheckboxes(), and insertIconsAndCheckboxes().
ilObjectListGUI::getIconStatus | ( | ) |
Are icons enabled?
Definition at line 378 of file class.ilObjectListGUI.php.
References $icons_enabled.
Referenced by insertIconsAndCheckboxes().
ilObjectListGUI::getInfoScreenStatus | ( | ) |
bool |
Definition at line 646 of file class.ilObjectListGUI.php.
References $info_screen_enabled.
Referenced by insertCommands().
ilObjectListGUI::getItemDetailLinkStatus | ( | ) |
get item detail link status
public
Definition at line 717 of file class.ilObjectListGUI.php.
References $item_detail_links_enabled.
Referenced by getListItemHTML().
ilObjectListGUI::getLinkStatus | ( | ) |
ilObjectListGUI::getListItemHTML | ( | $a_ref_id, | |
$a_obj_id, | |||
$a_title, | |||
$a_description, | |||
$a_use_asynch = false , |
|||
$a_get_asynch_commands = false , |
|||
$a_asynch_url = "" , |
|||
$a_context = self::CONTEXT_REPOSITORY |
|||
) |
Get all item information (title, commands, description) in HTML.
public
int | $a_ref_id | item reference id |
int | $a_obj_id | item object id |
int | $a_title | item title |
int | $a_description | item description |
bool | $a_use_asynch | |
bool | $a_get_asynch_commands | |
string | $a_asynch_url | |
bool | $a_context | workspace/tree context |
Definition at line 3563 of file class.ilObjectListGUI.php.
References $ilBench, $ilCtrl, $ilUser, $type, ilObjFileAccess\_isFileHidden(), ilObject\_lookupType(), addCustomProperty(), ilCommonActionDispatcherGUI\buildAjaxHash(), checkCommandAccess(), enabledRelevance(), getAdditionalInformation(), getCommandsStatus(), getContainerObject(), getDescriptionStatus(), getItemDetailLinkStatus(), getNoticePropertiesStatus(), getPreconditionsStatus(), getProgressInfoStatus(), getPropertiesStatus(), getSearchFragmentStatus(), getSeparateCommands(), getUniqueItemId(), ilRating\hasRatingInListGUI(), IL_LIST_AS_TRIGGER, initItem(), insertCommands(), insertDescription(), insertFileUpload(), insertIconsAndCheckboxes(), insertItemDetailLinks(), insertNoticeProperties(), insertPath(), insertPositionField(), insertPreconditions(), insertProgressInfo(), insertProperties(), insertRelevance(), insertSearchFragment(), insertSubItems(), insertTitle(), isFileUploadAllowed(), isMode(), resetCustomData(), setAjaxHash(), storeAccessCache(), ilCommonActionDispatcherGUI\TYPE_REPOSITORY, and ilCommonActionDispatcherGUI\TYPE_WORKSPACE.
ilObjectListGUI::getMode | ( | ) |
get output mode
Definition at line 1745 of file class.ilObjectListGUI.php.
ilObjectListGUI::getNoticeProperties | ( | ) |
get notice properties
Definition at line 1360 of file class.ilObjectListGUI.php.
Referenced by insertNoticeProperties().
ilObjectListGUI::getNoticePropertiesStatus | ( | ) |
Definition at line 241 of file class.ilObjectListGUI.php.
References $notice_properties_enabled.
Referenced by getListItemHTML().
ilObjectListGUI::getPathStatus | ( | ) |
bool |
Definition at line 594 of file class.ilObjectListGUI.php.
Referenced by insertPath().
ilObjectListGUI::getPaymentStatus | ( | ) |
ilObjectListGUI::getPreconditionsStatus | ( | ) |
bool |
Definition at line 264 of file class.ilObjectListGUI.php.
References $preconditions_enabled.
Referenced by getListItemHTML().
ilObjectListGUI::getProgressInfoStatus | ( | ) |
get progress info status
public
Definition at line 670 of file class.ilObjectListGUI.php.
References $progress_enabled.
Referenced by getListItemHTML().
ilObjectListGUI::getProperties | ( | $a_item = '' | ) |
Get item properties.
Overwrite this method to add properties at the bottom of the item html
Definition at line 1170 of file class.ilObjectListGUI.php.
References $ilUser, $lng, ilDAVActivationChecker\_isActive(), ilChangeEvent\_isActive(), ilChangeEvent\_lookupChangeState(), ilChangeEvent\_lookupInsideChangeState(), and getDetailsLevel().
Referenced by getAlertProperties(), ilObjForumListGUI\initItem(), and insertProperties().
ilObjectListGUI::getPropertiesStatus | ( | ) |
bool |
Definition at line 224 of file class.ilObjectListGUI.php.
References $properties_enabled.
Referenced by ilObjiLincClassroomListGUI\getListItemHTML(), and getListItemHTML().
ilObjectListGUI::getRelevance | ( | ) |
get relevance
Definition at line 358 of file class.ilObjectListGUI.php.
References $relevance.
Referenced by insertRelevance().
ilObjectListGUI::getSearchFragment | ( | ) |
get search fragment
Definition at line 822 of file class.ilObjectListGUI.php.
References $search_fragment.
Referenced by insertSearchFragment().
ilObjectListGUI::getSearchFragmentStatus | ( | ) |
Show hide search result fragments.
bool |
Definition at line 297 of file class.ilObjectListGUI.php.
References $search_fragment_enabled.
Referenced by getListItemHTML().
ilObjectListGUI::getSeparateCommands | ( | ) |
Get separate commands.
Definition at line 842 of file class.ilObjectListGUI.php.
References $separate_commands.
Referenced by ilObjiLincClassroomListGUI\getListItemHTML(), and getListItemHTML().
ilObjectListGUI::getSubscribeStatus | ( | ) |
ilObjectListGUI::getSubstitutionStatus | ( | ) |
Get substitution status.
public
Definition at line 693 of file class.ilObjectListGUI.php.
References $substitutions_enabled.
Referenced by insertDescription().
ilObjectListGUI::getTitle | ( | ) |
getTitle overwritten in class.ilObjLinkResourceList.php
Definition at line 784 of file class.ilObjectListGUI.php.
Referenced by ilCourseObjectiveListGUI\insertTitle(), and insertTitle().
|
protected |
Get unique item identifier (for js-actions)
bool | $a_as_div |
Definition at line 3779 of file class.ilObjectListGUI.php.
Referenced by getListItemHTML(), insertCommands(), insertFileUpload(), and parseConditions().
ilObjectListGUI::ilObjectListGUI | ( | ) |
constructor
Definition at line 127 of file class.ilObjectListGUI.php.
References $_REQUEST, $ilCtrl, $lng, ilLDAPRoleGroupMapping\_getInstance(), enableComments(), enableNotes(), enableTags(), IL_LIST_FULL, init(), and setParentRefId().
Referenced by ilObjBookingPoolListGUI\__construct(), ilObjOrgUnitListGUI\__construct(), ilObjChatroomListGUI\__construct(), ilObjCategoryListGUI\ilObjCategoryListGUI(), ilObjCourseListGUI\ilObjCourseListGUI(), ilObjDlBookListGUI\ilObjDlBookListGUI(), ilObjExerciseListGUI\ilObjExerciseListGUI(), ilObjExternalFeedListGUI\ilObjExternalFeedListGUI(), ilObjFileBasedLMListGUI\ilObjFileBasedLMListGUI(), ilObjFileListGUI\ilObjFileListGUI(), ilObjFolderListGUI\ilObjFolderListGUI(), ilObjGlossaryListGUI\ilObjGlossaryListGUI(), ilObjGroupListGUI\ilObjGroupListGUI(), ilObjiLincClassroomListGUI\ilObjiLincClassroomListGUI(), ilObjiLincCourseListGUI\ilObjiLincCourseListGUI(), ilObjLearningModuleListGUI\ilObjLearningModuleListGUI(), ilObjLinkResourceListGUI\ilObjLinkResourceListGUI(), ilObjMediaCastListGUI\ilObjMediaCastListGUI(), ilObjMediaPoolListGUI\ilObjMediaPoolListGUI(), ilObjQuestionPoolListGUI\ilObjQuestionPoolListGUI(), ilObjRootFolderListGUI\ilObjRootFolderListGUI(), ilObjSAHSLearningModuleListGUI\ilObjSAHSLearningModuleListGUI(), ilObjSurveyListGUI\ilObjSurveyListGUI(), ilObjSurveyQuestionPoolListGUI\ilObjSurveyQuestionPoolListGUI(), ilObjTestListGUI\ilObjTestListGUI(), and ilObjWikiListGUI\ilObjWikiListGUI().
ilObjectListGUI::init | ( | ) |
initialisation
this method should be overwritten by derived classes
Definition at line 184 of file class.ilObjectListGUI.php.
References ilObjectAccess\_getCommands().
Referenced by ilObjectListGUI().
ilObjectListGUI::initItem | ( | $a_ref_id, | |
$a_obj_id, | |||
$a_title = "" , |
|||
$a_description = "" , |
|||
$a_context = self::CONTEXT_REPOSITORY |
|||
) |
inititialize new item (is called by getItemHTML())
int | $a_ref_id | reference id |
int | $a_obj_id | object id |
string | $a_title | title |
string | $a_description | description |
int | $a_context | tree/workspace |
Definition at line 978 of file class.ilObjectListGUI.php.
References ilObjSAHSLearningModuleAccess\_lookupUserIsOfflineMode(), setDescription(), and setTitle().
Referenced by ilCourseObjectiveListGUI\getListItemHTML(), and getListItemHTML().
ilObjectListGUI::insertCommand | ( | $a_href, | |
$a_text, | |||
$a_frame = "" , |
|||
$a_img = "" , |
|||
$a_cmd = "" , |
|||
$a_onclick = "" |
|||
) |
insert command button
private
string | $a_href | link url target |
string | $a_text | link text |
string | $a_frame | link frame target |
Definition at line 2275 of file class.ilObjectListGUI.php.
Referenced by insertCommands(), insertCommonSocialCommands(), insertCopyCommand(), insertCutCommand(), insertDeleteCommand(), ilObjOrgUnitListGUI\insertInfoScreenCommand(), insertInfoScreenCommand(), insertLinkCommand(), insertMultiDownloadCommand(), insertPasteCommand(), insertSubscribeCommand(), and insertTimingsCommand().
ilObjectListGUI::insertCommands | ( | $a_use_asynch = false , |
|
$a_get_asynch_commands = false , |
|||
$a_asynch_url = "" , |
|||
$a_header_actions = false |
|||
) |
insert all commands into html code
private
object | $a_tpl | template object |
int | $a_ref_id | item reference id |
Definition at line 2704 of file class.ilObjectListGUI.php.
References $ilUser, $lng, $txt, ilContainer\_lookupContainerSetting(), addCustomProperty(), appendRepositoryFrameParameter(), createDefaultCommand(), ilAdvancedSelectionListGUI\DOWN_ARROW_DARK, enableProperties(), getCommands(), getCommandsStatus(), getInfoScreenStatus(), getUniqueItemId(), IL_LIST_AS_TRIGGER, IL_NO_LICENSE, ilObjectServiceSettingsGUI\INFO_TAB_VISIBILITY, insertCommand(), insertCommonSocialCommands(), insertCopyCommand(), insertCutCommand(), insertDeleteCommand(), insertInfoScreenCommand(), insertLinkCommand(), insertMultiDownloadCommand(), insertPasteCommand(), insertPayment(), insertSubscribeCommand(), insertTimingsCommand(), and isMode().
Referenced by getCommandsHTML(), getHeaderAction(), ilObjiLincClassroomListGUI\getListItemHTML(), and getListItemHTML().
ilObjectListGUI::insertCommonSocialCommands | ( | $a_header_actions = false | ) |
Insert common social commands (comments, notes, tagging)
Definition at line 2619 of file class.ilObjectListGUI.php.
References $comments_enabled, $ilSetting, $ilUser, $lng, $ref_id, $reference_ref_id, $tpl, getCommandFrame(), getCommandLink(), ilNoteGUI\getListCommentsJSCall(), ilNoteGUI\getListNotesJSCall(), ilTaggingGUI\getListTagsJSCall(), insertCommand(), and isCommentsActivated().
Referenced by insertCommands().
ilObjectListGUI::insertCopyCommand | ( | $a_to_repository = false | ) |
Insert copy command.
bool | $a_to_repository |
Definition at line 2447 of file class.ilObjectListGUI.php.
References checkCommandAccess(), getCommandId(), and insertCommand().
Referenced by insertCommands().
ilObjectListGUI::insertCutCommand | ( | $a_to_repository = false | ) |
insert cut command
protected
bool | $a_to_repository |
Definition at line 2392 of file class.ilObjectListGUI.php.
References checkCommandAccess(), getCommandId(), getContainerObject(), and insertCommand().
Referenced by insertCommands().
ilObjectListGUI::insertDeleteCommand | ( | ) |
insert cut command
private
object | $a_tpl | template object |
int | $a_ref_id | item reference id |
Definition at line 2304 of file class.ilObjectListGUI.php.
References checkCommandAccess(), getCommandId(), getContainerObject(), and insertCommand().
Referenced by insertCommands().
ilObjectListGUI::insertDescription | ( | ) |
insert item description
private
object | $a_tpl | template object |
string | $a_desc | item description |
Definition at line 1674 of file class.ilObjectListGUI.php.
References $d, getDescription(), getSubstitutionStatus(), and insertSubstitutions().
Referenced by ilObjiLincClassroomListGUI\getListItemHTML(), ilCourseObjectiveListGUI\getListItemHTML(), and getListItemHTML().
ilObjectListGUI::insertFileUpload | ( | ) |
Inserts a file upload component.
Definition at line 3979 of file class.ilObjectListGUI.php.
References getUniqueItemId(), and ilFileUploadGUI\initFileUpload().
Referenced by getListItemHTML().
ilObjectListGUI::insertIconsAndCheckboxes | ( | ) |
Insert icons and checkboxes.
Definition at line 3405 of file class.ilObjectListGUI.php.
References $lng, ilObject\_getIcon(), getCheckboxStatus(), getCommandId(), getCommandsStatus(), getDownloadCheckboxState(), getExpandStatus(), getIconImageType(), getIconStatus(), ilUtil\getImagePath(), isExpanded(), and ilPlugin\lookupTxt().
Referenced by ilCourseObjectiveListGUI\getListItemHTML(), and getListItemHTML().
ilObjectListGUI::insertInfoScreenCommand | ( | ) |
insert info screen command
Definition at line 2601 of file class.ilObjectListGUI.php.
References getCommandFrame(), getCommandLink(), ilUtil\getImagePath(), and insertCommand().
Referenced by insertCommands().
ilObjectListGUI::insertItemDetailLinks | ( | ) |
insert item detail links
public
Definition at line 742 of file class.ilObjectListGUI.php.
Referenced by getListItemHTML().
ilObjectListGUI::insertLinkCommand | ( | ) |
insert link command
private
object | $a_tpl | template object |
int | $a_ref_id | item reference id |
Definition at line 2344 of file class.ilObjectListGUI.php.
References ilObject\_lookupType(), checkCommandAccess(), getCommandId(), getContainerObject(), and insertCommand().
Referenced by insertCommands().
ilObjectListGUI::insertMultiDownloadCommand | ( | ) |
Definition at line 3007 of file class.ilObjectListGUI.php.
References $_GET, $cmd, ilObject\_lookupType(), getContainerObject(), and insertCommand().
Referenced by insertCommands().
ilObjectListGUI::insertNoticeProperties | ( | ) |
Definition at line 1957 of file class.ilObjectListGUI.php.
References getNoticeProperties().
Referenced by getListItemHTML().
ilObjectListGUI::insertPasteCommand | ( | ) |
Insert paste command.
Definition at line 2489 of file class.ilObjectListGUI.php.
References $_SESSION, ilObject\_lookupType(), getCommandId(), getContainerObject(), and insertCommand().
Referenced by insertCommands().
ilObjectListGUI::insertPath | ( | ) |
insert path
Definition at line 3364 of file class.ilObjectListGUI.php.
References $lng, and getPathStatus().
Referenced by getListItemHTML().
ilObjectListGUI::insertPayment | ( | ) |
insert payment information
private
Definition at line 1976 of file class.ilObjectListGUI.php.
References $ilUser, $lng, ilPaymentBookings\_hasAccess(), ilPaymentObject\_hasExtensions(), ilPaymentBookings\_lookupOrder(), ilPaymentObject\_lookupPobjectId(), addCustomProperty(), ilDatePresentation\formatDate(), ilUtil\getImagePath(), IL_CAL_UNIX, and insertPaymentCommand().
Referenced by insertCommands().
|
protected |
Definition at line 2041 of file class.ilObjectListGUI.php.
References $type, createDefaultCommand(), and getCommands().
Referenced by insertPayment().
ilObjectListGUI::insertPositionField | ( | ) |
Insert field for positioning.
Definition at line 3515 of file class.ilObjectListGUI.php.
Referenced by ilCourseObjectiveListGUI\getListItemHTML(), and getListItemHTML().
ilObjectListGUI::insertPreconditions | ( | ) |
insert all missing preconditions
Definition at line 2205 of file class.ilObjectListGUI.php.
References $lng, ilConditionHandler\_getConditionsOfTarget(), ilObject\_lookupTitle(), parseConditions(), and ilUtil\sortArray().
Referenced by getListItemHTML().
ilObjectListGUI::insertProgressInfo | ( | ) |
insert progress info
public
Definition at line 3396 of file class.ilObjectListGUI.php.
Referenced by getListItemHTML().
ilObjectListGUI::insertProperties | ( | $a_item = '' | ) |
insert properties
private
Definition at line 1782 of file class.ilObjectListGUI.php.
References $ilUser, $lng, $obj_id, $ref_id, $reference_ref_id, getCustomProperties(), ilNoteGUI\getListCommentsJSCall(), ilLPStatus\getListGUIStatus(), ilNoteGUI\getListNotesJSCall(), ilTaggingGUI\getListTagsJSCall(), getProperties(), IL_NOTE_PRIVATE, IL_NOTE_PUBLIC, and isCommentsActivated().
Referenced by ilObjiLincClassroomListGUI\getListItemHTML(), and getListItemHTML().
ilObjectListGUI::insertRelevance | ( | ) |
insert relevance
Definition at line 1712 of file class.ilObjectListGUI.php.
References $lng, enabledRelevance(), ilProgressBar\getInstance(), and getRelevance().
Referenced by getListItemHTML().
ilObjectListGUI::insertSearchFragment | ( | ) |
Insert highlighted search fragment.
Definition at line 1697 of file class.ilObjectListGUI.php.
References getSearchFragment().
Referenced by getListItemHTML().
ilObjectListGUI::insertSubItems | ( | ) |
Insert subitems.
Definition at line 3502 of file class.ilObjectListGUI.php.
Referenced by ilCourseObjectiveListGUI\getListItemHTML(), and getListItemHTML().
ilObjectListGUI::insertSubscribeCommand | ( | ) |
insert subscribe command
private
object | $a_tpl | template object |
int | $a_ref_id | item reference id |
Definition at line 2523 of file class.ilObjectListGUI.php.
References $ilSetting, $ilUser, $type, ilObject\_lookupObjId(), ilObject\_lookupType(), checkCommandAccess(), getCommandId(), getContainerObject(), and insertCommand().
Referenced by insertCommands().
ilObjectListGUI::insertSubstitutions | ( | ) |
Insert substitutions.
public
Definition at line 1634 of file class.ilObjectListGUI.php.
References $data.
Referenced by insertDescription().
ilObjectListGUI::insertTimingsCommand | ( | ) |
insert edit timings command
protected
Definition at line 2673 of file class.ilObjectListGUI.php.
References $parent_ref_id, checkCommandAccess(), and insertCommand().
Referenced by insertCommands().
ilObjectListGUI::insertTitle | ( | ) |
insert item title
private
object | $a_tpl | template object |
string | $a_title | item title |
Definition at line 1516 of file class.ilObjectListGUI.php.
References $preview, appendRepositoryFrameParameter(), buildGotoLink(), ilPreviewGUI\CONTEXT_REPOSITORY, ilPreviewGUI\CONTEXT_WORKSPACE, getCommandsStatus(), ilUtil\getImagePath(), getTitle(), ilPreview\hasPreview(), ilPreview\lookupRenderStatus(), modifySAHSlaunch(), modifyTitleLink(), and ilPreview\RENDER_STATUS_NONE.
Referenced by ilObjiLincClassroomListGUI\getListItemHTML(), and getListItemHTML().
|
protected |
Check comments status against comments settings and context.
string | $a_type | |
int | $a_ref_id | |
int | $a_obj_id | |
bool | $a_header_actions | |
bool | $a_check_write_access |
Definition at line 3919 of file class.ilObjectListGUI.php.
References checkCommandAccess(), and ilNote\commentsActivated().
Referenced by getHeaderAction(), insertCommonSocialCommands(), and insertProperties().
ilObjectListGUI::isExpanded | ( | ) |
Definition at line 428 of file class.ilObjectListGUI.php.
References $is_expanded.
Referenced by insertIconsAndCheckboxes().
ilObjectListGUI::isFileUploadAllowed | ( | ) |
Gets a value indicating whether file uploads to this object are allowed or not.
Definition at line 3969 of file class.ilObjectListGUI.php.
References ilFileUploadUtil\isUploadAllowed().
Referenced by getListItemHTML().
ilObjectListGUI::isMode | ( | $a_mode | ) |
check current output mode
string | $a_mode | (IL_LIST_FULL | IL_LIST_AS_TRIGGER) |
Definition at line 1765 of file class.ilObjectListGUI.php.
Referenced by ilObjiLincClassroomListGUI\getListItemHTML(), getListItemHTML(), and insertCommands().
ilObjectListGUI::isSideBlock | ( | ) |
Returns whether current item is a block in a side column or not.
Definition at line 3817 of file class.ilObjectListGUI.php.
ilObjectListGUI::isTitleBold | ( | ) |
public
Definition at line 3838 of file class.ilObjectListGUI.php.
References $bold_title.
ilObjectListGUI::isVisibleOnlyForced | ( | ) |
Force unreadable.
Definition at line 1395 of file class.ilObjectListGUI.php.
References $force_visible_only.
Referenced by checkCommandAccess().
ilObjectListGUI::modifySAHSlaunch | ( | $a_link, | |
$wtarget | |||
) |
workaround: SAHS in new javavasript-created window or iframe
Definition at line 3341 of file class.ilObjectListGUI.php.
Referenced by insertTitle().
|
protected |
Definition at line 3313 of file class.ilObjectListGUI.php.
Referenced by insertTitle().
|
protected |
Definition at line 2091 of file class.ilObjectListGUI.php.
References $lng, $location, $ok, ilConditionHandler\_checkCondition(), ilObject\_lookupTitle(), ilConditionHandler\calculateRequiredTriggers(), ilMemberViewSettings\getInstance(), ilConditionHandler\getOptionalConditionsOfTarget(), getUniqueItemId(), IL_LIST_AS_TRIGGER, and ilConditionHandlerGUI\translateOperator().
Referenced by insertPreconditions().
|
static |
Preload common properties.
Definition at line 3849 of file class.ilObjectListGUI.php.
References $ilSetting, $ilUser, $lng, ilNote\_countNotesAndCommentsMultiple(), ilTagging\_countTags(), ilTagging\_getListTagsForObjects(), and ilNote\getRepObjActivation().
Referenced by ilObjectListGUIPreloader\preload().
|
static |
Insert js/ajax links into template.
Definition at line 3063 of file class.ilObjectListGUI.php.
References $tpl, ilTaggingGUI\initJavascript(), and ilNoteGUI\initJavascript().
Referenced by ilObjWorkspaceFolderGUI\render().
ilObjectListGUI::resetConditionTarget | ( | ) |
Definition at line 1008 of file class.ilObjectListGUI.php.
|
protected |
reset properties and commands
Definition at line 3754 of file class.ilObjectListGUI.php.
Referenced by getListItemHTML().
ilObjectListGUI::restrictToGoto | ( | $a_value | ) |
Restrict all actions/links to goto.
bool | $a_value |
Definition at line 916 of file class.ilObjectListGUI.php.
ilObjectListGUI::setAdditionalInformation | ( | $a_val | ) |
Set additional information.
string | additional information |
Definition at line 865 of file class.ilObjectListGUI.php.
ilObjectListGUI::setAjaxHash | ( | $a_hash | ) |
Definition at line 3131 of file class.ilObjectListGUI.php.
Referenced by getListItemHTML().
ilObjectListGUI::setBoldTitle | ( | $a_bold_title | ) |
public boolean $a_bold_title set the item title bold
Definition at line 3827 of file class.ilObjectListGUI.php.
ilObjectListGUI::setConditionDepth | ( | $a_depth | ) |
set depth for precondition output (stops at level 5)
Definition at line 1753 of file class.ilObjectListGUI.php.
ilObjectListGUI::setConditionTarget | ( | $a_ref_id, | |
$a_obj_id, | |||
$a_target_type | |||
) |
Definition at line 999 of file class.ilObjectListGUI.php.
Referenced by ilContainerObjectiveGUI\addItemDetails().
ilObjectListGUI::setContainerObject | ( | $container_obj | ) |
set the container object (e.g categorygui) Used for link, delete ...
commands
this method should be overwritten by derived classes
Definition at line 161 of file class.ilObjectListGUI.php.
ilObjectListGUI::setDefaultCommandParameters | ( | array | $a_params | ) |
Definition at line 1019 of file class.ilObjectListGUI.php.
Referenced by ilContainerObjectiveGUI\addItemDetails().
ilObjectListGUI::setDescription | ( | $a_description | ) |
string | description |
Definition at line 793 of file class.ilObjectListGUI.php.
Referenced by initItem().
ilObjectListGUI::setDetailsLevel | ( | $a_level | ) |
Details level Currently used in Search which shows only limited properties of forums Currently used for Sessions (switch between minimal and extended view for each session)
int | $a_level |
Definition at line 887 of file class.ilObjectListGUI.php.
ilObjectListGUI::setExpanded | ( | $a_status | ) |
Definition at line 423 of file class.ilObjectListGUI.php.
ilObjectListGUI::setHeaderSubObject | ( | $a_type, | |
$a_id | |||
) |
Set sub object identifier.
string | $a_type | |
int | $a_id |
Definition at line 3097 of file class.ilObjectListGUI.php.
ilObjectListGUI::setItemDetailLinks | ( | $a_detail_links, | |
$a_intro_txt = '' |
|||
) |
set items detail links
public
array | e.g. array(0 => array('desc' => 'Page: ','link' => 'ilias.php...','name' => 'Page XYZ') |
Definition at line 729 of file class.ilObjectListGUI.php.
Referenced by ilContainerObjectiveGUI\addItemDetails().
ilObjectListGUI::setMode | ( | $a_mode | ) |
set output mode
string | $a_mode | output mode (IL_LIST_FULL | IL_LIST_AS_TRIGGER) |
Definition at line 1735 of file class.ilObjectListGUI.php.
ilObjectListGUI::setParentRefId | ( | $a_ref_id | ) |
Set current parent ref id to enable unique js-ids (sessions, etc.)
string | $a_ref_id |
Definition at line 3768 of file class.ilObjectListGUI.php.
Referenced by ilObjectListGUI().
ilObjectListGUI::setPositionInputField | ( | $a_field_index, | |
$a_position_value | |||
) |
Set position input field.
string | $a_field_index | e.g. "[crs][34]" |
string | $a_position_value | e.g. "2.0" |
Definition at line 438 of file class.ilObjectListGUI.php.
ilObjectListGUI::setRelevance | ( | $a_rel | ) |
ilObjectListGUI::setSearchFragment | ( | $a_text | ) |
set search fragment
string | $a_text | highlighted search fragment |
Definition at line 813 of file class.ilObjectListGUI.php.
ilObjectListGUI::setSeparateCommands | ( | $a_val | ) |
Set separate commands.
boolean | separate commands |
Definition at line 832 of file class.ilObjectListGUI.php.
ilObjectListGUI::setTitle | ( | $a_title | ) |
string | title |
Definition at line 774 of file class.ilObjectListGUI.php.
Referenced by initItem().
ilObjectListGUI::storeAccessCache | ( | ) |
Store access cache.
Definition at line 3538 of file class.ilObjectListGUI.php.
References $ilUser, and $ref_id.
Referenced by getListItemHTML().
|
protected |
Definition at line 90 of file class.ilObjectListGUI.php.
Referenced by getAdditionalInformation().
|
protected |
Definition at line 81 of file class.ilObjectListGUI.php.
Referenced by isTitleBold().
|
protected |
Definition at line 65 of file class.ilObjectListGUI.php.
Referenced by getCheckboxStatus().
|
staticprotected |
Definition at line 112 of file class.ilObjectListGUI.php.
|
staticprotected |
Definition at line 113 of file class.ilObjectListGUI.php.
ilObjectListGUI::$commands_enabled = true |
Definition at line 45 of file class.ilObjectListGUI.php.
Referenced by getCommandsStatus().
|
staticprotected |
Definition at line 115 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 97 of file class.ilObjectListGUI.php.
Referenced by getHeaderAction(), and insertCommonSocialCommands().
|
protected |
Definition at line 98 of file class.ilObjectListGUI.php.
ilObjectListGUI::$condition_depth = 0 |
Definition at line 49 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 83 of file class.ilObjectListGUI.php.
Referenced by getCopyStatus().
ilObjectListGUI::$ctrl |
Definition at line 40 of file class.ilObjectListGUI.php.
ilObjectListGUI::$cust_commands = array() |
Definition at line 47 of file class.ilObjectListGUI.php.
ilObjectListGUI::$cust_prop = array() |
Definition at line 46 of file class.ilObjectListGUI.php.
ilObjectListGUI::$description_enabled = true |
Definition at line 41 of file class.ilObjectListGUI.php.
Referenced by getDescriptionStatus().
|
protected |
Definition at line 85 of file class.ilObjectListGUI.php.
Referenced by getDetailsLevel().
ilObjectListGUI::$download_checkbox_state = self::DOWNLOAD_CHECKBOX_NONE |
Definition at line 53 of file class.ilObjectListGUI.php.
Referenced by getDownloadCheckboxState().
|
protected |
Definition at line 76 of file class.ilObjectListGUI.php.
Referenced by enabledRelevance().
|
protected |
Definition at line 79 of file class.ilObjectListGUI.php.
Referenced by getExpandStatus().
|
protected |
Definition at line 108 of file class.ilObjectListGUI.php.
Referenced by isVisibleOnlyForced().
|
protected |
Definition at line 64 of file class.ilObjectListGUI.php.
Referenced by getIconStatus().
ilObjectListGUI::$info_screen_enabled = false |
Definition at line 48 of file class.ilObjectListGUI.php.
Referenced by ilObjCategoryListGUI\getInfoScreenStatus(), and getInfoScreenStatus().
|
protected |
Definition at line 80 of file class.ilObjectListGUI.php.
Referenced by isExpanded().
|
protected |
Definition at line 69 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 68 of file class.ilObjectListGUI.php.
Referenced by getItemDetailLinkStatus().
|
protected |
Definition at line 70 of file class.ilObjectListGUI.php.
|
staticprotected |
Definition at line 121 of file class.ilObjectListGUI.php.
ilObjectListGUI::$multi_download_enabled = false |
Definition at line 52 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 99 of file class.ilObjectListGUI.php.
ilObjectListGUI::$notice_properties_enabled = true |
Definition at line 44 of file class.ilObjectListGUI.php.
Referenced by getNoticePropertiesStatus().
|
protected |
Definition at line 55 of file class.ilObjectListGUI.php.
Referenced by ilObjSessionListGUI\getAppointmentInfo(), getHeaderAction(), ilObjCourseListGUI\getProperties(), ilObjGroupListGUI\getProperties(), ilObjOrgUnitListGUI\insertIconsAndCheckboxes(), ilCourseObjectiveListGUI\insertProgressInfo(), insertProperties(), and ilCourseObjectiveListGUI\insertTitle().
|
protected |
Definition at line 110 of file class.ilObjectListGUI.php.
Referenced by insertTimingsCommand().
|
protected |
Definition at line 74 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 66 of file class.ilObjectListGUI.php.
ilObjectListGUI::$preconditions_enabled = true |
Definition at line 42 of file class.ilObjectListGUI.php.
Referenced by getPreconditionsStatus().
|
staticprotected |
Definition at line 116 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 109 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 67 of file class.ilObjectListGUI.php.
Referenced by getProgressInfoStatus().
ilObjectListGUI::$properties_enabled = true |
Definition at line 43 of file class.ilObjectListGUI.php.
Referenced by getPropertiesStatus().
|
protected |
Definition at line 103 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 105 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 102 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 104 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 56 of file class.ilObjectListGUI.php.
Referenced by getCommandId(), ilObjiLincClassroomListGUI\getCommands(), insertCommonSocialCommands(), insertProperties(), ilObjTestListGUI\modifyTitleLink(), and storeAccessCache().
|
protected |
Definition at line 87 of file class.ilObjectListGUI.php.
Referenced by insertCommonSocialCommands(), and insertProperties().
|
protected |
Definition at line 77 of file class.ilObjectListGUI.php.
Referenced by getRelevance().
|
protected |
Definition at line 93 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 95 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 73 of file class.ilObjectListGUI.php.
Referenced by getSearchFragment().
|
protected |
Definition at line 89 of file class.ilObjectListGUI.php.
Referenced by getSearchFragmentStatus().
|
protected |
Definition at line 72 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 88 of file class.ilObjectListGUI.php.
Referenced by getSeparateCommands().
|
protected |
Definition at line 94 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 91 of file class.ilObjectListGUI.php.
ilObjectListGUI::$std_cmd_only = false |
Definition at line 50 of file class.ilObjectListGUI.php.
ilObjectListGUI::$sub_item_html = array() |
Definition at line 51 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 58 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 59 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 61 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 62 of file class.ilObjectListGUI.php.
Referenced by getSubstitutionStatus().
|
staticprotected |
Definition at line 114 of file class.ilObjectListGUI.php.
Referenced by getHeaderAction().
|
protected |
Definition at line 100 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 107 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 118 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 119 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 57 of file class.ilObjectListGUI.php.
Referenced by ilObjFileListGUI\getIconImageType(), getIconImageType(), getListItemHTML(), ilObjSAHSLearningModuleListGUI\getProperties(), ilObjectPluginListGUI\getType(), insertPaymentCommand(), and insertSubscribeCommand().
const ilObjectListGUI::CONTEXT_PERSONAL_DESKTOP = 5 |
Definition at line 33 of file class.ilObjectListGUI.php.
Referenced by ilPDSelectedItemsBlockGUI\getMembershipItemsPerLocation(), ilPDSelectedItemsBlockGUI\getMembershipItemsPerType(), ilPDSelectedItemsBlockGUI\getSelectedItemsPerLocation(), ilPDSelectedItemsBlockGUI\getSelectedItemsPerType(), and ilObjectListGUIPreloader\preload().
const ilObjectListGUI::CONTEXT_REPOSITORY = 1 |
Definition at line 29 of file class.ilObjectListGUI.php.
Referenced by ilClassificationBlockGUI\filterContainer(), ilContainerStartObjectsContentTableGUI\getItems(), ilContainer\getSubItems(), ilCommonActionDispatcherGUI\initHeaderAction(), and ilObjectListGUIPreloader\preload().
const ilObjectListGUI::CONTEXT_SEARCH = 6 |
Definition at line 34 of file class.ilObjectListGUI.php.
Referenced by ilObjectListGUIPreloader\preload(), and ilSearchResultPresentation\renderItemList().
const ilObjectListGUI::CONTEXT_SHOP = 3 |
Definition at line 31 of file class.ilObjectListGUI.php.
Referenced by ilShopResultPresentationGUI\getObjectListItem().
const ilObjectListGUI::CONTEXT_WORKSPACE = 2 |
Definition at line 30 of file class.ilObjectListGUI.php.
Referenced by ilObjWorkspaceFolderTableGUI\fillRow(), ilObjWorkspaceFolderTableGUI\getItems(), and ilCommonActionDispatcherGUI\initHeaderAction().
const ilObjectListGUI::CONTEXT_WORKSPACE_SHARING = 4 |
Definition at line 32 of file class.ilObjectListGUI.php.
const ilObjectListGUI::DETAILS_ALL = 30 |
Definition at line 27 of file class.ilObjectListGUI.php.
Referenced by ilObjWorkspaceFolderTableGUI\fillRow(), ilObjSessionListGUI\getProperties(), ilObjForumListGUI\initItem(), and ilContainerContentGUI\renderItem().
const ilObjectListGUI::DETAILS_MINIMAL = 10 |
Definition at line 25 of file class.ilObjectListGUI.php.
Referenced by ilObjSessionListGUI\getProperties(), and ilContainerContentGUI\renderItem().
const ilObjectListGUI::DETAILS_SEARCH = 20 |
Definition at line 26 of file class.ilObjectListGUI.php.
Referenced by ilLuceneSearchObjectListGUIFactory\factory().
const ilObjectListGUI::DOWNLOAD_CHECKBOX_DISABLED = 2 |
Definition at line 38 of file class.ilObjectListGUI.php.
const ilObjectListGUI::DOWNLOAD_CHECKBOX_ENABLED = 1 |
Definition at line 37 of file class.ilObjectListGUI.php.
const ilObjectListGUI::DOWNLOAD_CHECKBOX_NONE = 0 |
Definition at line 36 of file class.ilObjectListGUI.php.