ILIAS
release_4-3 Revision
|
Class ilObjectListGUI. More...
Public Member Functions | |
ilObjectListGUI () | |
constructor | |
setContainerObject (&$container_obj) | |
set the container object (e.g categorygui) Used for link, delete ... | |
getContainerObject () | |
get container object | |
init () | |
initialisation | |
enableProperties ($a_status) | |
En/disable properties. | |
getPropertiesStatus () | |
enablePreconditions ($a_status) | |
En/disable preconditions. | |
getNoticePropertiesStatus () | |
enableNoticeProperties ($a_status) | |
En/disable notices. | |
getPreconditionsStatus () | |
enableDescription ($a_status) | |
En/disable description. | |
getDescriptionStatus () | |
getSearchFragmentStatus () | |
Show hide search result fragments. | |
enableSearchFragments ($a_status) | |
En/disable description. | |
enableLinkedPath ($a_status) | |
Enable linked path. | |
enabledRelevance () | |
enabled relevance | |
enableRelevance ($a_status) | |
enable relevance | |
setRelevance ($a_rel) | |
set relevance | |
getRelevance () | |
get relevance | |
enableIcon ($a_status) | |
En/Dis-able icons. | |
getIconStatus () | |
Are icons enabled? | |
enableCheckbox ($a_status) | |
En/Dis-able checkboxes. | |
getCheckboxStatus () | |
Are checkboxes enabled? | |
enableExpand ($a_status) | |
En/Dis-able expand/collapse link. | |
getExpandStatus () | |
Is expand/collapse enabled. | |
setExpanded ($a_status) | |
isExpanded () | |
setPositionInputField ($a_field_index, $a_position_value) | |
Set position input field. | |
enableDelete ($a_status) | |
En/disable delete. | |
getDeleteStatus () | |
enableCut ($a_status) | |
En/disable cut. | |
getCutStatus () | |
enableCopy ($a_status) | |
En/disable copy. | |
getCopyStatus () | |
enableSubscribe ($a_status) | |
En/disable subscribe. | |
getSubscribeStatus () | |
enablePayment ($a_status) | |
En/disable payment. | |
getPaymentStatus () | |
enableLink ($a_status) | |
En/disable link. | |
getLinkStatus () | |
enablePath ($a_path) | |
En/disable path. | |
getPathStatus () | |
enableCommands ($a_status, $a_std_only=false) | |
En/disable commands. | |
getCommandsStatus () | |
enableInfoScreen ($a_info_screen) | |
En/disable path. | |
addSubItemHTML ($a_html) | |
Add HTML for subitem (used for sessions) | |
getInfoScreenStatus () | |
enableProgressInfo ($a_status) | |
enable progress info | |
getProgressInfoStatus () | |
get progress info status | |
enableSubstitutions ($a_status) | |
Enable substitutions. | |
getSubstitutionStatus () | |
Get substitution status. | |
enableItemDetailLinks ($a_status) | |
enable item detail links E.g Direct links to chapters or pages | |
getItemDetailLinkStatus () | |
get item detail link status | |
setItemDetailLinks ($a_detail_links, $a_intro_txt= '') | |
set items detail links | |
insertItemDetailLinks () | |
insert item detail links | |
setTitle ($a_title) | |
getTitle () | |
getTitle overwritten in class.ilObjLinkResourceList.php | |
setDescription ($a_description) | |
getDescription () | |
getDescription overwritten in class.ilObjLinkResourceList.php | |
setSearchFragment ($a_text) | |
set search fragment | |
getSearchFragment () | |
get search fragment | |
setSeparateCommands ($a_val) | |
Set separate commands. | |
getSeparateCommands () | |
Get separate commands. | |
getCommandId () | |
get command id Normally the ref id. | |
setAdditionalInformation ($a_val) | |
Set additional information. | |
getAdditionalInformation () | |
Get additional information. | |
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) | |
getDetailsLevel () | |
Get current details level. | |
enableRepositoryTransfer ($a_value) | |
Enable copy/move to repository (from personal workspace) | |
restrictToGoto ($a_value) | |
Restrict all actions/links to goto. | |
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()) | |
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. | |
getCommandLink ($a_cmd) | |
Get command link url. | |
getCommandFrame ($a_cmd) | |
Get command target frame. | |
getCommandImage ($a_cmd) | |
Get command icon image. | |
getProperties ($a_item= '') | |
Get item properties. | |
addCustomProperty ($a_property="", $a_value="", $a_alert=false, $a_newline=false) | |
add custom property | |
getCustomProperties ($a_prop) | |
get custom properties | |
getAlertProperties () | |
get all alert properties | |
getNoticeProperties () | |
get notice properties | |
addCustomCommand ($a_link, $a_lang_var, $a_frame="", $onclick="") | |
add a custom command | |
forceVisibleOnly ($a_stat) | |
Force visible access only. | |
isVisibleOnlyForced () | |
Force unreadable. | |
getCommands () | |
get all current commands for a specific ref id (in the permission context of the current user) | |
getIconImageType () | |
Returns the icon image type. | |
insertTitle () | |
insert item title | |
insertSubstitutions () | |
Insert substitutions. | |
insertDescription () | |
insert item description | |
insertSearchFragment () | |
Insert highlighted search fragment. | |
insertRelevance () | |
insert relevance | |
setMode ($a_mode) | |
set output mode | |
getMode () | |
get output mode | |
setConditionDepth ($a_depth) | |
set depth for precondition output (stops at level 5) | |
isMode ($a_mode) | |
check current output mode | |
insertProperties ($a_item= '') | |
insert properties | |
insertNoticeProperties () | |
insertPayment () | |
insert payment information | |
insertPreconditions () | |
insert all missing preconditions | |
insertCommand ($a_href, $a_text, $a_frame="", $a_img="", $a_cmd="", $a_onclick="") | |
insert command button | |
insertDeleteCommand () | |
insert cut command | |
insertLinkCommand () | |
insert link command | |
insertCutCommand ($a_to_repository=false) | |
insert cut command | |
insertCopyCommand ($a_to_repository=false) | |
Insert copy command. | |
insertPasteCommand () | |
Insert paste command. | |
insertSubscribeCommand () | |
insert subscribe command | |
insertInfoScreenCommand () | |
insert info screen command | |
insertCommonSocialCommands ($a_header_actions=false) | |
Insert common social commands (comments, notes, tagging) | |
insertTimingsCommand () | |
insert edit timings command | |
insertCommands ($a_use_asynch=false, $a_get_asynch_commands=false, $a_asynch_url="", $a_header_actions=false) | |
insert all commands into html code | |
enableComments ($a_value, $a_enable_comments_settings=true) | |
Toogle comments action status. | |
enableNotes ($a_value) | |
Toogle notes action status. | |
enableTags ($a_value) | |
Toogle tags action status. | |
setHeaderSubObject ($a_type, $a_id) | |
Set sub object identifier. | |
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. | |
appendRepositoryFrameParameter ($a_link) | |
workaround: all links into the repository (from outside) must tell repository to setup the frameset | |
modifySAHSlaunch ($a_link, $wtarget) | |
workaround: SAHS in new javavasript-created window or iframe | |
insertPath () | |
insert path | |
insertProgressInfo () | |
insert progress info | |
insertIconsAndCheckboxes () | |
Insert icons and checkboxes. | |
insertSubItems () | |
Insert subitems. | |
insertPositionField () | |
Insert field for positioning. | |
adminCommandsIncluded () | |
returns whether any admin commands (link, delete, cut) are included in the output | |
storeAccessCache () | |
Store access cache. | |
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. | |
getCommandsHTML () | |
Get commands HTML (must be called after get list item html) | |
isSideBlock () | |
Returns whether current item is a block in a side column or not. | |
setBoldTitle ($a_bold_title) | |
public boolean $a_bold_title set the item title bold | |
isTitleBold () | |
public | |
enableTimings ($a_status) | |
enable timings link |
Static Public Member Functions | |
static | prepareJsLinks ($a_redraw_url, $a_notes_url, $a_tags_url, $a_tpl=null) |
Insert js/ajax links into template. | |
static | preloadCommonProperties ($a_obj_ids) |
Preload common properties. |
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 |
$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() |
Protected Member Functions | |
buildGotoLink () | |
insertPaymentCommand ($has_extension_prices=false) | |
parseConditions ($toggle_id, $conditions, $obligatory=true) | |
getUniqueItemId ($a_as_div=false) | |
Get unique item identifier (for js-actions) | |
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. |
Protected Attributes | |
$substitutions = null | |
$substitutions_enabled = false | |
$icons_enabled = false | |
$checkboxes_enabled = false | |
$position_enabled = false | |
$progress_enabled = false | |
$item_detail_links_enabled = false | |
$item_detail_links = array() | |
$item_detail_links_intro = '' | |
$search_fragments_enabled = false | |
$search_fragment = '' | |
$path_linked = false | |
$enabled_relevance = false | |
$relevance = 0 | |
$expand_enabled = false | |
$is_expanded = true | |
$bold_title = false | |
$copy_enabled = true | |
$details_level = self::DETAILS_ALL | |
$reference_ref_id = false | |
$separate_commands = false | |
$search_fragment_enabled = false | |
$additional_information = false | |
$static_link_enabled = false | |
$repository_transfer_enabled = false | |
$shared = false | |
$restrict_to_goto = false | |
$comments_enabled = false | |
$comments_settings_enabled = false | |
$notes_enabled = false | |
$tags_enabled = false | |
$timings_enabled = true | |
$force_visible_only = false |
Static Protected Attributes | |
static | $cnt_notes = array() |
static | $cnt_tags = array() |
static | $comments_activation = array() |
static | $preload_done = false |
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 1295 of file class.ilObjectListGUI.php.
ilObjectListGUI::addCustomProperty | ( | $a_property = "" , |
|
$a_value = "" , |
|||
$a_alert = false , |
|||
$a_newline = false |
|||
) |
add custom property
Definition at line 1238 of file class.ilObjectListGUI.php.
Referenced by ilObjectActivation\addListGUIActivationProperty(), ilObjRemoteCategoryListGUI\getProperties(), ilObjRemoteCourseListGUI\getProperties(), ilObjRemoteWikiListGUI\getProperties(), ilObjRemoteGlossaryListGUI\getProperties(), ilObjRemoteTestListGUI\getProperties(), ilObjRemoteLearningModuleListGUI\getProperties(), ilObjRemoteGroupListGUI\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 2798 of file class.ilObjectListGUI.php.
Referenced by getHeaderAction().
ilObjectListGUI::addHeaderIconHTML | ( | $a_id, | |
$a_html | |||
) |
string | $a_id | |
string | $a_html |
Definition at line 2812 of file class.ilObjectListGUI.php.
ilObjectListGUI::addSubItemHTML | ( | $a_html | ) |
Add HTML for subitem (used for sessions)
string | $a_html | subitems HTML |
Definition at line 606 of file class.ilObjectListGUI.php.
ilObjectListGUI::adminCommandsIncluded | ( | ) |
returns whether any admin commands (link, delete, cut) are included in the output
Definition at line 3144 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 2948 of file class.ilObjectListGUI.php.
References $_GET, and ilUtil\appendUrlParameterString().
Referenced by insertCommands(), and insertTitle().
|
protected |
Definition at line 1481 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 = "" |
|||
) |
@return |
Reimplemented in ilObjGroupListGUI, ilObjCourseListGUI, and ilObjSessionListGUI.
Definition at line 896 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 |
Reimplemented in ilObjTestListGUI.
Definition at line 972 of file class.ilObjectListGUI.php.
References ilLink\_getStaticLink().
Referenced by insertCommands(), and insertPaymentCommand().
ilObjectListGUI::enableCheckbox | ( | $a_status | ) |
En/Dis-able checkboxes.
boolean | checkbox on/off |
Definition at line 360 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableCommands | ( | $a_status, | |
$a_std_only = false |
|||
) |
En/disable commands.
bool |
Definition at line 575 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableComments | ( | $a_value, | |
$a_enable_comments_settings = true |
|||
) |
Toogle comments action status.
boolean | $a_value |
Definition at line 2699 of file class.ilObjectListGUI.php.
References $ilSetting.
Referenced by ilObjectListGUI().
ilObjectListGUI::enableCopy | ( | $a_status | ) |
En/disable copy.
bool |
Definition at line 468 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableCut | ( | $a_status | ) |
En/disable cut.
bool |
Definition at line 446 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableDelete | ( | $a_status | ) |
En/disable delete.
bool |
Definition at line 423 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableDescription | ( | $a_status | ) |
En/disable description.
bool |
Definition at line 246 of file class.ilObjectListGUI.php.
ilObjectListGUI::enabledRelevance | ( | ) |
enabled relevance
Definition at line 301 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 380 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableIcon | ( | $a_status | ) |
En/Dis-able icons.
boolean | icons on/off |
Definition at line 340 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableInfoScreen | ( | $a_info_screen | ) |
En/disable path.
bool |
Reimplemented in ilObjItemGroupListGUI.
Definition at line 596 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 676 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableLink | ( | $a_status | ) |
En/disable link.
bool |
Definition at line 532 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableLinkedPath | ( | $a_status | ) |
Enable linked path.
bool |
Definition at line 292 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableNotes | ( | $a_value | ) |
Toogle notes action status.
boolean | $a_value |
Definition at line 2718 of file class.ilObjectListGUI.php.
References $ilSetting.
Referenced by ilObjectListGUI().
ilObjectListGUI::enableNoticeProperties | ( | $a_status | ) |
En/disable notices.
bool |
Definition at line 224 of file class.ilObjectListGUI.php.
ilObjectListGUI::enablePath | ( | $a_path | ) |
En/disable path.
bool |
Definition at line 554 of file class.ilObjectListGUI.php.
ilObjectListGUI::enablePayment | ( | $a_status | ) |
En/disable payment.
bool |
Definition at line 511 of file class.ilObjectListGUI.php.
ilObjectListGUI::enablePreconditions | ( | $a_status | ) |
En/disable preconditions.
bool |
Definition at line 206 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableProgressInfo | ( | $a_status | ) |
enable progress info
public
@return |
Definition at line 628 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableProperties | ( | $a_status | ) |
En/disable properties.
bool |
Definition at line 184 of file class.ilObjectListGUI.php.
Referenced by insertCommands().
ilObjectListGUI::enableRelevance | ( | $a_status | ) |
enable relevance
Definition at line 310 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableRepositoryTransfer | ( | $a_value | ) |
Enable copy/move to repository (from personal workspace)
bool | $a_value |
Definition at line 876 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableSearchFragments | ( | $a_status | ) |
En/disable description.
bool |
Definition at line 280 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableSubscribe | ( | $a_status | ) |
En/disable subscribe.
bool |
Reimplemented in ilObjItemGroupListGUI.
Definition at line 490 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableSubstitutions | ( | $a_status | ) |
Enable substitutions.
public
Definition at line 652 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableTags | ( | $a_value | ) |
Toogle tags action status.
boolean | $a_value |
Definition at line 2736 of file class.ilObjectListGUI.php.
Referenced by ilObjectListGUI().
ilObjectListGUI::enableTimings | ( | $a_status | ) |
enable timings link
public
bool |
Definition at line 3475 of file class.ilObjectListGUI.php.
ilObjectListGUI::forceVisibleOnly | ( | $a_stat | ) |
Force visible access only.
type | $a_stat |
Definition at line 1306 of file class.ilObjectListGUI.php.
ilObjectListGUI::getAdditionalInformation | ( | ) |
Get additional information.
Definition at line 845 of file class.ilObjectListGUI.php.
References $additional_information.
Referenced by getListItemHTML().
ilObjectListGUI::getAlertProperties | ( | ) |
get all alert properties
Definition at line 1264 of file class.ilObjectListGUI.php.
References getProperties().
ilObjectListGUI::getCheckboxStatus | ( | ) |
Are checkboxes enabled?
Definition at line 370 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 |
Reimplemented in ilObjiLincClassroomListGUI, ilObjGroupListGUI, ilObjForumListGUI, ilObjFolderListGUI, ilObjLearningModuleListGUI, ilObjDlBookListGUI, ilObjRemoteFileListGUI, ilObjRemoteCourseListGUI, ilObjRemoteGlossaryListGUI, ilObjRemoteGroupListGUI, ilObjRemoteLearningModuleListGUI, ilObjRemoteTestListGUI, ilObjRemoteWikiListGUI, ilObjRemoteCategoryListGUI, ilObjSAHSLearningModuleListGUI, ilObjGlossaryListGUI, ilObjTestListGUI, ilObjLinkResourceListGUI, ilObjSurveyQuestionPoolListGUI, ilObjQuestionPoolListGUI, ilObjSurveyListGUI, ilObjFileBasedLMListGUI, ilObjectPluginListGUI, ilObjExternalFeedListGUI, ilObjCategoryListGUI, ilObjMediaPoolListGUI, ilObjMediaCastListGUI, ilObjWikiListGUI, ilObjExerciseListGUI, ilObjBookingPoolListGUI, and ilObjFileListGUI.
Definition at line 1048 of file class.ilObjectListGUI.php.
References ilDAVActivationChecker\_isActive().
Referenced by getCommands(), insertCommonSocialCommands(), and insertInfoScreenCommand().
ilObjectListGUI::getCommandId | ( | ) |
get command id Normally the ref id.
Overwritten for course and category references
public
@return |
Reimplemented in ilObjCategoryReferenceListGUI, and ilObjCourseReferenceListGUI.
Definition at line 825 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 |
Reimplemented in ilObjLearningModuleListGUI, ilObjTestListGUI, ilObjFileListGUI, and ilObjChatroomListGUI.
Definition at line 1074 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 |
Reimplemented in ilObjiLincClassroomListGUI, ilObjCourseReferenceListGUI, ilObjCategoryReferenceListGUI, ilObjForumListGUI, ilObjSurveyListGUI, ilObjTestListGUI, ilObjLinkResourceListGUI, ilObjSurveyQuestionPoolListGUI, ilObjQuestionPoolListGUI, ilObjExternalFeedListGUI, ilObjectPluginListGUI, ilObjMediaCastListGUI, ilObjWikiListGUI, ilObjExerciseListGUI, ilObjMediaPoolListGUI, ilObjSessionListGUI, ilObjFolderListGUI, ilObjCategoryListGUI, ilObjDlBookListGUI, ilObjItemGroupListGUI, ilObjLearningModuleListGUI, ilObjGroupListGUI, ilObjiLincCourseListGUI, ilObjBookingPoolListGUI, ilObjRootFolderListGUI, ilObjGlossaryListGUI, ilObjFileBasedLMListGUI, ilObjSAHSLearningModuleListGUI, and ilObjWorkspaceRootFolderListGUI.
Definition at line 999 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 |
Reimplemented in ilObjiLincClassroomListGUI, and ilObjBlogListGUI.
Definition at line 1343 of file class.ilObjectListGUI.php.
References $cmd, $ilBench, 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 3368 of file class.ilObjectListGUI.php.
References insertCommands().
ilObjectListGUI::getCommandsStatus | ( | ) |
bool |
Definition at line 585 of file class.ilObjectListGUI.php.
References $commands_enabled.
Referenced by ilObjiLincClassroomListGUI\getListItemHTML(), getListItemHTML(), insertCommands(), insertIconsAndCheckboxes(), ilCourseObjectiveListGUI\insertTitle(), and insertTitle().
ilObjectListGUI::getContainerObject | ( | ) |
get container object
public
@return | object container |
Definition at line 145 of file class.ilObjectListGUI.php.
Referenced by insertCutCommand(), insertDeleteCommand(), insertLinkCommand(), insertPasteCommand(), ilCourseObjectiveListGUI\insertProgressInfo(), insertSubscribeCommand(), and ilCourseObjectiveListGUI\insertTitle().
ilObjectListGUI::getCopyStatus | ( | ) |
bool |
Definition at line 479 of file class.ilObjectListGUI.php.
References $copy_enabled.
ilObjectListGUI::getCustomProperties | ( | $a_prop | ) |
get custom properties
Definition at line 1248 of file class.ilObjectListGUI.php.
Referenced by insertProperties().
ilObjectListGUI::getCutStatus | ( | ) |
bool |
Definition at line 457 of file class.ilObjectListGUI.php.
ilObjectListGUI::getDeleteStatus | ( | ) |
bool |
Definition at line 435 of file class.ilObjectListGUI.php.
ilObjectListGUI::getDescription | ( | ) |
getDescription overwritten in class.ilObjLinkResourceList.php
Reimplemented in ilObjLinkResourceListGUI.
Definition at line 773 of file class.ilObjectListGUI.php.
Referenced by insertDescription().
ilObjectListGUI::getDescriptionStatus | ( | ) |
bool |
Definition at line 258 of file class.ilObjectListGUI.php.
References $description_enabled.
Referenced by ilObjiLincClassroomListGUI\getListItemHTML(), and getListItemHTML().
ilObjectListGUI::getDetailsLevel | ( | ) |
Get current details level.
Definition at line 866 of file class.ilObjectListGUI.php.
References $details_level.
Referenced by ilObjSessionListGUI\getProperties(), and getProperties().
ilObjectListGUI::getExpandStatus | ( | ) |
Is expand/collapse enabled.
Definition at line 390 of file class.ilObjectListGUI.php.
References $expand_enabled.
Referenced by insertIconsAndCheckboxes().
ilObjectListGUI::getHeaderAction | ( | ) |
Get header action.
Definition at line 2827 of file class.ilObjectListGUI.php.
References $comments_enabled, $ilBench, $ilCtrl, $ilUser, $lng, ilNote\_countNotesAndComments(), ilObject\_lookupType(), addHeaderIcon(), 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'.
Reimplemented in ilObjFileListGUI, ilObjCategoryReferenceListGUI, and ilObjCourseReferenceListGUI.
Definition at line 1420 of file class.ilObjectListGUI.php.
Referenced by insertIconsAndCheckboxes().
ilObjectListGUI::getIconStatus | ( | ) |
Are icons enabled?
Definition at line 350 of file class.ilObjectListGUI.php.
References $icons_enabled.
Referenced by insertIconsAndCheckboxes().
ilObjectListGUI::getInfoScreenStatus | ( | ) |
bool |
Definition at line 616 of file class.ilObjectListGUI.php.
References $info_screen_enabled.
Referenced by insertCommands().
ilObjectListGUI::getItemDetailLinkStatus | ( | ) |
get item detail link status
public
Definition at line 687 of file class.ilObjectListGUI.php.
References $item_detail_links_enabled.
Referenced by getListItemHTML().
ilObjectListGUI::getLinkStatus | ( | ) |
bool |
Definition at line 543 of file class.ilObjectListGUI.php.
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 3177 of file class.ilObjectListGUI.php.
References $ilBench, $ilCtrl, $ilUser, ilObjFileAccess\_isFileHidden(), ilObject\_lookupType(), ilCommonActionDispatcherGUI\buildAjaxHash(), checkCommandAccess(), enabledRelevance(), getAdditionalInformation(), getCommandsStatus(), getDescriptionStatus(), getItemDetailLinkStatus(), getNoticePropertiesStatus(), getPreconditionsStatus(), getProgressInfoStatus(), getPropertiesStatus(), getSearchFragmentStatus(), getSeparateCommands(), getUniqueItemId(), IL_LIST_AS_TRIGGER, initItem(), insertCommands(), insertDescription(), insertIconsAndCheckboxes(), insertItemDetailLinks(), insertNoticeProperties(), insertPath(), insertPositionField(), insertPreconditions(), insertProgressInfo(), insertProperties(), insertRelevance(), insertSearchFragment(), insertSubItems(), insertTitle(), isMode(), setAjaxHash(), storeAccessCache(), ilCommonActionDispatcherGUI\TYPE_REPOSITORY, and ilCommonActionDispatcherGUI\TYPE_WORKSPACE.
ilObjectListGUI::getMode | ( | ) |
get output mode
Definition at line 1614 of file class.ilObjectListGUI.php.
ilObjectListGUI::getNoticeProperties | ( | ) |
get notice properties
Definition at line 1280 of file class.ilObjectListGUI.php.
Referenced by insertNoticeProperties().
ilObjectListGUI::getNoticePropertiesStatus | ( | ) |
Definition at line 213 of file class.ilObjectListGUI.php.
References $notice_properties_enabled.
Referenced by getListItemHTML().
ilObjectListGUI::getPathStatus | ( | ) |
bool |
Definition at line 564 of file class.ilObjectListGUI.php.
Referenced by insertPath().
ilObjectListGUI::getPaymentStatus | ( | ) |
bool |
Definition at line 522 of file class.ilObjectListGUI.php.
ilObjectListGUI::getPreconditionsStatus | ( | ) |
bool |
Definition at line 236 of file class.ilObjectListGUI.php.
References $preconditions_enabled.
Referenced by getListItemHTML().
ilObjectListGUI::getProgressInfoStatus | ( | ) |
get progress info status
public
@return |
Definition at line 640 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
Reimplemented in ilObjiLincClassroomListGUI.
Definition at line 1090 of file class.ilObjectListGUI.php.
References $ilUser, $lng, ilDAVActivationChecker\_isActive(), ilChangeEvent\_isActive(), ilChangeEvent\_lookupChangeState(), ilChangeEvent\_lookupInsideChangeState(), DETAILS_SEARCH, and getDetailsLevel().
Referenced by getAlertProperties(), and insertProperties().
ilObjectListGUI::getPropertiesStatus | ( | ) |
bool |
Definition at line 196 of file class.ilObjectListGUI.php.
References $properties_enabled.
Referenced by ilObjiLincClassroomListGUI\getListItemHTML(), and getListItemHTML().
ilObjectListGUI::getRelevance | ( | ) |
get relevance
@return |
Definition at line 330 of file class.ilObjectListGUI.php.
References $relevance.
Referenced by insertRelevance().
ilObjectListGUI::getSearchFragment | ( | ) |
get search fragment
Definition at line 792 of file class.ilObjectListGUI.php.
References $search_fragment.
Referenced by insertSearchFragment().
ilObjectListGUI::getSearchFragmentStatus | ( | ) |
Show hide search result fragments.
bool |
Definition at line 269 of file class.ilObjectListGUI.php.
References $search_fragment_enabled.
Referenced by getListItemHTML().
ilObjectListGUI::getSeparateCommands | ( | ) |
Get separate commands.
Definition at line 812 of file class.ilObjectListGUI.php.
References $separate_commands.
Referenced by ilObjiLincClassroomListGUI\getListItemHTML(), and getListItemHTML().
ilObjectListGUI::getSubscribeStatus | ( | ) |
bool |
Definition at line 501 of file class.ilObjectListGUI.php.
ilObjectListGUI::getSubstitutionStatus | ( | ) |
Get substitution status.
public
Definition at line 663 of file class.ilObjectListGUI.php.
References $substitutions_enabled.
Referenced by insertDescription().
ilObjectListGUI::getTitle | ( | ) |
getTitle overwritten in class.ilObjLinkResourceList.php
Reimplemented in ilObjFileListGUI, ilObjSessionListGUI, and ilObjLinkResourceListGUI.
Definition at line 754 of file class.ilObjectListGUI.php.
References $title.
Referenced by ilCourseObjectiveListGUI\insertTitle(), and insertTitle().
|
protected |
Get unique item identifier (for js-actions)
bool | $a_as_div |
Definition at line 3341 of file class.ilObjectListGUI.php.
Referenced by getListItemHTML(), and insertCommands().
ilObjectListGUI::ilObjectListGUI | ( | ) |
constructor
Definition at line 102 of file class.ilObjectListGUI.php.
References $ilCtrl, $lng, ilLDAPRoleGroupMapping\_getInstance(), enableComments(), enableNotes(), enableTags(), IL_LIST_FULL, and init().
Referenced by ilObjBookingPoolListGUI\__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
Reimplemented in ilObjCategoryReferenceListGUI, ilObjLinkResourceListGUI, ilObjCourseReferenceListGUI, ilObjSessionListGUI, ilObjTestListGUI, ilCourseObjectiveListGUI, ilObjSurveyQuestionPoolListGUI, ilObjQuestionPoolListGUI, ilObjSurveyListGUI, ilObjiLincClassroomListGUI, ilObjRemoteCategoryListGUI, ilObjRemoteCourseListGUI, ilObjRemoteFileListGUI, ilObjRemoteGlossaryListGUI, ilObjRemoteGroupListGUI, ilObjRemoteLearningModuleListGUI, ilObjRemoteTestListGUI, ilObjRemoteWikiListGUI, ilObjFolderListGUI, ilObjGroupListGUI, ilObjiLincCourseListGUI, ilObjRootFolderListGUI, ilObjDlBookListGUI, ilObjCategoryListGUI, ilObjExternalFeedListGUI, ilObjForumListGUI, ilObjChatroomListGUI, ilObjItemGroupListGUI, ilObjGlossaryListGUI, ilObjFileBasedLMListGUI, ilObjLearningModuleListGUI, ilObjSAHSLearningModuleListGUI, ilObjCourseListGUI, ilObjFileListGUI, ilObjMediaCastListGUI, ilObjMediaPoolListGUI, ilObjWikiListGUI, ilObjBookingPoolListGUI, ilObjExerciseListGUI, ilObjExerciseVerificationListGUI, ilObjTestVerificationListGUI, ilObjWorkspaceFolderListGUI, ilObjBlogListGUI, ilObjDataCollectionListGUI, ilObjPollListGUI, ilObjWorkspaceRootFolderListGUI, and ilObjectPluginListGUI.
Definition at line 156 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 948 of file class.ilObjectListGUI.php.
References 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 2088 of file class.ilObjectListGUI.php.
Referenced by insertCommands(), insertCommonSocialCommands(), insertCopyCommand(), insertCutCommand(), insertDeleteCommand(), insertInfoScreenCommand(), insertLinkCommand(), 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 2506 of file class.ilObjectListGUI.php.
References $lng, addCustomProperty(), appendRepositoryFrameParameter(), createDefaultCommand(), ilAdvancedSelectionListGUI\DOWN_ARROW_DARK, enableProperties(), getCommands(), getCommandsStatus(), ilUtil\getImagePath(), getInfoScreenStatus(), getUniqueItemId(), IL_LIST_AS_TRIGGER, IL_NO_LICENSE, insertCommand(), insertCommonSocialCommands(), insertCopyCommand(), insertCutCommand(), insertDeleteCommand(), insertInfoScreenCommand(), insertLinkCommand(), 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)
@return |
Definition at line 2421 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 2249 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 2194 of file class.ilObjectListGUI.php.
References checkCommandAccess(), getCommandId(), getContainerObject(), ilUtil\getImagePath(), 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 2106 of file class.ilObjectListGUI.php.
References checkCommandAccess(), getCommandId(), getContainerObject(), ilUtil\getImagePath(), and insertCommand().
Referenced by insertCommands().
ilObjectListGUI::insertDescription | ( | ) |
insert item description
private
object | $a_tpl | template object |
string | $a_desc | item description |
Definition at line 1541 of file class.ilObjectListGUI.php.
References getDescription(), getSubstitutionStatus(), and insertSubstitutions().
Referenced by ilObjiLincClassroomListGUI\getListItemHTML(), ilCourseObjectiveListGUI\getListItemHTML(), and getListItemHTML().
ilObjectListGUI::insertIconsAndCheckboxes | ( | ) |
Insert icons and checkboxes.
Definition at line 3027 of file class.ilObjectListGUI.php.
References $lng, ilObject\_getIcon(), getCheckboxStatus(), getCommandId(), getCommandsStatus(), getExpandStatus(), getIconImageType(), getIconStatus(), ilUtil\getImagePath(), isExpanded(), and ilPlugin\lookupTxt().
Referenced by ilCourseObjectiveListGUI\getListItemHTML(), and getListItemHTML().
ilObjectListGUI::insertInfoScreenCommand | ( | ) |
insert info screen command
Definition at line 2403 of file class.ilObjectListGUI.php.
References getCommandFrame(), getCommandLink(), ilUtil\getImagePath(), and insertCommand().
Referenced by insertCommands().
ilObjectListGUI::insertItemDetailLinks | ( | ) |
insert item detail links
public
@return |
Definition at line 712 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 2146 of file class.ilObjectListGUI.php.
References ilObject\_lookupType(), checkCommandAccess(), getCommandId(), getContainerObject(), ilUtil\getImagePath(), and insertCommand().
Referenced by insertCommands().
ilObjectListGUI::insertNoticeProperties | ( | ) |
Definition at line 1782 of file class.ilObjectListGUI.php.
References getNoticeProperties().
Referenced by getListItemHTML().
ilObjectListGUI::insertPasteCommand | ( | ) |
Insert paste command.
Definition at line 2291 of file class.ilObjectListGUI.php.
References $_SESSION, ilObject\_lookupType(), getCommandId(), getContainerObject(), and insertCommand().
Referenced by insertCommands().
ilObjectListGUI::insertPath | ( | ) |
insert path
Definition at line 2990 of file class.ilObjectListGUI.php.
References $lng, and getPathStatus().
Referenced by getListItemHTML().
ilObjectListGUI::insertPayment | ( | ) |
insert payment information
private
Definition at line 1801 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 1866 of file class.ilObjectListGUI.php.
References createDefaultCommand(), and getCommands().
Referenced by insertPayment().
ilObjectListGUI::insertPositionField | ( | ) |
Insert field for positioning.
Definition at line 3129 of file class.ilObjectListGUI.php.
Referenced by getListItemHTML().
ilObjectListGUI::insertPreconditions | ( | ) |
insert all missing preconditions
Definition at line 2025 of file class.ilObjectListGUI.php.
References $lng, $ref_id, $reference_ref_id, ilConditionHandler\_getConditionsOfTarget(), ilObject\_lookupTitle(), parseConditions(), and ilUtil\sortArray().
Referenced by getListItemHTML().
ilObjectListGUI::insertProgressInfo | ( | ) |
insert progress info
public
Reimplemented in ilCourseObjectiveListGUI.
Definition at line 3018 of file class.ilObjectListGUI.php.
Referenced by getListItemHTML().
ilObjectListGUI::insertProperties | ( | $a_item = '' | ) |
insert properties
private
Definition at line 1651 of file class.ilObjectListGUI.php.
References $ilUser, $lng, $ref_id, $reference_ref_id, getCustomProperties(), ilNoteGUI\getListCommentsJSCall(), ilNoteGUI\getListNotesJSCall(), ilTaggingGUI\getListTagsJSCall(), getProperties(), IL_NOTE_PRIVATE, IL_NOTE_PUBLIC, and isCommentsActivated().
Referenced by ilObjiLincClassroomListGUI\getListItemHTML(), and getListItemHTML().
ilObjectListGUI::insertRelevance | ( | ) |
insert relevance
@return |
Definition at line 1576 of file class.ilObjectListGUI.php.
References $lng, enabledRelevance(), ilUtil\getImagePath(), and getRelevance().
Referenced by getListItemHTML().
ilObjectListGUI::insertSearchFragment | ( | ) |
Insert highlighted search fragment.
Definition at line 1561 of file class.ilObjectListGUI.php.
References getSearchFragment().
Referenced by getListItemHTML().
ilObjectListGUI::insertSubItems | ( | ) |
Insert subitems.
Definition at line 3116 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 2325 of file class.ilObjectListGUI.php.
References $ilSetting, ilObject\_lookupObjId(), ilObject\_lookupType(), checkCommandAccess(), getCommandId(), getContainerObject(), ilUtil\getImagePath(), and insertCommand().
Referenced by insertCommands().
ilObjectListGUI::insertSubstitutions | ( | ) |
Insert substitutions.
public
Definition at line 1501 of file class.ilObjectListGUI.php.
References $data.
Referenced by insertDescription().
ilObjectListGUI::insertTimingsCommand | ( | ) |
insert edit timings command
protected
Definition at line 2475 of file class.ilObjectListGUI.php.
References checkCommandAccess(), and insertCommand().
Referenced by insertCommands().
ilObjectListGUI::insertTitle | ( | ) |
insert item title
private
object | $a_tpl | template object |
string | $a_title | item title |
Reimplemented in ilCourseObjectiveListGUI.
Definition at line 1433 of file class.ilObjectListGUI.php.
References appendRepositoryFrameParameter(), buildGotoLink(), getCommandsStatus(), getTitle(), and modifySAHSlaunch().
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 3435 of file class.ilObjectListGUI.php.
References checkCommandAccess(), and ilNote\commentsActivated().
Referenced by getHeaderAction(), insertCommonSocialCommands(), and insertProperties().
ilObjectListGUI::isExpanded | ( | ) |
Definition at line 400 of file class.ilObjectListGUI.php.
References $is_expanded.
Referenced by insertIconsAndCheckboxes().
ilObjectListGUI::isMode | ( | $a_mode | ) |
check current output mode
string | $a_mode | (IL_LIST_FULL | IL_LIST_AS_TRIGGER) |
Definition at line 1634 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.
Reimplemented in ilObjExternalFeedListGUI.
Definition at line 3376 of file class.ilObjectListGUI.php.
ilObjectListGUI::isTitleBold | ( | ) |
public
Definition at line 3397 of file class.ilObjectListGUI.php.
References $bold_title.
ilObjectListGUI::isVisibleOnlyForced | ( | ) |
Force unreadable.
Definition at line 1315 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 2969 of file class.ilObjectListGUI.php.
References ilBrowser\isMobile().
Referenced by insertTitle().
|
protected |
Definition at line 1916 of file class.ilObjectListGUI.php.
References $lng, $location, $ok, ilConditionHandler\_checkCondition(), ilObject\_lookupTitle(), ilConditionHandler\calculateRequiredTriggers(), ilMemberViewSettings\getInstance(), ilConditionHandler\getOptionalConditionsOfTarget(), and IL_LIST_AS_TRIGGER.
Referenced by insertPreconditions().
|
static |
Preload common properties.
@return |
Definition at line 3408 of file class.ilObjectListGUI.php.
References $lng, ilNote\_countNotesAndCommentsMultiple(), ilTagging\_countTags(), and ilNote\getRepObjActivation().
Referenced by ilContainer\getSubItems().
|
static |
Insert js/ajax links into template.
Definition at line 2749 of file class.ilObjectListGUI.php.
References $tpl, ilTaggingGUI\initJavascript(), and ilNoteGUI\initJavascript().
Referenced by ilObjWorkspaceFolderGUI\render().
ilObjectListGUI::restrictToGoto | ( | $a_value | ) |
Restrict all actions/links to goto.
bool | $a_value |
Definition at line 886 of file class.ilObjectListGUI.php.
ilObjectListGUI::setAdditionalInformation | ( | $a_val | ) |
Set additional information.
string | additional information |
Definition at line 835 of file class.ilObjectListGUI.php.
ilObjectListGUI::setAjaxHash | ( | $a_hash | ) |
Definition at line 2817 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 3386 of file class.ilObjectListGUI.php.
ilObjectListGUI::setConditionDepth | ( | $a_depth | ) |
set depth for precondition output (stops at level 5)
Definition at line 1622 of file class.ilObjectListGUI.php.
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 133 of file class.ilObjectListGUI.php.
ilObjectListGUI::setDescription | ( | $a_description | ) |
string | description |
Definition at line 763 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 857 of file class.ilObjectListGUI.php.
ilObjectListGUI::setExpanded | ( | $a_status | ) |
Definition at line 395 of file class.ilObjectListGUI.php.
ilObjectListGUI::setHeaderSubObject | ( | $a_type, | |
$a_id | |||
) |
Set sub object identifier.
string | $a_type | |
int | $a_id |
Definition at line 2783 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 699 of file class.ilObjectListGUI.php.
ilObjectListGUI::setMode | ( | $a_mode | ) |
set output mode
string | $a_mode | output mode (IL_LIST_FULL | IL_LIST_AS_TRIGGER) |
Definition at line 1604 of file class.ilObjectListGUI.php.
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 410 of file class.ilObjectListGUI.php.
ilObjectListGUI::setRelevance | ( | $a_rel | ) |
set relevance
int |
Definition at line 320 of file class.ilObjectListGUI.php.
ilObjectListGUI::setSearchFragment | ( | $a_text | ) |
set search fragment
string | $a_text | highlighted search fragment |
Definition at line 783 of file class.ilObjectListGUI.php.
ilObjectListGUI::setSeparateCommands | ( | $a_val | ) |
Set separate commands.
boolean | separate commands |
Definition at line 802 of file class.ilObjectListGUI.php.
ilObjectListGUI::setTitle | ( | $a_title | ) |
string | title |
Definition at line 744 of file class.ilObjectListGUI.php.
Referenced by initItem().
ilObjectListGUI::storeAccessCache | ( | ) |
Store access cache.
Definition at line 3152 of file class.ilObjectListGUI.php.
References $ilUser, and $ref_id.
Referenced by getListItemHTML().
|
protected |
Definition at line 76 of file class.ilObjectListGUI.php.
Referenced by getAdditionalInformation().
|
protected |
Definition at line 67 of file class.ilObjectListGUI.php.
Referenced by isTitleBold().
|
protected |
Definition at line 51 of file class.ilObjectListGUI.php.
Referenced by getCheckboxStatus().
|
staticprotected |
Definition at line 93 of file class.ilObjectListGUI.php.
|
staticprotected |
Definition at line 94 of file class.ilObjectListGUI.php.
ilObjectListGUI::$commands_enabled = true |
Definition at line 39 of file class.ilObjectListGUI.php.
Referenced by getCommandsStatus().
|
staticprotected |
Definition at line 95 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 83 of file class.ilObjectListGUI.php.
Referenced by getHeaderAction(), and insertCommonSocialCommands().
|
protected |
Definition at line 84 of file class.ilObjectListGUI.php.
ilObjectListGUI::$condition_depth = 0 |
Definition at line 43 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 69 of file class.ilObjectListGUI.php.
Referenced by getCopyStatus().
ilObjectListGUI::$ctrl |
Definition at line 34 of file class.ilObjectListGUI.php.
ilObjectListGUI::$cust_commands = array() |
Definition at line 41 of file class.ilObjectListGUI.php.
ilObjectListGUI::$cust_prop = array() |
Definition at line 40 of file class.ilObjectListGUI.php.
ilObjectListGUI::$description_enabled = true |
Definition at line 35 of file class.ilObjectListGUI.php.
Referenced by getDescriptionStatus().
|
protected |
Definition at line 71 of file class.ilObjectListGUI.php.
Referenced by getDetailsLevel().
|
protected |
Definition at line 62 of file class.ilObjectListGUI.php.
Referenced by enabledRelevance().
|
protected |
Definition at line 65 of file class.ilObjectListGUI.php.
Referenced by getExpandStatus().
|
protected |
Definition at line 90 of file class.ilObjectListGUI.php.
Referenced by isVisibleOnlyForced().
|
protected |
Definition at line 50 of file class.ilObjectListGUI.php.
Referenced by getIconStatus().
ilObjectListGUI::$info_screen_enabled = false |
Definition at line 42 of file class.ilObjectListGUI.php.
Referenced by getInfoScreenStatus().
|
protected |
Definition at line 66 of file class.ilObjectListGUI.php.
Referenced by isExpanded().
|
protected |
Definition at line 55 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 54 of file class.ilObjectListGUI.php.
Referenced by getItemDetailLinkStatus().
|
protected |
Definition at line 56 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 85 of file class.ilObjectListGUI.php.
ilObjectListGUI::$notice_properties_enabled = true |
Definition at line 38 of file class.ilObjectListGUI.php.
Referenced by getNoticePropertiesStatus().
|
protected |
Definition at line 60 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 52 of file class.ilObjectListGUI.php.
ilObjectListGUI::$preconditions_enabled = true |
Definition at line 36 of file class.ilObjectListGUI.php.
Referenced by getPreconditionsStatus().
|
staticprotected |
Definition at line 96 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 53 of file class.ilObjectListGUI.php.
Referenced by getProgressInfoStatus().
ilObjectListGUI::$properties_enabled = true |
Definition at line 37 of file class.ilObjectListGUI.php.
Referenced by getPropertiesStatus().
|
protected |
Definition at line 73 of file class.ilObjectListGUI.php.
Referenced by insertCommonSocialCommands(), insertPreconditions(), and insertProperties().
|
protected |
Definition at line 63 of file class.ilObjectListGUI.php.
Referenced by getRelevance().
|
protected |
Definition at line 79 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 81 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 59 of file class.ilObjectListGUI.php.
Referenced by getSearchFragment().
|
protected |
Definition at line 75 of file class.ilObjectListGUI.php.
Referenced by getSearchFragmentStatus().
|
protected |
Definition at line 58 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 74 of file class.ilObjectListGUI.php.
Referenced by getSeparateCommands().
|
protected |
Definition at line 80 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 77 of file class.ilObjectListGUI.php.
ilObjectListGUI::$std_cmd_only = false |
Definition at line 44 of file class.ilObjectListGUI.php.
ilObjectListGUI::$sub_item_html = array() |
Definition at line 45 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 47 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 48 of file class.ilObjectListGUI.php.
Referenced by getSubstitutionStatus().
|
protected |
Definition at line 86 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 88 of file class.ilObjectListGUI.php.
const ilObjectListGUI::CONTEXT_REPOSITORY = 1 |
Definition at line 29 of file class.ilObjectListGUI.php.
Referenced by ilCommonActionDispatcherGUI\initHeaderAction().
const ilObjectListGUI::CONTEXT_SHOP = 3 |
Definition at line 31 of file class.ilObjectListGUI.php.
Referenced by ilShopResultPresentationGUI\renderItems().
const ilObjectListGUI::CONTEXT_WORKSPACE = 2 |
Definition at line 30 of file class.ilObjectListGUI.php.
Referenced by ilObjWorkspaceFolderTableGUI\fillRow(), and ilCommonActionDispatcherGUI\initHeaderAction().
const ilObjectListGUI::CONTEXT_WORKSPACE_SHARING = 4 |
Definition at line 32 of file class.ilObjectListGUI.php.
Referenced by ilWorkspaceShareTableGUI\fillRow().
const ilObjectListGUI::DETAILS_ALL = 30 |
Definition at line 27 of file class.ilObjectListGUI.php.
Referenced by ilObjWorkspaceFolderTableGUI\fillRow(), ilWorkspaceShareTableGUI\fillRow(), ilObjSessionListGUI\getProperties(), 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(), and getProperties().