ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilObjectListGUI. More...
Public Member Functions | |
__construct ($a_context=self::CONTEXT_REPOSITORY) | |
constructor More... | |
setContainerObject ($container_obj) | |
set the container object (e.g categorygui) Used for link, delete ... More... | |
getContainerObject () | |
get container object More... | |
init () | |
initialisation More... | |
enableProperties ($a_status) | |
En/disable properties. More... | |
getPropertiesStatus () | |
enablePreconditions ($a_status) | |
En/disable preconditions. More... | |
getNoticePropertiesStatus () | |
enableNoticeProperties ($a_status) | |
En/disable notices. More... | |
getPreconditionsStatus () | |
enableDescription ($a_status) | |
En/disable description. More... | |
getDescriptionStatus () | |
getSearchFragmentStatus () | |
Show hide search result fragments. More... | |
enableSearchFragments ($a_status) | |
En/disable description. More... | |
enableLinkedPath ($a_status) | |
Enable linked path. More... | |
enabledRelevance () | |
enabled relevance More... | |
enableRelevance ($a_status) | |
enable relevance More... | |
setRelevance ($a_rel) | |
set relevance More... | |
getRelevance () | |
get relevance More... | |
enableIcon ($a_status) | |
En/Dis-able icons. More... | |
getIconStatus () | |
Are icons enabled? More... | |
enableCheckbox ($a_status) | |
En/Dis-able checkboxes. More... | |
getCheckboxStatus () | |
Are checkboxes enabled? More... | |
enableExpand ($a_status) | |
En/Dis-able expand/collapse link. More... | |
getExpandStatus () | |
Is expand/collapse enabled. More... | |
setExpanded ($a_status) | |
isExpanded () | |
setPositionInputField ($a_field_index, $a_position_value) | |
Set position input field. More... | |
enableDelete ($a_status) | |
En/disable delete. More... | |
getDeleteStatus () | |
enableCut ($a_status) | |
En/disable cut. More... | |
getCutStatus () | |
enableCopy ($a_status) | |
En/disable copy. More... | |
getCopyStatus () | |
enableSubscribe ($a_status) | |
En/disable subscribe. More... | |
getSubscribeStatus () | |
enableLink ($a_status) | |
En/disable link. More... | |
getLinkStatus () | |
enablePath ($a_path, $a_start_node=null) | |
En/disable path. More... | |
getPathStatus () | |
enableCommands ($a_status, $a_std_only=false) | |
En/disable commands. More... | |
getCommandsStatus () | |
enableInfoScreen ($a_info_screen) | |
En/disable path. More... | |
addSubItemHTML ($a_html) | |
Add HTML for subitem (used for sessions) More... | |
getInfoScreenStatus () | |
enableProgressInfo ($a_status) | |
enable progress info More... | |
getProgressInfoStatus () | |
get progress info status More... | |
enableSubstitutions ($a_status) | |
Enable substitutions. More... | |
getSubstitutionStatus () | |
Get substitution status. More... | |
enableItemDetailLinks ($a_status) | |
enable item detail links E.g Direct links to chapters or pages More... | |
getItemDetailLinkStatus () | |
get item detail link status More... | |
setItemDetailLinks ($a_detail_links, $a_intro_txt='') | |
set items detail links More... | |
insertItemDetailLinks () | |
insert item detail links More... | |
setTitle ($a_title) | |
getTitle () | |
getTitle overwritten in class.ilObjLinkResourceList.php More... | |
setDescription ($a_description) | |
getDescription () | |
getDescription overwritten in class.ilObjLinkResourceList.php More... | |
setSearchFragment ($a_text) | |
set search fragment More... | |
getSearchFragment () | |
get search fragment More... | |
setSeparateCommands ($a_val) | |
Set separate commands. More... | |
getSeparateCommands () | |
Get separate commands. More... | |
getCommandId () | |
get command id Normally the ref id. More... | |
setAdditionalInformation ($a_val) | |
Set additional information. More... | |
getAdditionalInformation () | |
Get additional information. More... | |
setDetailsLevel ($a_level) | |
Details level Currently used in Search which shows only limited properties of forums Currently used for Sessions (switch between minimal and extended view for each session) More... | |
getDetailsLevel () | |
Get current details level. More... | |
enableRepositoryTransfer ($a_value) | |
Enable copy/move to repository (from personal workspace) More... | |
restrictToGoto ($a_value) | |
Restrict all actions/links to goto. More... | |
checkCommandAccess ($a_permission, $a_cmd, $a_ref_id, $a_type, $a_obj_id="") | |
initItem ($a_ref_id, $a_obj_id, $a_title="", $a_description="") | |
inititialize new item (is called by getItemHTML()) More... | |
setConditionTarget ($a_ref_id, $a_obj_id, $a_target_type) | |
resetConditionTarget () | |
disableTitleLink ($a_status) | |
setDefaultCommandParameters (array $a_params) | |
createDefaultCommand ($command) | |
Get default command link Overwritten for e.g categories,courses => they return a goto link If search engine visibility is enabled these object type return a goto_CLIENT_ID_cat_99.html link. More... | |
getCommandLink ($a_cmd) | |
Get command link url. More... | |
getCommandFrame ($a_cmd) | |
Get command target frame. More... | |
getCommandImage ($a_cmd) | |
Get command icon image. More... | |
getProperties () | |
Get item properties. More... | |
addCustomProperty ( $a_property="", $a_value="", $a_alert=false, $a_newline=false) | |
add custom property More... | |
getCustomProperties ($a_prop) | |
get custom properties More... | |
getAlertProperties () | |
get all alert properties More... | |
getNoticeProperties () | |
get notice properties More... | |
addCustomCommand ($a_link, $a_lang_var, $a_frame="", $onclick="") | |
add a custom command More... | |
forceVisibleOnly ($a_stat) | |
Force visible access only. More... | |
isVisibleOnlyForced () | |
Force unreadable. More... | |
getCommands () | |
get all current commands for a specific ref id (in the permission context of the current user) More... | |
getIconImageType () | |
Returns the icon image type. More... | |
insertTitle () | |
insert item title More... | |
insertSubstitutions () | |
Insert substitutions. More... | |
insertDescription () | |
insert item description More... | |
insertSearchFragment () | |
Insert highlighted search fragment. More... | |
insertRelevance () | |
insert relevance More... | |
setMode ($a_mode) | |
set output mode More... | |
getMode () | |
get output mode More... | |
setConditionDepth ($a_depth) | |
set depth for precondition output (stops at level 5) More... | |
isMode ($a_mode) | |
check current output mode More... | |
insertProperties () | |
insert properties More... | |
insertNoticeProperties () | |
insertPreconditions () | |
insert all missing preconditions More... | |
insertCommand ($a_href, $a_text, $a_frame="", $a_img="", $a_cmd="", $a_onclick="") | |
insert command button More... | |
insertDeleteCommand () | |
insert cut command More... | |
insertLinkCommand () | |
insert link command More... | |
insertCutCommand ($a_to_repository=false) | |
insert cut command More... | |
insertCopyCommand ($a_to_repository=false) | |
Insert copy command. More... | |
insertPasteCommand () | |
Insert paste command. More... | |
insertSubscribeCommand () | |
insert subscribe command More... | |
insertInfoScreenCommand () | |
insert info screen command More... | |
insertCommonSocialCommands ($a_header_actions=false) | |
Insert common social commands (comments, notes, tagging) More... | |
insertTimingsCommand () | |
insert edit timings command More... | |
insertCommands ( $a_use_asynch=false, $a_get_asynch_commands=false, $a_asynch_url="", $a_header_actions=false) | |
insert all commands into html code More... | |
enableComments ($a_value, $a_enable_comments_settings=true) | |
Toogle comments action status. More... | |
enableNotes ($a_value) | |
Toogle notes action status. More... | |
enableTags ($a_value) | |
Toogle tags action status. More... | |
enableRating ($a_value, $a_text=null, $a_categories=false, array $a_ctrl_path=null) | |
Toogle rating action status. More... | |
enableMultiDownload ($a_value) | |
Toggles whether multiple objects can be downloaded at once or not. More... | |
insertMultiDownloadCommand () | |
enableDownloadCheckbox ($a_ref_id, $a_value) | |
getDownloadCheckboxState () | |
setHeaderSubObject ($a_type, $a_id) | |
Set sub object identifier. More... | |
addHeaderIcon ($a_id, $a_img, $a_tooltip=null, $a_onclick=null, $a_status_text=null, $a_href=null) | |
addHeaderIconHTML ($a_id, $a_html) | |
addHeaderGlyph ($a_id, $a_glyph, $a_onclick=null) | |
setAjaxHash ($a_hash) | |
getHeaderAction (ilTemplate $a_main_tpl=null) | |
Get header action. More... | |
appendRepositoryFrameParameter ($a_link) | |
workaround: all links into the repository (from outside) must tell repository to setup the frameset More... | |
modifySAHSlaunch ($a_link, $wtarget) | |
workaround: SAHS in new javavasript-created window or iframe More... | |
insertPath () | |
insert path More... | |
insertProgressInfo () | |
insert progress info More... | |
insertIconsAndCheckboxes () | |
Insert icons and checkboxes. More... | |
insertSubItems () | |
Insert subitems. More... | |
insertPositionField () | |
Insert field for positioning. More... | |
adminCommandsIncluded () | |
returns whether any admin commands (link, delete, cut) are included in the output More... | |
storeAccessCache () | |
Store access cache. More... | |
getListItemHTML ( $a_ref_id, $a_obj_id, $a_title, $a_description, $a_use_asynch=false, $a_get_asynch_commands=false, $a_asynch_url="") | |
Get all item information (title, commands, description) in HTML. More... | |
setParentRefId ($a_ref_id) | |
Set current parent ref id to enable unique js-ids (sessions, etc.) More... | |
getCommandsHTML () | |
Get commands HTML (must be called after get list item html) More... | |
isSideBlock () | |
Returns whether current item is a block in a side column or not. More... | |
setBoldTitle ($a_bold_title) | |
public boolean $a_bold_title set the item title bold More... | |
isTitleBold () | |
public More... | |
enableTimings ($a_status) | |
enable timings link More... | |
isFileUploadAllowed () | |
Gets a value indicating whether file uploads to this object are allowed or not. More... | |
insertFileUpload () | |
Inserts a file upload component. More... | |
Static Public Member Functions | |
static | prepareJsLinks ($a_redraw_url, $a_notes_url, $a_tags_url, $a_tpl=null) |
Insert js/ajax links into template. More... | |
static | preloadCommonProperties ($a_obj_ids, $a_context) |
Preload common properties. More... | |
Data Fields | |
const | DETAILS_MINIMAL = 10 |
const | DETAILS_SEARCH = 20 |
const | DETAILS_ALL = 30 |
const | CONTEXT_REPOSITORY = 1 |
const | CONTEXT_WORKSPACE = 2 |
const | CONTEXT_WORKSPACE_SHARING = 4 |
const | CONTEXT_PERSONAL_DESKTOP = 5 |
const | CONTEXT_SEARCH = 6 |
const | DOWNLOAD_CHECKBOX_NONE = 0 |
const | DOWNLOAD_CHECKBOX_ENABLED = 1 |
const | DOWNLOAD_CHECKBOX_DISABLED = 2 |
$ctrl | |
$description_enabled = true | |
$preconditions_enabled = true | |
$properties_enabled = true | |
$notice_properties_enabled = true | |
$commands_enabled = true | |
$cust_prop = array() | |
$cust_commands = array() | |
$info_screen_enabled = false | |
$condition_depth = 0 | |
$std_cmd_only = false | |
$sub_item_html = array() | |
$multi_download_enabled = false | |
$download_checkbox_state = self::DOWNLOAD_CHECKBOX_NONE | |
Protected Member Functions | |
buildGotoLink () | |
parseConditions ($toggle_id, $conditions, $obligatory=true) | |
modifyTitleLink ($a_default_link) | |
resetCustomData () | |
reset properties and commands More... | |
getUniqueItemId ($a_as_div=false) | |
Get unique item identifier (for js-actions) More... | |
isCommentsActivated ($a_type, $a_ref_id, $a_obj_id, $a_header_actions, $a_check_write_access=true) | |
Check comments status against comments settings and context. More... | |
Static Protected Attributes | |
static | $cnt_notes = array() |
static | $cnt_tags = array() |
static | $tags = array() |
static | $comments_activation = array() |
static | $preload_done = false |
static | $js_unique_id = 0 |
static | $tpl_file_name = "tpl.container_list_item.html" |
static | $tpl_component = "Services/Container" |
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::__construct | ( | $a_context = self::CONTEXT_REPOSITORY | ) |
constructor
Definition at line 171 of file class.ilObjectListGUI.php.
References $DIC, ilLDAPRoleGroupMapping\_getInstance(), enableComments(), enableNotes(), enableTags(), IL_LIST_FULL, init(), setParentRefId(), settings(), and user().
ilObjectListGUI::addCustomCommand | ( | $a_link, | |
$a_lang_var, | |||
$a_frame = "" , |
|||
$onclick = "" |
|||
) |
ilObjectListGUI::addCustomProperty | ( | $a_property = "" , |
|
$a_value = "" , |
|||
$a_alert = false , |
|||
$a_newline = false |
|||
) |
add custom property
Definition at line 1258 of file class.ilObjectListGUI.php.
References array.
Referenced by ilContainerObjectiveGUI\addItemDetails(), ilObjectActivation\addListGUIActivationProperty(), getListItemHTML(), ilObjRemoteGroupListGUI\getProperties(), ilObjRemoteGlossaryListGUI\getProperties(), ilObjRemoteWikiListGUI\getProperties(), ilObjRemoteTestListGUI\getProperties(), ilObjRemoteLearningModuleListGUI\getProperties(), ilObjRemoteCategoryListGUI\getProperties(), ilObjRemoteCourseListGUI\getProperties(), ilObjRemoteFileListGUI\getProperties(), and insertCommands().
ilObjectListGUI::addHeaderGlyph | ( | $a_id, | |
$a_glyph, | |||
$a_onclick = null |
|||
) |
string | $a_id | |
string | $a_html |
Definition at line 2862 of file class.ilObjectListGUI.php.
References array.
Referenced by getHeaderAction().
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 2838 of file class.ilObjectListGUI.php.
References array.
ilObjectListGUI::addHeaderIconHTML | ( | $a_id, | |
$a_html | |||
) |
string | $a_id | |
string | $a_html |
Definition at line 2852 of file class.ilObjectListGUI.php.
Referenced by getHeaderAction().
ilObjectListGUI::addSubItemHTML | ( | $a_html | ) |
Add HTML for subitem (used for sessions)
string | $a_html | subitems HTML |
Definition at line 665 of file class.ilObjectListGUI.php.
ilObjectListGUI::adminCommandsIncluded | ( | ) |
returns whether any admin commands (link, delete, cut) are included in the output
Definition at line 3288 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 3073 of file class.ilObjectListGUI.php.
References $_GET, and ilUtil\appendUrlParameterString().
Referenced by insertCommands(), and insertTitle().
|
protected |
Definition at line 1532 of file class.ilObjectListGUI.php.
References ilWorkspaceAccessHandler\getGotoLink().
Referenced by insertTitle().
ilObjectListGUI::checkCommandAccess | ( | $a_permission, | |
$a_cmd, | |||
$a_ref_id, | |||
$a_type, | |||
$a_obj_id = "" |
|||
) |
Definition at line 952 of file class.ilObjectListGUI.php.
References $a_type, $access, and isVisibleOnlyForced().
Referenced by getCommands(), getListItemHTML(), insertCopyCommand(), insertCutCommand(), insertDeleteCommand(), insertLinkCommand(), insertSubscribeCommand(), insertTimingsCommand(), and isCommentsActivated().
ilObjectListGUI::createDefaultCommand | ( | $command | ) |
Get default command link Overwritten for e.g categories,courses => they return a goto link If search engine visibility is enabled these object type return a goto_CLIENT_ID_cat_99.html link.
public
int | command link |
Definition at line 1049 of file class.ilObjectListGUI.php.
References $name, $params, ilLink\_getStaticLink(), and array.
Referenced by insertCommands().
ilObjectListGUI::disableTitleLink | ( | $a_status | ) |
Definition at line 1029 of file class.ilObjectListGUI.php.
Referenced by ilContainerObjectiveGUI\addItemDetails().
ilObjectListGUI::enableCheckbox | ( | $a_status | ) |
En/Dis-able checkboxes.
boolean | checkbox on/off |
Definition at line 437 of file class.ilObjectListGUI.php.
Referenced by ilStudyProgrammeIndividualPlanProgressListGUI\configureItemGUI(), ilStudyProgrammeExpandableProgressListGUI\configureItemGUI(), and ilObjStudyProgrammeListGUI\getListItemHTML().
ilObjectListGUI::enableCommands | ( | $a_status, | |
$a_std_only = false |
|||
) |
En/disable commands.
bool |
Definition at line 634 of file class.ilObjectListGUI.php.
Referenced by ilContainerObjectiveGUI\addItemDetails(), ilStudyProgrammeIndividualPlanProgressListGUI\configureItemGUI(), and ilStudyProgrammeExpandableProgressListGUI\configureItemGUI().
ilObjectListGUI::enableComments | ( | $a_value, | |
$a_enable_comments_settings = true |
|||
) |
Toogle comments action status.
boolean | $a_value |
Definition at line 2652 of file class.ilObjectListGUI.php.
References $ilSetting, and $settings.
Referenced by __construct(), ilStudyProgrammeIndividualPlanProgressListGUI\configureItemGUI(), and ilStudyProgrammeExpandableProgressListGUI\configureItemGUI().
ilObjectListGUI::enableCopy | ( | $a_status | ) |
En/disable copy.
bool |
Definition at line 545 of file class.ilObjectListGUI.php.
Referenced by ilStudyProgrammeIndividualPlanProgressListGUI\configureItemGUI(), and ilStudyProgrammeExpandableProgressListGUI\configureItemGUI().
ilObjectListGUI::enableCut | ( | $a_status | ) |
En/disable cut.
bool |
Definition at line 523 of file class.ilObjectListGUI.php.
Referenced by ilStudyProgrammeIndividualPlanProgressListGUI\configureItemGUI(), and ilStudyProgrammeExpandableProgressListGUI\configureItemGUI().
ilObjectListGUI::enableDelete | ( | $a_status | ) |
En/disable delete.
bool |
Definition at line 500 of file class.ilObjectListGUI.php.
Referenced by ilStudyProgrammeIndividualPlanProgressListGUI\configureItemGUI(), and ilStudyProgrammeExpandableProgressListGUI\configureItemGUI().
ilObjectListGUI::enableDescription | ( | $a_status | ) |
En/disable description.
bool |
Definition at line 323 of file class.ilObjectListGUI.php.
Referenced by ilStudyProgrammeIndividualPlanProgressListGUI\configureItemGUI(), and ilStudyProgrammeExpandableProgressListGUI\configureItemGUI().
ilObjectListGUI::enableDownloadCheckbox | ( | $a_ref_id, | |
$a_value | |||
) |
Definition at line 2766 of file class.ilObjectListGUI.php.
References $_SESSION, $access, array, and getContainerObject().
ilObjectListGUI::enabledRelevance | ( | ) |
enabled relevance
Definition at line 378 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 457 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableIcon | ( | $a_status | ) |
En/Dis-able icons.
boolean | icons on/off |
Definition at line 417 of file class.ilObjectListGUI.php.
Referenced by ilStudyProgrammeIndividualPlanProgressListGUI\configureItemGUI(), ilStudyProgrammeExpandableProgressListGUI\configureItemGUI(), and ilObjOrgUnitListGUI\insertIconsAndCheckboxes().
ilObjectListGUI::enableInfoScreen | ( | $a_info_screen | ) |
En/disable path.
bool |
Definition at line 655 of file class.ilObjectListGUI.php.
Referenced by ilStudyProgrammeIndividualPlanProgressListGUI\configureItemGUI(), and ilStudyProgrammeExpandableProgressListGUI\configureItemGUI().
ilObjectListGUI::enableItemDetailLinks | ( | $a_status | ) |
enable item detail links E.g Direct links to chapters or pages
public
bool |
Definition at line 735 of file class.ilObjectListGUI.php.
Referenced by ilContainerObjectiveGUI\addItemDetails().
ilObjectListGUI::enableLink | ( | $a_status | ) |
En/disable link.
bool |
Definition at line 589 of file class.ilObjectListGUI.php.
Referenced by ilStudyProgrammeIndividualPlanProgressListGUI\configureItemGUI(), and ilStudyProgrammeExpandableProgressListGUI\configureItemGUI().
ilObjectListGUI::enableLinkedPath | ( | $a_status | ) |
Enable linked path.
bool |
Definition at line 369 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableMultiDownload | ( | $a_value | ) |
Toggles whether multiple objects can be downloaded at once or not.
boolean | $a_value | true, to allow downloading of multiple objects; otherwise, false. |
Definition at line 2720 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableNotes | ( | $a_value | ) |
Toogle notes action status.
boolean | $a_value |
Definition at line 2670 of file class.ilObjectListGUI.php.
References $ilSetting, and $settings.
Referenced by __construct().
ilObjectListGUI::enableNoticeProperties | ( | $a_status | ) |
En/disable notices.
bool |
Definition at line 301 of file class.ilObjectListGUI.php.
Referenced by ilStudyProgrammeIndividualPlanProgressListGUI\configureItemGUI(), and ilStudyProgrammeExpandableProgressListGUI\configureItemGUI().
ilObjectListGUI::enablePath | ( | $a_path, | |
$a_start_node = null |
|||
) |
En/disable path.
bool | |
int |
Definition at line 612 of file class.ilObjectListGUI.php.
ilObjectListGUI::enablePreconditions | ( | $a_status | ) |
En/disable preconditions.
bool |
Definition at line 283 of file class.ilObjectListGUI.php.
Referenced by ilStudyProgrammeIndividualPlanProgressListGUI\configureItemGUI(), and ilStudyProgrammeExpandableProgressListGUI\configureItemGUI().
ilObjectListGUI::enableProgressInfo | ( | $a_status | ) |
enable progress info
public
Definition at line 687 of file class.ilObjectListGUI.php.
Referenced by ilStudyProgrammeIndividualPlanProgressListGUI\configureItemGUI(), and ilStudyProgrammeExpandableProgressListGUI\configureItemGUI().
ilObjectListGUI::enableProperties | ( | $a_status | ) |
En/disable properties.
bool |
Definition at line 261 of file class.ilObjectListGUI.php.
Referenced by ilContainerObjectiveGUI\addItemDetails(), ilStudyProgrammeIndividualPlanProgressListGUI\configureItemGUI(), ilStudyProgrammeExpandableProgressListGUI\configureItemGUI(), and insertCommands().
ilObjectListGUI::enableRating | ( | $a_value, | |
$a_text = null , |
|||
$a_categories = false , |
|||
array | $a_ctrl_path = null |
||
) |
Toogle rating action status.
boolean | $a_value | |
string | $a_text | |
boolean | $a_categories | |
array | $a_ctrl_path |
Definition at line 2704 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableRelevance | ( | $a_status | ) |
ilObjectListGUI::enableRepositoryTransfer | ( | $a_value | ) |
Enable copy/move to repository (from personal workspace)
bool | $a_value |
Definition at line 932 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableSearchFragments | ( | $a_status | ) |
En/disable description.
bool |
Definition at line 357 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableSubscribe | ( | $a_status | ) |
En/disable subscribe.
bool |
Definition at line 567 of file class.ilObjectListGUI.php.
Referenced by ilStudyProgrammeIndividualPlanProgressListGUI\configureItemGUI(), and ilStudyProgrammeExpandableProgressListGUI\configureItemGUI().
ilObjectListGUI::enableSubstitutions | ( | $a_status | ) |
Enable substitutions.
public
Definition at line 711 of file class.ilObjectListGUI.php.
Referenced by ilObjIndividualAssessmentListGUI\init(), and ilObjSessionListGUI\init().
ilObjectListGUI::enableTags | ( | $a_value | ) |
Toogle tags action status.
boolean | $a_value |
Definition at line 2687 of file class.ilObjectListGUI.php.
Referenced by __construct(), ilStudyProgrammeIndividualPlanProgressListGUI\configureItemGUI(), ilStudyProgrammeExpandableProgressListGUI\configureItemGUI(), and ilTaggingClassificationProvider\initListGUI().
ilObjectListGUI::enableTimings | ( | $a_status | ) |
enable timings link
public
bool |
Definition at line 3680 of file class.ilObjectListGUI.php.
ilObjectListGUI::forceVisibleOnly | ( | $a_stat | ) |
Force visible access only.
type | $a_stat |
Definition at line 1323 of file class.ilObjectListGUI.php.
ilObjectListGUI::getAdditionalInformation | ( | ) |
Get additional information.
Definition at line 901 of file class.ilObjectListGUI.php.
References $additional_information.
Referenced by getListItemHTML().
ilObjectListGUI::getAlertProperties | ( | ) |
get all alert properties
Definition at line 1285 of file class.ilObjectListGUI.php.
References array, and getProperties().
ilObjectListGUI::getCheckboxStatus | ( | ) |
Are checkboxes enabled?
Definition at line 447 of file class.ilObjectListGUI.php.
References $checkboxes_enabled.
Referenced by ilObjStudyProgrammeListGUI\getListItemHTML(), and insertIconsAndCheckboxes().
ilObjectListGUI::getCommandFrame | ( | $a_cmd | ) |
Get command target frame.
Overwrite this method if link frame is not current frame
string | $a_cmd | command |
Definition at line 1133 of file class.ilObjectListGUI.php.
References ilDAVActivationChecker\_isActive().
Referenced by getCommands(), insertCommonSocialCommands(), ilObjOrgUnitListGUI\insertInfoScreenCommand(), and insertInfoScreenCommand().
ilObjectListGUI::getCommandId | ( | ) |
get command id Normally the ref id.
Overwritten for course and category references
public
Definition at line 881 of file class.ilObjectListGUI.php.
References $ref_id.
Referenced by getCommandLink(), insertCopyCommand(), insertCutCommand(), insertDeleteCommand(), insertIconsAndCheckboxes(), insertLinkCommand(), insertPasteCommand(), and insertSubscribeCommand().
ilObjectListGUI::getCommandImage | ( | $a_cmd | ) |
Get command icon image.
Overwrite this method if an icon is provided
string | $a_cmd | command |
Definition at line 1157 of file class.ilObjectListGUI.php.
Referenced by getCommands().
ilObjectListGUI::getCommandLink | ( | $a_cmd | ) |
Get command link url.
Overwrite this method, if link target is not build by ctrl class (e.g. "forum.php"). This is the case for all links now, but bringing everything to ilCtrl should be realised in the future.
string | $a_cmd | command |
Definition at line 1088 of file class.ilObjectListGUI.php.
References $_GET, ilDAVActivationChecker\_isActive(), getCommandId(), and ilDAVServer\getInstance().
Referenced by getCommands(), and insertInfoScreenCommand().
ilObjectListGUI::getCommands | ( | ) |
get all current commands for a specific ref id (in the permission context of the current user)
!!!NOTE!!!: Please use getListHTML() if you want to display the item including all commands
!!!NOTE 2!!!: Please do not overwrite this method in derived classes becaus it will get pretty large and much code will be simply copy-and-pasted. Insert smaller object type related method calls instead. (like getCommandLink() or getCommandFrame())
public
int | $a_ref_id | ref id of object |
Definition at line 1360 of file class.ilObjectListGUI.php.
References $access, $ilUser, $txt, $user, array, checkCommandAccess(), getCommandFrame(), getCommandImage(), and getCommandLink().
Referenced by insertCommands().
ilObjectListGUI::getCommandsHTML | ( | ) |
Get commands HTML (must be called after get list item html)
Definition at line 3545 of file class.ilObjectListGUI.php.
References insertCommands().
ilObjectListGUI::getCommandsStatus | ( | ) |
bool |
Definition at line 644 of file class.ilObjectListGUI.php.
References $commands_enabled.
Referenced by getListItemHTML(), insertCommands(), ilObjOrgUnitListGUI\insertIconsAndCheckboxes(), insertIconsAndCheckboxes(), ilCourseObjectiveListGUI\insertTitle(), and insertTitle().
ilObjectListGUI::getContainerObject | ( | ) |
get container object
public
Definition at line 223 of file class.ilObjectListGUI.php.
Referenced by enableDownloadCheckbox(), getListItemHTML(), insertCutCommand(), insertDeleteCommand(), ilObjOrgUnitListGUI\insertIconsAndCheckboxes(), insertLinkCommand(), insertMultiDownloadCommand(), insertPasteCommand(), ilCourseObjectiveListGUI\insertProgressInfo(), insertSubscribeCommand(), and ilCourseObjectiveListGUI\insertTitle().
ilObjectListGUI::getCopyStatus | ( | ) |
bool |
Definition at line 556 of file class.ilObjectListGUI.php.
References $copy_enabled.
ilObjectListGUI::getCustomProperties | ( | $a_prop | ) |
get custom properties
Definition at line 1271 of file class.ilObjectListGUI.php.
Referenced by insertProperties().
ilObjectListGUI::getCutStatus | ( | ) |
ilObjectListGUI::getDeleteStatus | ( | ) |
ilObjectListGUI::getDescription | ( | ) |
getDescription overwritten in class.ilObjLinkResourceList.php
Definition at line 829 of file class.ilObjectListGUI.php.
References $description.
Referenced by insertDescription().
ilObjectListGUI::getDescriptionStatus | ( | ) |
bool |
Definition at line 335 of file class.ilObjectListGUI.php.
References $description_enabled.
Referenced by getListItemHTML().
ilObjectListGUI::getDetailsLevel | ( | ) |
Get current details level.
Definition at line 922 of file class.ilObjectListGUI.php.
References $details_level.
Referenced by ilObjForumListGUI\getProperties(), ilObjSessionListGUI\getProperties(), and getProperties().
ilObjectListGUI::getDownloadCheckboxState | ( | ) |
Definition at line 2783 of file class.ilObjectListGUI.php.
References $download_checkbox_state.
Referenced by insertIconsAndCheckboxes().
ilObjectListGUI::getExpandStatus | ( | ) |
Is expand/collapse enabled.
Definition at line 467 of file class.ilObjectListGUI.php.
References $expand_enabled.
Referenced by insertIconsAndCheckboxes().
ilObjectListGUI::getHeaderAction | ( | ilTemplate | $a_main_tpl = null | ) |
Get header action.
Definition at line 2877 of file class.ilObjectListGUI.php.
References $comments_enabled, $DIC, $html, $id, $ilUser, $lng, $tags, $user, ilNote\_countNotesAndComments(), ilObject\_lookupType(), addHeaderGlyph(), addHeaderIconHTML(), ilTooltipGUI\addTooltip(), array, ilNoteGUI\getListCommentsJSCall(), ilNoteGUI\getListNotesJSCall(), ilTaggingGUI\getListTagsJSCall(), ilTagging\getTagsForUserAndObject(), IL_NOTE_PRIVATE, IL_NOTE_PUBLIC, ilUtil\img(), insertCommands(), and isCommentsActivated().
ilObjectListGUI::getIconImageType | ( | ) |
Returns the icon image type.
For most objects, this is same as the object type, e.g. 'cat','fold'. We can return here other values, to express a specific state of an object, e.g. 'crs_offline", and/or to express a specific kind of object, e.g. 'file_inline'.
Definition at line 1428 of file class.ilObjectListGUI.php.
References $type.
Referenced by ilObjOrgUnitListGUI\insertIconsAndCheckboxes(), and insertIconsAndCheckboxes().
ilObjectListGUI::getIconStatus | ( | ) |
Are icons enabled?
Definition at line 427 of file class.ilObjectListGUI.php.
References $icons_enabled.
Referenced by insertIconsAndCheckboxes().
ilObjectListGUI::getInfoScreenStatus | ( | ) |
bool |
Definition at line 675 of file class.ilObjectListGUI.php.
References $info_screen_enabled.
Referenced by insertCommands().
ilObjectListGUI::getItemDetailLinkStatus | ( | ) |
get item detail link status
public
Definition at line 746 of file class.ilObjectListGUI.php.
References $item_detail_links_enabled.
Referenced by getListItemHTML().
ilObjectListGUI::getLinkStatus | ( | ) |
ilObjectListGUI::getListItemHTML | ( | $a_ref_id, | |
$a_obj_id, | |||
$a_title, | |||
$a_description, | |||
$a_use_asynch = false , |
|||
$a_get_asynch_commands = false , |
|||
$a_asynch_url = "" |
|||
) |
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 3323 of file class.ilObjectListGUI.php.
References $ilUser, $type, $user, ilObjFileAccess\_isFileHidden(), ilObject\_lookupType(), addCustomProperty(), ilCommonActionDispatcherGUI\buildAjaxHash(), checkCommandAccess(), enabledRelevance(), getAdditionalInformation(), getCommandsStatus(), getContainerObject(), getDescriptionStatus(), getItemDetailLinkStatus(), getNoticePropertiesStatus(), getPreconditionsStatus(), getProgressInfoStatus(), getPropertiesStatus(), getSearchFragmentStatus(), getSeparateCommands(), getUniqueItemId(), ilRating\hasRatingInListGUI(), IL_LIST_AS_TRIGGER, initItem(), insertCommands(), insertDescription(), insertFileUpload(), insertIconsAndCheckboxes(), insertItemDetailLinks(), insertNoticeProperties(), insertPath(), insertPositionField(), insertPreconditions(), insertProgressInfo(), insertProperties(), insertRelevance(), insertSearchFragment(), insertSubItems(), insertTitle(), isFileUploadAllowed(), isMode(), resetCustomData(), setAjaxHash(), storeAccessCache(), ilCommonActionDispatcherGUI\TYPE_REPOSITORY, and ilCommonActionDispatcherGUI\TYPE_WORKSPACE.
ilObjectListGUI::getMode | ( | ) |
get output mode
Definition at line 1650 of file class.ilObjectListGUI.php.
ilObjectListGUI::getNoticeProperties | ( | ) |
get notice properties
Definition at line 1299 of file class.ilObjectListGUI.php.
Referenced by insertNoticeProperties().
ilObjectListGUI::getNoticePropertiesStatus | ( | ) |
Definition at line 290 of file class.ilObjectListGUI.php.
References $notice_properties_enabled.
Referenced by getListItemHTML().
ilObjectListGUI::getPathStatus | ( | ) |
bool |
Definition at line 623 of file class.ilObjectListGUI.php.
Referenced by insertPath().
ilObjectListGUI::getPreconditionsStatus | ( | ) |
bool |
Definition at line 313 of file class.ilObjectListGUI.php.
References $preconditions_enabled.
Referenced by getListItemHTML().
ilObjectListGUI::getProgressInfoStatus | ( | ) |
get progress info status
public
Definition at line 699 of file class.ilObjectListGUI.php.
References $progress_enabled.
Referenced by getListItemHTML().
ilObjectListGUI::getProperties | ( | ) |
Get item properties.
Overwrite this method to add properties at the bottom of the item html
Definition at line 1173 of file class.ilObjectListGUI.php.
References $ilUser, $lng, $user, ilDAVActivationChecker\_isActive(), array, and getDetailsLevel().
Referenced by getAlertProperties(), and insertProperties().
ilObjectListGUI::getPropertiesStatus | ( | ) |
bool |
Definition at line 273 of file class.ilObjectListGUI.php.
References $properties_enabled.
Referenced by getListItemHTML().
ilObjectListGUI::getRelevance | ( | ) |
get relevance
Definition at line 407 of file class.ilObjectListGUI.php.
References $relevance.
Referenced by insertRelevance().
ilObjectListGUI::getSearchFragment | ( | ) |
get search fragment
Definition at line 848 of file class.ilObjectListGUI.php.
References $search_fragment.
Referenced by insertSearchFragment().
ilObjectListGUI::getSearchFragmentStatus | ( | ) |
Show hide search result fragments.
bool |
Definition at line 346 of file class.ilObjectListGUI.php.
References $search_fragment_enabled.
Referenced by getListItemHTML().
ilObjectListGUI::getSeparateCommands | ( | ) |
Get separate commands.
Definition at line 868 of file class.ilObjectListGUI.php.
References $separate_commands.
Referenced by getListItemHTML().
ilObjectListGUI::getSubscribeStatus | ( | ) |
ilObjectListGUI::getSubstitutionStatus | ( | ) |
Get substitution status.
public
Definition at line 722 of file class.ilObjectListGUI.php.
References $substitutions_enabled.
Referenced by insertDescription().
ilObjectListGUI::getTitle | ( | ) |
getTitle overwritten in class.ilObjLinkResourceList.php
Definition at line 810 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 3519 of file class.ilObjectListGUI.php.
References $condition_depth, and $parent_ref_id.
Referenced by getListItemHTML(), insertCommands(), insertFileUpload(), and parseConditions().
ilObjectListGUI::init | ( | ) |
initialisation
this method should be overwritten by derived classes
Definition at line 234 of file class.ilObjectListGUI.php.
References ilObjectAccess\_getCommands().
Referenced by __construct().
ilObjectListGUI::initItem | ( | $a_ref_id, | |
$a_obj_id, | |||
$a_title = "" , |
|||
$a_description = "" |
|||
) |
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 996 of file class.ilObjectListGUI.php.
References ilObjSAHSLearningModuleAccess\_lookupUserIsOfflineMode(), array, setDescription(), and setTitle().
Referenced by getListItemHTML(), and ilCourseObjectiveListGUI\getObjectiveListItemHTML().
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 2002 of file class.ilObjectListGUI.php.
References ilFolderDownloadBackgroundTaskHandler\getObjectListAction(), and ilFolderDownloadBackgroundTaskHandler\isActive().
Referenced by insertCommands(), insertCommonSocialCommands(), insertCopyCommand(), insertCutCommand(), insertDeleteCommand(), ilObjOrgUnitListGUI\insertInfoScreenCommand(), insertInfoScreenCommand(), insertLinkCommand(), insertMultiDownloadCommand(), insertPasteCommand(), insertSubscribeCommand(), and insertTimingsCommand().
ilObjectListGUI::insertCommands | ( | $a_use_asynch = false , |
|
$a_get_asynch_commands = false , |
|||
$a_asynch_url = "" , |
|||
$a_header_actions = false |
|||
) |
insert all commands into html code
private
object | $a_tpl | template object |
int | $a_ref_id | item reference id |
Definition at line 2458 of file class.ilObjectListGUI.php.
References $ilUser, $lng, $txt, $user, ilContainer\_lookupContainerSetting(), addCustomProperty(), appendRepositoryFrameParameter(), array, createDefaultCommand(), defined, ilAdvancedSelectionListGUI\DOWN_ARROW_DARK, enableProperties(), getCommands(), getCommandsStatus(), getInfoScreenStatus(), getUniqueItemId(), IL_LIST_AS_TRIGGER, ilObjectServiceSettingsGUI\INFO_TAB_VISIBILITY, insertCommand(), insertCommonSocialCommands(), insertCopyCommand(), insertCutCommand(), insertDeleteCommand(), insertInfoScreenCommand(), insertLinkCommand(), insertMultiDownloadCommand(), insertPasteCommand(), insertSubscribeCommand(), insertTimingsCommand(), and isMode().
Referenced by getCommandsHTML(), getHeaderAction(), and getListItemHTML().
ilObjectListGUI::insertCommonSocialCommands | ( | $a_header_actions = false | ) |
Insert common social commands (comments, notes, tagging)
Definition at line 2346 of file class.ilObjectListGUI.php.
References $comments_enabled, $ilUser, $lng, $ref_id, $reference_ref_id, $user, getCommandFrame(), 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 2197 of file class.ilObjectListGUI.php.
References $obj_definition, checkCommandAccess(), getCommandId(), and insertCommand().
Referenced by insertCommands().
ilObjectListGUI::insertCutCommand | ( | $a_to_repository = false | ) |
insert cut command
protected
bool | $a_to_repository |
Definition at line 2140 of file class.ilObjectListGUI.php.
References checkCommandAccess(), getCommandId(), getContainerObject(), and insertCommand().
Referenced by insertCommands().
ilObjectListGUI::insertDeleteCommand | ( | ) |
insert cut command
private
object | $a_tpl | template object |
int | $a_ref_id | item reference id |
Definition at line 2046 of file class.ilObjectListGUI.php.
References checkCommandAccess(), getCommandId(), getContainerObject(), and insertCommand().
Referenced by insertCommands().
ilObjectListGUI::insertDescription | ( | ) |
insert item description
private
object | $a_tpl | template object |
string | $a_desc | item description |
Definition at line 1585 of file class.ilObjectListGUI.php.
References $d, getDescription(), getSubstitutionStatus(), and insertSubstitutions().
Referenced by getListItemHTML(), and ilCourseObjectiveListGUI\getObjectiveListItemHTML().
ilObjectListGUI::insertFileUpload | ( | ) |
Inserts a file upload component.
Definition at line 3700 of file class.ilObjectListGUI.php.
References getUniqueItemId(), and ilFileUploadGUI\initFileUpload().
Referenced by getListItemHTML().
ilObjectListGUI::insertIconsAndCheckboxes | ( | ) |
Insert icons and checkboxes.
Definition at line 3174 of file class.ilObjectListGUI.php.
References $lng, $obj_definition, ilObject\_getIcon(), getCheckboxStatus(), getCommandId(), getCommandsStatus(), getDownloadCheckboxState(), getExpandStatus(), getIconImageType(), getIconStatus(), ilUtil\getImagePath(), isExpanded(), and ilObjectPlugin\lookupTxtById().
Referenced by getListItemHTML(), and ilCourseObjectiveListGUI\getObjectiveListItemHTML().
ilObjectListGUI::insertInfoScreenCommand | ( | ) |
insert info screen command
Definition at line 2325 of file class.ilObjectListGUI.php.
References getCommandFrame(), getCommandLink(), ilUtil\getImagePath(), and insertCommand().
Referenced by insertCommands().
ilObjectListGUI::insertItemDetailLinks | ( | ) |
insert item detail links
public
Definition at line 771 of file class.ilObjectListGUI.php.
References $info.
Referenced by getListItemHTML().
ilObjectListGUI::insertLinkCommand | ( | ) |
insert link command
private
object | $a_tpl | template object |
int | $a_ref_id | item reference id |
Definition at line 2089 of file class.ilObjectListGUI.php.
References $obj_definition, checkCommandAccess(), getCommandId(), getContainerObject(), and insertCommand().
Referenced by insertCommands().
ilObjectListGUI::insertMultiDownloadCommand | ( | ) |
Definition at line 2729 of file class.ilObjectListGUI.php.
References $_GET, $obj_definition, ilObject\_lookupType(), getContainerObject(), insertCommand(), and user().
Referenced by insertCommands().
ilObjectListGUI::insertNoticeProperties | ( | ) |
Definition at line 1835 of file class.ilObjectListGUI.php.
References getNoticeProperties().
Referenced by getListItemHTML().
ilObjectListGUI::insertPasteCommand | ( | ) |
Insert paste command.
Definition at line 2237 of file class.ilObjectListGUI.php.
References $_SESSION, $obj_definition, ilObject\_lookupType(), getCommandId(), getContainerObject(), and insertCommand().
Referenced by insertCommands().
ilObjectListGUI::insertPath | ( | ) |
insert path
Definition at line 3134 of file class.ilObjectListGUI.php.
References $lng, and getPathStatus().
Referenced by getListItemHTML().
ilObjectListGUI::insertPositionField | ( | ) |
Insert field for positioning.
Definition at line 3274 of file class.ilObjectListGUI.php.
Referenced by getListItemHTML(), and ilCourseObjectiveListGUI\getObjectiveListItemHTML().
ilObjectListGUI::insertPreconditions | ( | ) |
insert all missing preconditions
Definition at line 1951 of file class.ilObjectListGUI.php.
References $i, ilConditionHandler\_getConditionsOfTarget(), ilObject\_lookupTitle(), parseConditions(), and ilUtil\sortArray().
Referenced by getListItemHTML().
ilObjectListGUI::insertProgressInfo | ( | ) |
insert progress info
public
Definition at line 3165 of file class.ilObjectListGUI.php.
Referenced by getListItemHTML().
ilObjectListGUI::insertProperties | ( | ) |
insert properties
private
Definition at line 1684 of file class.ilObjectListGUI.php.
References $access, $ilUser, $lng, $obj_id, $ref_id, $reference_ref_id, $tag, $tags, $user, array, getCustomProperties(), ilNoteGUI\getListCommentsJSCall(), ilLPStatus\getListGUIStatus(), ilNoteGUI\getListNotesJSCall(), ilTaggingGUI\getListTagsJSCall(), getProperties(), IL_NOTE_PRIVATE, IL_NOTE_PUBLIC, and isCommentsActivated().
Referenced by getListItemHTML().
ilObjectListGUI::insertRelevance | ( | ) |
insert relevance
Definition at line 1620 of file class.ilObjectListGUI.php.
References enabledRelevance(), ilProgressBar\getInstance(), and getRelevance().
Referenced by getListItemHTML().
ilObjectListGUI::insertSearchFragment | ( | ) |
Insert highlighted search fragment.
Definition at line 1606 of file class.ilObjectListGUI.php.
References getSearchFragment().
Referenced by getListItemHTML().
ilObjectListGUI::insertSubItems | ( | ) |
Insert subitems.
Definition at line 3262 of file class.ilObjectListGUI.php.
Referenced by getListItemHTML(), and ilCourseObjectiveListGUI\getObjectiveListItemHTML().
ilObjectListGUI::insertSubscribeCommand | ( | ) |
insert subscribe command
private
object | $a_tpl | template object |
int | $a_ref_id | item reference id |
Definition at line 2268 of file class.ilObjectListGUI.php.
References $ilSetting, $ilUser, $settings, $type, $user, ilObject\_lookupObjId(), ilObject\_lookupType(), checkCommandAccess(), getCommandId(), getContainerObject(), and insertCommand().
Referenced by insertCommands().
ilObjectListGUI::insertSubstitutions | ( | ) |
Insert substitutions.
public
Definition at line 1551 of file class.ilObjectListGUI.php.
References $data.
Referenced by insertDescription().
ilObjectListGUI::insertTimingsCommand | ( | ) |
insert edit timings command
protected
Definition at line 2412 of file class.ilObjectListGUI.php.
References $parent_ref_id, array, checkCommandAccess(), and insertCommand().
Referenced by insertCommands().
ilObjectListGUI::insertTitle | ( | ) |
insert item title
private
object | $a_tpl | template object |
string | $a_title | item title |
Definition at line 1444 of file class.ilObjectListGUI.php.
References $access, $context, $preview, appendRepositoryFrameParameter(), array, buildGotoLink(), ilPreviewGUI\CONTEXT_REPOSITORY, ilPreviewGUI\CONTEXT_WORKSPACE, getCommandsStatus(), ilUtil\getImagePath(), getTitle(), ilPreview\hasPreview(), ilPreview\lookupRenderStatus(), modifySAHSlaunch(), modifyTitleLink(), and ilPreview\RENDER_STATUS_NONE.
Referenced by 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 3648 of file class.ilObjectListGUI.php.
References $a_type, checkCommandAccess(), and ilNote\commentsActivated().
Referenced by getHeaderAction(), insertCommonSocialCommands(), and insertProperties().
ilObjectListGUI::isExpanded | ( | ) |
Definition at line 477 of file class.ilObjectListGUI.php.
References $is_expanded.
Referenced by insertIconsAndCheckboxes().
ilObjectListGUI::isFileUploadAllowed | ( | ) |
Gets a value indicating whether file uploads to this object are allowed or not.
Definition at line 3690 of file class.ilObjectListGUI.php.
References ilFileUploadUtil\isUploadAllowed().
Referenced by getListItemHTML().
ilObjectListGUI::isMode | ( | $a_mode | ) |
check current output mode
string | $a_mode | (IL_LIST_FULL | IL_LIST_AS_TRIGGER) |
Definition at line 1670 of file class.ilObjectListGUI.php.
Referenced by getListItemHTML(), and insertCommands().
ilObjectListGUI::isSideBlock | ( | ) |
Returns whether current item is a block in a side column or not.
Definition at line 3553 of file class.ilObjectListGUI.php.
ilObjectListGUI::isTitleBold | ( | ) |
public
Definition at line 3573 of file class.ilObjectListGUI.php.
References $bold_title.
ilObjectListGUI::isVisibleOnlyForced | ( | ) |
Force unreadable.
Definition at line 1332 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 3110 of file class.ilObjectListGUI.php.
References $DIC.
Referenced by insertTitle().
|
protected |
Definition at line 3087 of file class.ilObjectListGUI.php.
References $name, $params, and array.
Referenced by insertTitle().
|
protected |
Definition at line 1847 of file class.ilObjectListGUI.php.
References $lng, $location, $obj_definition, $ok, $tree, ilConditionHandler\_checkCondition(), ilObject\_lookupTitle(), array, ilConditionHandler\calculateRequiredTriggers(), ilMemberViewSettings\getInstance(), ilConditionHandler\getOptionalConditionsOfTarget(), getUniqueItemId(), IL_LIST_AS_TRIGGER, and ilConditionHandlerGUI\translateOperator().
Referenced by insertPreconditions().
|
static |
Preload common properties.
Definition at line 3584 of file class.ilObjectListGUI.php.
References $DIC, $ilSetting, $ilUser, $lng, $tags, ilNote\_countNotesAndCommentsMultiple(), ilTagging\_countTags(), ilTagging\_getListTagsForObjects(), and ilNote\getRepObjActivation().
Referenced by ilObjectListGUIPreloader\preload().
|
static |
Insert js/ajax links into template.
Definition at line 2791 of file class.ilObjectListGUI.php.
References $DIC, $tpl, IL_NOTE_PRIVATE, ilTaggingGUI\initJavascript(), and ilNoteGUI\initJavascript().
Referenced by ilObjWorkspaceFolderGUI\render().
ilObjectListGUI::resetConditionTarget | ( | ) |
|
protected |
reset properties and commands
Definition at line 3494 of file class.ilObjectListGUI.php.
References array.
Referenced by getListItemHTML().
ilObjectListGUI::restrictToGoto | ( | $a_value | ) |
Restrict all actions/links to goto.
bool | $a_value |
Definition at line 942 of file class.ilObjectListGUI.php.
ilObjectListGUI::setAdditionalInformation | ( | $a_val | ) |
Set additional information.
string | additional information |
Definition at line 891 of file class.ilObjectListGUI.php.
Referenced by ilObjStudyProgrammeListGUI\getListItemHTML().
ilObjectListGUI::setAjaxHash | ( | $a_hash | ) |
Definition at line 2867 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 3563 of file class.ilObjectListGUI.php.
ilObjectListGUI::setConditionDepth | ( | $a_depth | ) |
set depth for precondition output (stops at level 5)
Definition at line 1658 of file class.ilObjectListGUI.php.
ilObjectListGUI::setConditionTarget | ( | $a_ref_id, | |
$a_obj_id, | |||
$a_target_type | |||
) |
Definition at line 1015 of file class.ilObjectListGUI.php.
References array.
Referenced by ilContainerObjectiveGUI\addItemDetails().
ilObjectListGUI::setContainerObject | ( | $container_obj | ) |
set the container object (e.g categorygui) Used for link, delete ...
commands
this method should be overwritten by derived classes
Definition at line 211 of file class.ilObjectListGUI.php.
ilObjectListGUI::setDefaultCommandParameters | ( | array | $a_params | ) |
Definition at line 1035 of file class.ilObjectListGUI.php.
Referenced by ilContainerObjectiveGUI\addItemDetails().
ilObjectListGUI::setDescription | ( | $a_description | ) |
string | description |
Definition at line 819 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 913 of file class.ilObjectListGUI.php.
ilObjectListGUI::setExpanded | ( | $a_status | ) |
Definition at line 472 of file class.ilObjectListGUI.php.
ilObjectListGUI::setHeaderSubObject | ( | $a_type, | |
$a_id | |||
) |
Set sub object identifier.
string | $a_type | |
int | $a_id |
Definition at line 2823 of file class.ilObjectListGUI.php.
References $a_type.
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 758 of file class.ilObjectListGUI.php.
Referenced by ilContainerObjectiveGUI\addItemDetails().
ilObjectListGUI::setMode | ( | $a_mode | ) |
set output mode
string | $a_mode | output mode (IL_LIST_FULL | IL_LIST_AS_TRIGGER) |
Definition at line 1640 of file class.ilObjectListGUI.php.
ilObjectListGUI::setParentRefId | ( | $a_ref_id | ) |
Set current parent ref id to enable unique js-ids (sessions, etc.)
string | $a_ref_id |
Definition at line 3508 of file class.ilObjectListGUI.php.
Referenced by __construct().
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 487 of file class.ilObjectListGUI.php.
ilObjectListGUI::setRelevance | ( | $a_rel | ) |
ilObjectListGUI::setSearchFragment | ( | $a_text | ) |
set search fragment
string | $a_text | highlighted search fragment |
Definition at line 839 of file class.ilObjectListGUI.php.
ilObjectListGUI::setSeparateCommands | ( | $a_val | ) |
Set separate commands.
boolean | separate commands |
Definition at line 858 of file class.ilObjectListGUI.php.
ilObjectListGUI::setTitle | ( | $a_title | ) |
string | title |
Definition at line 800 of file class.ilObjectListGUI.php.
Referenced by initItem().
ilObjectListGUI::storeAccessCache | ( | ) |
Store access cache.
Definition at line 3296 of file class.ilObjectListGUI.php.
References $ilUser, $ref_id, and $user.
Referenced by getListItemHTML().
|
protected |
Definition at line 28 of file class.ilObjectListGUI.php.
Referenced by checkCommandAccess(), enableDownloadCheckbox(), getCommands(), ilObjCategoryReferenceListGUI\initItem(), insertProperties(), and insertTitle().
|
protected |
Definition at line 124 of file class.ilObjectListGUI.php.
Referenced by getAdditionalInformation().
|
protected |
Definition at line 115 of file class.ilObjectListGUI.php.
Referenced by isTitleBold().
|
protected |
Definition at line 99 of file class.ilObjectListGUI.php.
Referenced by getCheckboxStatus().
|
staticprotected |
Definition at line 147 of file class.ilObjectListGUI.php.
|
staticprotected |
Definition at line 148 of file class.ilObjectListGUI.php.
ilObjectListGUI::$commands_enabled = true |
Definition at line 79 of file class.ilObjectListGUI.php.
Referenced by getCommandsStatus().
|
staticprotected |
Definition at line 150 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 131 of file class.ilObjectListGUI.php.
Referenced by getHeaderAction(), insertCommonSocialCommands(), and ilOrgUnitExtensionListGUI\isCommentsActivated().
|
protected |
Definition at line 132 of file class.ilObjectListGUI.php.
ilObjectListGUI::$condition_depth = 0 |
Definition at line 83 of file class.ilObjectListGUI.php.
Referenced by getUniqueItemId().
|
protected |
Definition at line 145 of file class.ilObjectListGUI.php.
Referenced by insertTitle().
|
protected |
Definition at line 117 of file class.ilObjectListGUI.php.
Referenced by getCopyStatus().
ilObjectListGUI::$ctrl |
Definition at line 74 of file class.ilObjectListGUI.php.
Referenced by ilObjWorkspaceRootFolderListGUI\getCommandLink(), ilObjFileBasedLMListGUI\getCommandLink(), ilObjLearningModuleListGUI\getCommandLink(), ilObjBookingPoolListGUI\getCommandLink(), ilObjFolderListGUI\getCommandLink(), ilObjItemGroupListGUI\getCommandLink(), ilObjCategoryListGUI\getCommandLink(), and ilObjCategoryReferenceListGUI\getCommandLink().
ilObjectListGUI::$cust_commands = array() |
Definition at line 81 of file class.ilObjectListGUI.php.
ilObjectListGUI::$cust_prop = array() |
Definition at line 80 of file class.ilObjectListGUI.php.
ilObjectListGUI::$description_enabled = true |
Definition at line 75 of file class.ilObjectListGUI.php.
Referenced by getDescriptionStatus().
|
protected |
Definition at line 119 of file class.ilObjectListGUI.php.
Referenced by getDetailsLevel().
ilObjectListGUI::$download_checkbox_state = self::DOWNLOAD_CHECKBOX_NONE |
Definition at line 87 of file class.ilObjectListGUI.php.
Referenced by getDownloadCheckboxState().
|
protected |
Definition at line 110 of file class.ilObjectListGUI.php.
Referenced by enabledRelevance().
|
protected |
Definition at line 113 of file class.ilObjectListGUI.php.
Referenced by getExpandStatus().
|
protected |
Definition at line 142 of file class.ilObjectListGUI.php.
Referenced by isVisibleOnlyForced().
|
protected |
Definition at line 98 of file class.ilObjectListGUI.php.
Referenced by getIconStatus().
ilObjectListGUI::$info_screen_enabled = false |
Definition at line 82 of file class.ilObjectListGUI.php.
Referenced by ilObjCategoryListGUI\getInfoScreenStatus(), and getInfoScreenStatus().
|
protected |
Definition at line 114 of file class.ilObjectListGUI.php.
Referenced by isExpanded().
|
protected |
Definition at line 103 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 102 of file class.ilObjectListGUI.php.
Referenced by getItemDetailLinkStatus().
|
protected |
Definition at line 104 of file class.ilObjectListGUI.php.
|
staticprotected |
Definition at line 156 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 33 of file class.ilObjectListGUI.php.
Referenced by ilObjItemGroupListGUI\__construct(), ilObjStudyProgrammeListGUI\__construct(), ilObjSessionListGUI\__construct(), getHeaderAction(), ilObjTestVerificationListGUI\getProperties(), ilObjPortfolioTemplateListGUI\getProperties(), ilObjSCORMVerificationListGUI\getProperties(), ilObjCourseVerificationListGUI\getProperties(), ilObjExerciseVerificationListGUI\getProperties(), ilObjBibliographicListGUI\getProperties(), ilObjDataCollectionListGUI\getProperties(), ilObjPollListGUI\getProperties(), ilObjCourseListGUI\getProperties(), ilObjExerciseListGUI\getProperties(), ilObjMediaCastListGUI\getProperties(), ilObjWikiListGUI\getProperties(), ilObjCloudListGUI\getProperties(), ilObjMediaPoolListGUI\getProperties(), ilObjBookingPoolListGUI\getProperties(), ilObjRemoteWikiListGUI\getProperties(), ilObjRemoteCategoryListGUI\getProperties(), ilObjRemoteCourseListGUI\getProperties(), ilObjRemoteFileListGUI\getProperties(), ilObjRemoteTestListGUI\getProperties(), ilObjRemoteGlossaryListGUI\getProperties(), ilObjRemoteGroupListGUI\getProperties(), ilObjRemoteLearningModuleListGUI\getProperties(), ilObjQuestionPoolListGUI\getProperties(), ilObjExternalFeedListGUI\getProperties(), ilObjTestListGUI\getProperties(), ilObjFileBasedLMListGUI\getProperties(), ilObjSurveyQuestionPoolListGUI\getProperties(), ilObjLinkResourceListGUI\getProperties(), ilObjGlossaryListGUI\getProperties(), ilObjGroupListGUI\getProperties(), ilObjSurveyListGUI\getProperties(), ilObjGroupReferenceListGUI\getProperties(), ilObjectPluginListGUI\getProperties(), ilObjCourseReferenceListGUI\getProperties(), ilObjLearningModuleListGUI\getProperties(), ilObjCategoryReferenceListGUI\getProperties(), ilObjSAHSLearningModuleListGUI\getProperties(), getProperties(), ilObjCloudListGUI\init(), insertCommands(), insertCommonSocialCommands(), ilObjOrgUnitListGUI\insertIconsAndCheckboxes(), insertIconsAndCheckboxes(), insertPath(), ilCourseObjectiveListGUI\insertProgressInfo(), insertProperties(), parseConditions(), and preloadCommonProperties().
ilObjectListGUI::$multi_download_enabled = false |
Definition at line 86 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 133 of file class.ilObjectListGUI.php.
ilObjectListGUI::$notice_properties_enabled = true |
Definition at line 78 of file class.ilObjectListGUI.php.
Referenced by getNoticePropertiesStatus().
|
protected |
Definition at line 43 of file class.ilObjectListGUI.php.
Referenced by insertCopyCommand(), insertIconsAndCheckboxes(), insertLinkCommand(), insertMultiDownloadCommand(), insertPasteCommand(), and parseConditions().
|
protected |
Definition at line 89 of file class.ilObjectListGUI.php.
Referenced by ilObjSessionListGUI\getAppointmentInfo(), ilObjFileBasedLMListGUI\getCommandFrame(), ilObjSAHSLearningModuleListGUI\getCommandFrame(), ilObjCourseListGUI\getProperties(), ilObjGroupListGUI\getProperties(), ilObjOrgUnitListGUI\insertIconsAndCheckboxes(), ilCourseObjectiveListGUI\insertProgressInfo(), insertProperties(), and ilCourseObjectiveListGUI\insertTitle().
|
protected |
Definition at line 144 of file class.ilObjectListGUI.php.
Referenced by getUniqueItemId(), and insertTimingsCommand().
|
protected |
Definition at line 108 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 100 of file class.ilObjectListGUI.php.
ilObjectListGUI::$preconditions_enabled = true |
Definition at line 76 of file class.ilObjectListGUI.php.
Referenced by getPreconditionsStatus().
|
staticprotected |
Definition at line 151 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 143 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 101 of file class.ilObjectListGUI.php.
Referenced by getProgressInfoStatus().
ilObjectListGUI::$properties_enabled = true |
Definition at line 77 of file class.ilObjectListGUI.php.
Referenced by getPropertiesStatus().
|
protected |
Definition at line 137 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 139 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 136 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 138 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 90 of file class.ilObjectListGUI.php.
Referenced by getCommandId(), ilObjFileBasedLMListGUI\getCommandLink(), ilObjGlossaryListGUI\getCommandLink(), ilObjLearningModuleListGUI\getCommandLink(), ilObjSAHSLearningModuleListGUI\getCommandLink(), insertCommonSocialCommands(), insertProperties(), ilObjTestListGUI\modifyTitleLink(), and storeAccessCache().
|
protected |
Definition at line 121 of file class.ilObjectListGUI.php.
Referenced by insertCommonSocialCommands(), and insertProperties().
|
protected |
Definition at line 111 of file class.ilObjectListGUI.php.
Referenced by getRelevance().
|
protected |
Definition at line 127 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 129 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 107 of file class.ilObjectListGUI.php.
Referenced by getSearchFragment().
|
protected |
Definition at line 123 of file class.ilObjectListGUI.php.
Referenced by getSearchFragmentStatus().
|
protected |
Definition at line 106 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 122 of file class.ilObjectListGUI.php.
Referenced by getSeparateCommands().
|
protected |
Definition at line 53 of file class.ilObjectListGUI.php.
Referenced by enableComments(), enableNotes(), and insertSubscribeCommand().
|
protected |
Definition at line 128 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 125 of file class.ilObjectListGUI.php.
ilObjectListGUI::$std_cmd_only = false |
Definition at line 84 of file class.ilObjectListGUI.php.
ilObjectListGUI::$sub_item_html = array() |
Definition at line 85 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 92 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 93 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 95 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 96 of file class.ilObjectListGUI.php.
Referenced by getSubstitutionStatus().
|
staticprotected |
Definition at line 149 of file class.ilObjectListGUI.php.
Referenced by getHeaderAction().
|
protected |
Definition at line 134 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 141 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 153 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 154 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 58 of file class.ilObjectListGUI.php.
Referenced by prepareJsLinks().
|
staticprotected |
Definition at line 160 of file class.ilObjectListGUI.php.
|
staticprotected |
Definition at line 159 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 48 of file class.ilObjectListGUI.php.
Referenced by ilObjGroupReferenceListGUI\getProperties(), ilObjCourseReferenceListGUI\getProperties(), ilObjCategoryReferenceListGUI\getProperties(), ilObjGroupReferenceListGUI\initItem(), ilObjCourseReferenceListGUI\initItem(), ilObjCategoryReferenceListGUI\initItem(), and parseConditions().
|
protected |
Definition at line 91 of file class.ilObjectListGUI.php.
Referenced by ilObjFileListGUI\getIconImageType(), getIconImageType(), getListItemHTML(), ilObjSAHSLearningModuleListGUI\getProperties(), ilObjectPluginListGUI\getType(), and insertSubscribeCommand().
|
protected |
Definition at line 165 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 38 of file class.ilObjectListGUI.php.
Referenced by getCommands(), getHeaderAction(), getListItemHTML(), ilObjExerciseListGUI\getProperties(), ilObjWikiListGUI\getProperties(), ilObjMediaCastListGUI\getProperties(), ilObjMediaPoolListGUI\getProperties(), ilObjExternalFeedListGUI\getProperties(), ilObjSurveyQuestionPoolListGUI\getProperties(), ilObjSurveyListGUI\getProperties(), ilObjectPluginListGUI\getProperties(), ilObjCategoryReferenceListGUI\getProperties(), getProperties(), insertCommands(), insertCommonSocialCommands(), insertProperties(), insertSubscribeCommand(), and storeAccessCache().
const ilObjectListGUI::CONTEXT_PERSONAL_DESKTOP = 5 |
Definition at line 67 of file class.ilObjectListGUI.php.
Referenced by ilStudyProgrammeExpandableProgressListGUI\getAccordionContentCoursesHTML(), ilObjectListGUIPreloader\preload(), and ilPDSelectedItemsBlockViewGUI\preloadItemGroups().
const ilObjectListGUI::CONTEXT_REPOSITORY = 1 |
Definition at line 64 of file class.ilObjectListGUI.php.
Referenced by ilClassificationBlockGUI\filterContainer(), ilContainerStartObjectsContentTableGUI\getItems(), ilContainer\getSubItems(), ilCommonActionDispatcherGUI\initHeaderAction(), and ilObjectListGUIPreloader\preload().
const ilObjectListGUI::CONTEXT_SEARCH = 6 |
Definition at line 68 of file class.ilObjectListGUI.php.
Referenced by ilObjectListGUIPreloader\preload(), and ilSearchResultPresentation\renderItemList().
const ilObjectListGUI::CONTEXT_WORKSPACE = 2 |
Definition at line 65 of file class.ilObjectListGUI.php.
Referenced by ilObjWorkspaceFolderTableGUI\fillRow(), ilObjWorkspaceFolderTableGUI\getItems(), and ilCommonActionDispatcherGUI\initHeaderAction().
const ilObjectListGUI::CONTEXT_WORKSPACE_SHARING = 4 |
Definition at line 66 of file class.ilObjectListGUI.php.
const ilObjectListGUI::DETAILS_ALL = 30 |
Definition at line 62 of file class.ilObjectListGUI.php.
Referenced by ilObjWorkspaceFolderTableGUI\fillRow(), ilObjForumListGUI\getProperties(), ilObjSessionListGUI\getProperties(), and ilContainerContentGUI\renderItem().
const ilObjectListGUI::DETAILS_MINIMAL = 10 |
Definition at line 60 of file class.ilObjectListGUI.php.
Referenced by ilObjSessionListGUI\getProperties(), and ilContainerContentGUI\renderItem().
const ilObjectListGUI::DETAILS_SEARCH = 20 |
Definition at line 61 of file class.ilObjectListGUI.php.
Referenced by ilLuceneSearchObjectListGUIFactory\factory().
const ilObjectListGUI::DOWNLOAD_CHECKBOX_DISABLED = 2 |
Definition at line 72 of file class.ilObjectListGUI.php.
const ilObjectListGUI::DOWNLOAD_CHECKBOX_ENABLED = 1 |
Definition at line 71 of file class.ilObjectListGUI.php.
const ilObjectListGUI::DOWNLOAD_CHECKBOX_NONE = 0 |
Definition at line 70 of file class.ilObjectListGUI.php.