ILIAS
Release_4_2_x_branch Revision 61807
|
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) | |
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) | |
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 |
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 | |
$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 1280 of file class.ilObjectListGUI.php.
ilObjectListGUI::addCustomProperty | ( | $a_property = "" , |
|
$a_value = "" , |
|||
$a_alert = false , |
|||
$a_newline = false |
|||
) |
add custom property
Definition at line 1223 of file class.ilObjectListGUI.php.
Referenced by ilObjRemoteCourseListGUI\getProperties(), insertCommands(), and insertPayment().
ilObjectListGUI::addHeaderIcon | ( | $a_id, | |
$a_img, | |||
$a_tooltip = null , |
|||
$a_onclick = null , |
|||
$a_status_text = null |
|||
) |
string | $a_id | |
string | $a_img | |
string | $a_tooltip | |
string | $a_onclick | |
string | $a_onclick |
Definition at line 2746 of file class.ilObjectListGUI.php.
Referenced by getHeaderAction().
ilObjectListGUI::addHeaderIconHTML | ( | $a_id, | |
$a_html | |||
) |
string | $a_id | |
string | $a_html |
Definition at line 2759 of file class.ilObjectListGUI.php.
ilObjectListGUI::addSubItemHTML | ( | $a_html | ) |
Add HTML for subitem (used for sessions)
string | $a_html | subitems HTML |
Definition at line 604 of file class.ilObjectListGUI.php.
ilObjectListGUI::adminCommandsIncluded | ( | ) |
returns whether any admin commands (link, delete, cut) are included in the output
Definition at line 3084 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 2889 of file class.ilObjectListGUI.php.
References ilUtil\appendUrlParameterString().
Referenced by insertCommands(), and insertTitle().
|
protected |
Definition at line 1466 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 ilObjSessionListGUI, and ilObjCourseListGUI.
Definition at line 894 of file class.ilObjectListGUI.php.
References isVisibleOnlyForced().
Referenced by getCommands(), getListItemHTML(), insertCopyCommand(), insertCutCommand(), insertDeleteCommand(), insertLinkCommand(), insertSubscribeCommand(), 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 970 of file class.ilObjectListGUI.php.
References $command, and ilLink\_getStaticLink().
Referenced by insertCommands(), and insertPaymentCommand().
ilObjectListGUI::enableCheckbox | ( | $a_status | ) |
En/Dis-able checkboxes.
boolean | checkbox on/off |
Definition at line 358 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableCommands | ( | $a_status, | |
$a_std_only = false |
|||
) |
En/disable commands.
bool |
Definition at line 573 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableComments | ( | $a_value, | |
$a_enable_comments_settings = true |
|||
) |
Toogle comments action status.
boolean | $a_value |
Definition at line 2648 of file class.ilObjectListGUI.php.
References $ilSetting.
Referenced by ilObjectListGUI().
ilObjectListGUI::enableCopy | ( | $a_status | ) |
En/disable copy.
bool |
Definition at line 466 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableCut | ( | $a_status | ) |
En/disable cut.
bool |
Definition at line 444 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableDelete | ( | $a_status | ) |
En/disable delete.
bool |
Definition at line 421 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableDescription | ( | $a_status | ) |
En/disable description.
bool |
Definition at line 244 of file class.ilObjectListGUI.php.
ilObjectListGUI::enabledRelevance | ( | ) |
enabled relevance
Definition at line 299 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 378 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableIcon | ( | $a_status | ) |
En/Dis-able icons.
boolean | icons on/off |
Definition at line 338 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableInfoScreen | ( | $a_info_screen | ) |
En/disable path.
bool |
Definition at line 594 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 674 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableLink | ( | $a_status | ) |
En/disable link.
bool |
Definition at line 530 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableLinkedPath | ( | $a_status | ) |
Enable linked path.
bool |
Definition at line 290 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableNotes | ( | $a_value | ) |
Toogle notes action status.
boolean | $a_value |
Definition at line 2667 of file class.ilObjectListGUI.php.
References $ilSetting.
Referenced by ilObjectListGUI().
ilObjectListGUI::enableNoticeProperties | ( | $a_status | ) |
En/disable notices.
bool |
Definition at line 222 of file class.ilObjectListGUI.php.
ilObjectListGUI::enablePath | ( | $a_path | ) |
En/disable path.
bool |
Definition at line 552 of file class.ilObjectListGUI.php.
ilObjectListGUI::enablePayment | ( | $a_status | ) |
En/disable payment.
bool |
Definition at line 509 of file class.ilObjectListGUI.php.
ilObjectListGUI::enablePreconditions | ( | $a_status | ) |
En/disable preconditions.
bool |
Definition at line 204 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableProgressInfo | ( | $a_status | ) |
enable progress info
public
@return |
Definition at line 626 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableProperties | ( | $a_status | ) |
En/disable properties.
bool |
Definition at line 182 of file class.ilObjectListGUI.php.
Referenced by insertCommands().
ilObjectListGUI::enableRelevance | ( | $a_status | ) |
enable relevance
Definition at line 308 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableRepositoryTransfer | ( | $a_value | ) |
Enable copy/move to repository (from personal workspace)
bool | $a_value |
Definition at line 874 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableSearchFragments | ( | $a_status | ) |
En/disable description.
bool |
Definition at line 278 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableSubscribe | ( | $a_status | ) |
En/disable subscribe.
bool |
Definition at line 488 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableSubstitutions | ( | $a_status | ) |
Enable substitutions.
public
Definition at line 650 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableTags | ( | $a_value | ) |
Toogle tags action status.
boolean | $a_value |
Definition at line 2685 of file class.ilObjectListGUI.php.
Referenced by ilObjectListGUI().
ilObjectListGUI::forceVisibleOnly | ( | $a_stat | ) |
Force visible access only.
type | $a_stat |
Definition at line 1291 of file class.ilObjectListGUI.php.
ilObjectListGUI::getAdditionalInformation | ( | ) |
Get additional information.
Definition at line 843 of file class.ilObjectListGUI.php.
References $additional_information.
Referenced by getListItemHTML().
ilObjectListGUI::getAlertProperties | ( | ) |
get all alert properties
Definition at line 1249 of file class.ilObjectListGUI.php.
References getProperties().
ilObjectListGUI::getCheckboxStatus | ( | ) |
Are checkboxes enabled?
Definition at line 368 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 ilObjForumListGUI, ilObjiLincClassroomListGUI, ilObjGroupListGUI, ilObjLearningModuleListGUI, ilObjFolderListGUI, ilObjDlBookListGUI, ilObjRemoteCourseListGUI, ilObjSAHSLearningModuleListGUI, ilObjGlossaryListGUI, ilObjFileBasedLMListGUI, ilObjTestListGUI, ilObjSurveyQuestionPoolListGUI, ilObjQuestionPoolListGUI, ilObjSurveyListGUI, ilObjMediaPoolListGUI, ilObjectPluginListGUI, ilObjExternalFeedListGUI, ilObjMediaCastListGUI, ilObjWikiListGUI, ilObjLinkResourceListGUI, ilObjBookingPoolListGUI, ilObjCategoryListGUI, ilObjExerciseListGUI, and ilObjFileListGUI.
Definition at line 1044 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 823 of file class.ilObjectListGUI.php.
References $ref_id.
Referenced by 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 1064 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 ilObjForumListGUI, ilObjiLincClassroomListGUI, ilObjCourseReferenceListGUI, ilObjCategoryReferenceListGUI, ilObjSurveyListGUI, ilObjTestListGUI, ilObjSurveyQuestionPoolListGUI, ilObjQuestionPoolListGUI, ilObjMediaCastListGUI, ilObjWikiListGUI, ilObjLinkResourceListGUI, ilObjMediaPoolListGUI, ilObjExternalFeedListGUI, ilObjectPluginListGUI, ilObjExerciseListGUI, ilObjSessionListGUI, ilObjLearningModuleListGUI, ilObjFolderListGUI, ilObjCategoryListGUI, ilObjBookingPoolListGUI, ilObjDlBookListGUI, ilObjGlossaryListGUI, ilObjFileBasedLMListGUI, ilObjSAHSLearningModuleListGUI, ilObjGroupListGUI, ilObjiLincCourseListGUI, ilObjRootFolderListGUI, and ilObjWorkspaceRootFolderListGUI.
Definition at line 997 of file class.ilObjectListGUI.php.
References ilDAVActivationChecker\_isActive(), 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.
Definition at line 1328 of file class.ilObjectListGUI.php.
References $cmd, $command, $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 3304 of file class.ilObjectListGUI.php.
References insertCommands().
ilObjectListGUI::getCommandsStatus | ( | ) |
bool |
Definition at line 583 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 143 of file class.ilObjectListGUI.php.
Referenced by insertCutCommand(), insertDeleteCommand(), insertLinkCommand(), insertPasteCommand(), ilCourseObjectiveListGUI\insertProgressInfo(), insertSubscribeCommand(), and ilCourseObjectiveListGUI\insertTitle().
ilObjectListGUI::getCopyStatus | ( | ) |
bool |
Definition at line 477 of file class.ilObjectListGUI.php.
References $copy_enabled.
ilObjectListGUI::getCustomProperties | ( | $a_prop | ) |
get custom properties
Definition at line 1233 of file class.ilObjectListGUI.php.
Referenced by insertProperties().
ilObjectListGUI::getCutStatus | ( | ) |
bool |
Definition at line 455 of file class.ilObjectListGUI.php.
ilObjectListGUI::getDeleteStatus | ( | ) |
bool |
Definition at line 433 of file class.ilObjectListGUI.php.
ilObjectListGUI::getDescription | ( | ) |
getDescription overwritten in class.ilObjLinkResourceList.php
Reimplemented in ilObjLinkResourceListGUI.
Definition at line 771 of file class.ilObjectListGUI.php.
Referenced by insertDescription().
ilObjectListGUI::getDescriptionStatus | ( | ) |
bool |
Definition at line 256 of file class.ilObjectListGUI.php.
References $description_enabled.
Referenced by ilObjiLincClassroomListGUI\getListItemHTML(), and getListItemHTML().
ilObjectListGUI::getDetailsLevel | ( | ) |
Get current details level.
Definition at line 864 of file class.ilObjectListGUI.php.
References $details_level.
Referenced by ilObjForumListGUI\getProperties(), ilObjSessionListGUI\getProperties(), and getProperties().
ilObjectListGUI::getExpandStatus | ( | ) |
Is expand/collapse enabled.
Definition at line 388 of file class.ilObjectListGUI.php.
References $expand_enabled.
Referenced by insertIconsAndCheckboxes().
ilObjectListGUI::getHeaderAction | ( | ) |
Get header action.
Definition at line 2774 of file class.ilObjectListGUI.php.
References $comments_enabled, $ilBench, $ilCtrl, $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 1405 of file class.ilObjectListGUI.php.
Referenced by insertIconsAndCheckboxes().
ilObjectListGUI::getIconStatus | ( | ) |
Are icons enabled?
Definition at line 348 of file class.ilObjectListGUI.php.
References $icons_enabled.
Referenced by insertIconsAndCheckboxes().
ilObjectListGUI::getInfoScreenStatus | ( | ) |
bool |
Definition at line 614 of file class.ilObjectListGUI.php.
References $info_screen_enabled.
Referenced by insertCommands().
ilObjectListGUI::getItemDetailLinkStatus | ( | ) |
get item detail link status
public
Definition at line 685 of file class.ilObjectListGUI.php.
References $item_detail_links_enabled.
Referenced by getListItemHTML().
ilObjectListGUI::getLinkStatus | ( | ) |
bool |
Definition at line 541 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 3117 of file class.ilObjectListGUI.php.
References $ilBench, $ilCtrl, 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 1599 of file class.ilObjectListGUI.php.
ilObjectListGUI::getNoticeProperties | ( | ) |
get notice properties
Definition at line 1265 of file class.ilObjectListGUI.php.
Referenced by insertNoticeProperties().
ilObjectListGUI::getNoticePropertiesStatus | ( | ) |
Definition at line 211 of file class.ilObjectListGUI.php.
References $notice_properties_enabled.
Referenced by getListItemHTML().
ilObjectListGUI::getPathStatus | ( | ) |
bool |
Definition at line 562 of file class.ilObjectListGUI.php.
Referenced by insertPath().
ilObjectListGUI::getPaymentStatus | ( | ) |
bool |
Definition at line 520 of file class.ilObjectListGUI.php.
ilObjectListGUI::getPreconditionsStatus | ( | ) |
bool |
Definition at line 234 of file class.ilObjectListGUI.php.
References $preconditions_enabled.
Referenced by getListItemHTML().
ilObjectListGUI::getProgressInfoStatus | ( | ) |
get progress info status
public
@return |
Definition at line 638 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 1080 of file class.ilObjectListGUI.php.
References $lng, ilDAVActivationChecker\_isActive(), ilChangeEvent\_isActive(), ilChangeEvent\_lookupChangeState(), ilChangeEvent\_lookupInsideChangeState(), ilObject\_lookupType(), DETAILS_SEARCH, and getDetailsLevel().
Referenced by getAlertProperties(), and insertProperties().
ilObjectListGUI::getPropertiesStatus | ( | ) |
bool |
Definition at line 194 of file class.ilObjectListGUI.php.
References $properties_enabled.
Referenced by ilObjiLincClassroomListGUI\getListItemHTML(), and getListItemHTML().
ilObjectListGUI::getRelevance | ( | ) |
get relevance
@return |
Definition at line 328 of file class.ilObjectListGUI.php.
References $relevance.
Referenced by insertRelevance().
ilObjectListGUI::getSearchFragment | ( | ) |
get search fragment
Definition at line 790 of file class.ilObjectListGUI.php.
References $search_fragment.
Referenced by insertSearchFragment().
ilObjectListGUI::getSearchFragmentStatus | ( | ) |
Show hide search result fragments.
bool |
Definition at line 267 of file class.ilObjectListGUI.php.
References $search_fragment_enabled.
Referenced by getListItemHTML().
ilObjectListGUI::getSeparateCommands | ( | ) |
Get separate commands.
Definition at line 810 of file class.ilObjectListGUI.php.
References $separate_commands.
Referenced by ilObjiLincClassroomListGUI\getListItemHTML(), and getListItemHTML().
ilObjectListGUI::getSubscribeStatus | ( | ) |
bool |
Definition at line 499 of file class.ilObjectListGUI.php.
ilObjectListGUI::getSubstitutionStatus | ( | ) |
Get substitution status.
public
Definition at line 661 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 752 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 3280 of file class.ilObjectListGUI.php.
Referenced by getListItemHTML(), and insertCommands().
ilObjectListGUI::ilObjectListGUI | ( | ) |
constructor
Definition at line 100 of file class.ilObjectListGUI.php.
References $ilCtrl, $lng, ilLDAPRoleGroupMapping\_getInstance(), enableComments(), enableNotes(), enableTags(), IL_LIST_FULL, and init().
Referenced by ilObjChatroomListGUI\__construct(), ilObjBookingPoolListGUI\__construct(), ilObjCategoryListGUI\ilObjCategoryListGUI(), ilObjCourseListGUI\ilObjCourseListGUI(), ilObjDlBookListGUI\ilObjDlBookListGUI(), ilObjExerciseListGUI\ilObjExerciseListGUI(), ilObjExternalFeedListGUI\ilObjExternalFeedListGUI(), ilObjFileBasedLMListGUI\ilObjFileBasedLMListGUI(), ilObjFileListGUI\ilObjFileListGUI(), ilObjFolderListGUI\ilObjFolderListGUI(), ilObjForumListGUI\ilObjForumListGUI(), 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, ilObjCourseReferenceListGUI, ilObjLinkResourceListGUI, ilObjForumListGUI, ilObjSessionListGUI, ilObjTestListGUI, ilCourseObjectiveListGUI, ilObjSurveyQuestionPoolListGUI, ilObjQuestionPoolListGUI, ilObjGlossaryListGUI, ilObjFileBasedLMListGUI, ilObjSAHSLearningModuleListGUI, ilObjSurveyListGUI, ilObjiLincClassroomListGUI, ilObjRemoteCourseListGUI, ilObjCourseListGUI, ilObjFolderListGUI, ilObjGroupListGUI, ilObjiLincCourseListGUI, ilObjRootFolderListGUI, ilObjDlBookListGUI, ilObjLearningModuleListGUI, ilObjCategoryListGUI, ilObjMediaPoolListGUI, ilObjBookingPoolListGUI, ilObjExternalFeedListGUI, ilObjMediaCastListGUI, ilObjWikiListGUI, ilObjChatroomListGUI, ilObjFileListGUI, ilObjExerciseListGUI, ilObjExerciseVerificationListGUI, ilObjTestVerificationListGUI, ilObjWorkspaceFolderListGUI, ilObjBlogListGUI, ilObjWorkspaceRootFolderListGUI, and ilObjectPluginListGUI.
Definition at line 154 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 946 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 2072 of file class.ilObjectListGUI.php.
Referenced by insertCommands(), insertCommonSocialCommands(), insertCopyCommand(), insertCutCommand(), insertDeleteCommand(), insertInfoScreenCommand(), insertLinkCommand(), insertPasteCommand(), and insertSubscribeCommand().
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 2461 of file class.ilObjectListGUI.php.
References $command, $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(), 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 2405 of file class.ilObjectListGUI.php.
References $comments_enabled, $ilSetting, $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 2233 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 2178 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 2090 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 1526 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 2967 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 2387 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 710 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 2130 of file class.ilObjectListGUI.php.
References ilObject\_lookupType(), checkCommandAccess(), getCommandId(), getContainerObject(), ilUtil\getImagePath(), and insertCommand().
Referenced by insertCommands().
ilObjectListGUI::insertNoticeProperties | ( | ) |
Definition at line 1767 of file class.ilObjectListGUI.php.
References getNoticeProperties().
Referenced by getListItemHTML().
ilObjectListGUI::insertPasteCommand | ( | ) |
Insert paste command.
Definition at line 2275 of file class.ilObjectListGUI.php.
References $_SESSION, ilObject\_lookupType(), getCommandId(), getContainerObject(), and insertCommand().
Referenced by insertCommands().
ilObjectListGUI::insertPath | ( | ) |
insert path
Definition at line 2930 of file class.ilObjectListGUI.php.
References $lng, and getPathStatus().
Referenced by getListItemHTML().
ilObjectListGUI::insertPayment | ( | ) |
insert payment information
private
Definition at line 1786 of file class.ilObjectListGUI.php.
References $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 1850 of file class.ilObjectListGUI.php.
References $command, createDefaultCommand(), and getCommands().
Referenced by insertPayment().
ilObjectListGUI::insertPositionField | ( | ) |
Insert field for positioning.
Definition at line 3069 of file class.ilObjectListGUI.php.
Referenced by getListItemHTML().
ilObjectListGUI::insertPreconditions | ( | ) |
insert all missing preconditions
Definition at line 2009 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 2958 of file class.ilObjectListGUI.php.
Referenced by getListItemHTML().
ilObjectListGUI::insertProperties | ( | $a_item = '' | ) |
insert properties
private
Definition at line 1636 of file class.ilObjectListGUI.php.
References $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 1561 of file class.ilObjectListGUI.php.
References $lng, enabledRelevance(), ilUtil\getImagePath(), and getRelevance().
Referenced by getListItemHTML().
ilObjectListGUI::insertSearchFragment | ( | ) |
Insert highlighted search fragment.
Definition at line 1546 of file class.ilObjectListGUI.php.
References getSearchFragment().
Referenced by getListItemHTML().
ilObjectListGUI::insertSubItems | ( | ) |
Insert subitems.
Definition at line 3056 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 2309 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 1486 of file class.ilObjectListGUI.php.
References $data.
Referenced by insertDescription().
ilObjectListGUI::insertTitle | ( | ) |
insert item title
private
object | $a_tpl | template object |
string | $a_title | item title |
Reimplemented in ilCourseObjectiveListGUI.
Definition at line 1418 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 3371 of file class.ilObjectListGUI.php.
References checkCommandAccess(), and ilNote\commentsActivated().
Referenced by getHeaderAction(), insertCommonSocialCommands(), and insertProperties().
ilObjectListGUI::isExpanded | ( | ) |
Definition at line 398 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 1619 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 3312 of file class.ilObjectListGUI.php.
ilObjectListGUI::isTitleBold | ( | ) |
public
Definition at line 3333 of file class.ilObjectListGUI.php.
References $bold_title.
ilObjectListGUI::isVisibleOnlyForced | ( | ) |
Force unreadable.
Definition at line 1300 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 2909 of file class.ilObjectListGUI.php.
Referenced by insertTitle().
|
protected |
Definition at line 1900 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 3344 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 2698 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 884 of file class.ilObjectListGUI.php.
ilObjectListGUI::setAdditionalInformation | ( | $a_val | ) |
Set additional information.
string | additional information |
Definition at line 833 of file class.ilObjectListGUI.php.
ilObjectListGUI::setAjaxHash | ( | $a_hash | ) |
Definition at line 2764 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 3322 of file class.ilObjectListGUI.php.
ilObjectListGUI::setConditionDepth | ( | $a_depth | ) |
set depth for precondition output (stops at level 5)
Definition at line 1607 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 131 of file class.ilObjectListGUI.php.
ilObjectListGUI::setDescription | ( | $a_description | ) |
string | description |
Definition at line 761 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 855 of file class.ilObjectListGUI.php.
ilObjectListGUI::setExpanded | ( | $a_status | ) |
Definition at line 393 of file class.ilObjectListGUI.php.
ilObjectListGUI::setHeaderSubObject | ( | $a_type, | |
$a_id | |||
) |
Set sub object identifier.
string | $a_type | |
int | $a_id |
Definition at line 2732 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 697 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 1589 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 408 of file class.ilObjectListGUI.php.
ilObjectListGUI::setRelevance | ( | $a_rel | ) |
set relevance
int |
Definition at line 318 of file class.ilObjectListGUI.php.
ilObjectListGUI::setSearchFragment | ( | $a_text | ) |
set search fragment
string | $a_text | highlighted search fragment |
Definition at line 781 of file class.ilObjectListGUI.php.
ilObjectListGUI::setSeparateCommands | ( | $a_val | ) |
Set separate commands.
boolean | separate commands |
Definition at line 800 of file class.ilObjectListGUI.php.
ilObjectListGUI::setTitle | ( | $a_title | ) |
string | title |
Definition at line 742 of file class.ilObjectListGUI.php.
Referenced by initItem().
ilObjectListGUI::storeAccessCache | ( | ) |
Store access cache.
Definition at line 3092 of file class.ilObjectListGUI.php.
References $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 91 of file class.ilObjectListGUI.php.
|
staticprotected |
Definition at line 92 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 93 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 88 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 94 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.
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(), ilObjForumListGUI\getProperties(), 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().