ILIAS
Release_4_4_x_branch Revision 61816
|
Class ilObjectListGUI. More...
Public Member Functions | |
ilObjectListGUI () | |
constructor | |
setContainerObject ($container_obj) | |
set the container object (e.g categorygui) Used for link, delete ... | |
getContainerObject () | |
get container object | |
init () | |
initialisation | |
enableProperties ($a_status) | |
En/disable properties. | |
getPropertiesStatus () | |
enablePreconditions ($a_status) | |
En/disable preconditions. | |
getNoticePropertiesStatus () | |
enableNoticeProperties ($a_status) | |
En/disable notices. | |
getPreconditionsStatus () | |
enableDescription ($a_status) | |
En/disable description. | |
getDescriptionStatus () | |
getSearchFragmentStatus () | |
Show hide search result fragments. | |
enableSearchFragments ($a_status) | |
En/disable description. | |
enableLinkedPath ($a_status) | |
Enable linked path. | |
enabledRelevance () | |
enabled relevance | |
enableRelevance ($a_status) | |
enable relevance | |
setRelevance ($a_rel) | |
set relevance | |
getRelevance () | |
get relevance | |
enableIcon ($a_status) | |
En/Dis-able icons. | |
getIconStatus () | |
Are icons enabled? | |
enableCheckbox ($a_status) | |
En/Dis-able checkboxes. | |
getCheckboxStatus () | |
Are checkboxes enabled? | |
enableExpand ($a_status) | |
En/Dis-able expand/collapse link. | |
getExpandStatus () | |
Is expand/collapse enabled. | |
setExpanded ($a_status) | |
isExpanded () | |
setPositionInputField ($a_field_index, $a_position_value) | |
Set position input field. | |
enableDelete ($a_status) | |
En/disable delete. | |
getDeleteStatus () | |
enableCut ($a_status) | |
En/disable cut. | |
getCutStatus () | |
enableCopy ($a_status) | |
En/disable copy. | |
getCopyStatus () | |
enableSubscribe ($a_status) | |
En/disable subscribe. | |
getSubscribeStatus () | |
enablePayment ($a_status) | |
En/disable payment. | |
getPaymentStatus () | |
enableLink ($a_status) | |
En/disable link. | |
getLinkStatus () | |
enablePath ($a_path) | |
En/disable path. | |
getPathStatus () | |
enableCommands ($a_status, $a_std_only=false) | |
En/disable commands. | |
getCommandsStatus () | |
enableInfoScreen ($a_info_screen) | |
En/disable path. | |
addSubItemHTML ($a_html) | |
Add HTML for subitem (used for sessions) | |
getInfoScreenStatus () | |
enableProgressInfo ($a_status) | |
enable progress info | |
getProgressInfoStatus () | |
get progress info status | |
enableSubstitutions ($a_status) | |
Enable substitutions. | |
getSubstitutionStatus () | |
Get substitution status. | |
enableItemDetailLinks ($a_status) | |
enable item detail links E.g Direct links to chapters or pages | |
getItemDetailLinkStatus () | |
get item detail link status | |
setItemDetailLinks ($a_detail_links, $a_intro_txt= '') | |
set items detail links | |
insertItemDetailLinks () | |
insert item detail links | |
setTitle ($a_title) | |
getTitle () | |
getTitle overwritten in class.ilObjLinkResourceList.php | |
setDescription ($a_description) | |
getDescription () | |
getDescription overwritten in class.ilObjLinkResourceList.php | |
setSearchFragment ($a_text) | |
set search fragment | |
getSearchFragment () | |
get search fragment | |
setSeparateCommands ($a_val) | |
Set separate commands. | |
getSeparateCommands () | |
Get separate commands. | |
getCommandId () | |
get command id Normally the ref id. | |
setAdditionalInformation ($a_val) | |
Set additional information. | |
getAdditionalInformation () | |
Get additional information. | |
setDetailsLevel ($a_level) | |
Details level Currently used in Search which shows only limited properties of forums Currently used for Sessions (switch between minimal and extended view for each session) | |
getDetailsLevel () | |
Get current details level. | |
enableRepositoryTransfer ($a_value) | |
Enable copy/move to repository (from personal workspace) | |
restrictToGoto ($a_value) | |
Restrict all actions/links to goto. | |
checkCommandAccess ($a_permission, $a_cmd, $a_ref_id, $a_type, $a_obj_id="") | |
initItem ($a_ref_id, $a_obj_id, $a_title="", $a_description="", $a_context=self::CONTEXT_REPOSITORY) | |
inititialize new item (is called by getItemHTML()) | |
createDefaultCommand ($command) | |
Get default command link Overwritten for e.g categories,courses => they return a goto link If search engine visibility is enabled these object type return a goto_CLIENT_ID_cat_99.html link. | |
getCommandLink ($a_cmd) | |
Get command link url. | |
getCommandFrame ($a_cmd) | |
Get command target frame. | |
getCommandImage ($a_cmd) | |
Get command icon image. | |
getProperties ($a_item= '') | |
Get item properties. | |
addCustomProperty ($a_property="", $a_value="", $a_alert=false, $a_newline=false) | |
add custom property | |
getCustomProperties ($a_prop) | |
get custom properties | |
getAlertProperties () | |
get all alert properties | |
getNoticeProperties () | |
get notice properties | |
addCustomCommand ($a_link, $a_lang_var, $a_frame="", $onclick="") | |
add a custom command | |
forceVisibleOnly ($a_stat) | |
Force visible access only. | |
isVisibleOnlyForced () | |
Force unreadable. | |
getCommands () | |
get all current commands for a specific ref id (in the permission context of the current user) | |
getIconImageType () | |
Returns the icon image type. | |
insertTitle () | |
insert item title | |
insertSubstitutions () | |
Insert substitutions. | |
insertDescription () | |
insert item description | |
insertSearchFragment () | |
Insert highlighted search fragment. | |
insertRelevance () | |
insert relevance | |
setMode ($a_mode) | |
set output mode | |
getMode () | |
get output mode | |
setConditionDepth ($a_depth) | |
set depth for precondition output (stops at level 5) | |
isMode ($a_mode) | |
check current output mode | |
insertProperties ($a_item= '') | |
insert properties | |
insertNoticeProperties () | |
insertPayment () | |
insert payment information | |
insertPreconditions () | |
insert all missing preconditions | |
insertCommand ($a_href, $a_text, $a_frame="", $a_img="", $a_cmd="", $a_onclick="") | |
insert command button | |
insertDeleteCommand () | |
insert cut command | |
insertLinkCommand () | |
insert link command | |
insertCutCommand ($a_to_repository=false) | |
insert cut command | |
insertCopyCommand ($a_to_repository=false) | |
Insert copy command. | |
insertPasteCommand () | |
Insert paste command. | |
insertSubscribeCommand () | |
insert subscribe command | |
insertInfoScreenCommand () | |
insert info screen command | |
insertCommonSocialCommands ($a_header_actions=false) | |
Insert common social commands (comments, notes, tagging) | |
insertTimingsCommand () | |
insert edit timings command | |
insertCommands ($a_use_asynch=false, $a_get_asynch_commands=false, $a_asynch_url="", $a_header_actions=false) | |
insert all commands into html code | |
enableComments ($a_value, $a_enable_comments_settings=true) | |
Toogle comments action status. | |
enableNotes ($a_value) | |
Toogle notes action status. | |
enableTags ($a_value) | |
Toogle tags action status. | |
enableRating ($a_value, $a_text=null, $a_categories=false, array $a_ctrl_path=null) | |
Toogle rating action status. | |
enableMultiDownload ($a_value) | |
Toggles whether multiple objects can be downloaded at once or not. | |
insertMultiDownloadCommand () | |
enableDownloadCheckbox ($a_ref_id, $a_value) | |
getDownloadCheckboxState () | |
setHeaderSubObject ($a_type, $a_id) | |
Set sub object identifier. | |
addHeaderIcon ($a_id, $a_img, $a_tooltip=null, $a_onclick=null, $a_status_text=null, $a_href=null) | |
addHeaderIconHTML ($a_id, $a_html) | |
setAjaxHash ($a_hash) | |
getHeaderAction () | |
Get header action. | |
appendRepositoryFrameParameter ($a_link) | |
workaround: all links into the repository (from outside) must tell repository to setup the frameset | |
modifySAHSlaunch ($a_link, $wtarget) | |
workaround: SAHS in new javavasript-created window or iframe | |
insertPath () | |
insert path | |
insertProgressInfo () | |
insert progress info | |
insertIconsAndCheckboxes () | |
Insert icons and checkboxes. | |
insertSubItems () | |
Insert subitems. | |
insertPositionField () | |
Insert field for positioning. | |
adminCommandsIncluded () | |
returns whether any admin commands (link, delete, cut) are included in the output | |
storeAccessCache () | |
Store access cache. | |
getListItemHTML ($a_ref_id, $a_obj_id, $a_title, $a_description, $a_use_asynch=false, $a_get_asynch_commands=false, $a_asynch_url="", $a_context=self::CONTEXT_REPOSITORY) | |
Get all item information (title, commands, description) in HTML. | |
setParentRefId ($a_ref_id) | |
Set current parent ref id to enable unique js-ids (sessions, etc.) | |
getCommandsHTML () | |
Get commands HTML (must be called after get list item html) | |
isSideBlock () | |
Returns whether current item is a block in a side column or not. | |
setBoldTitle ($a_bold_title) | |
public boolean $a_bold_title set the item title bold | |
isTitleBold () | |
public | |
enableTimings ($a_status) | |
enable timings link | |
isFileUploadAllowed () | |
Gets a value indicating whether file uploads to this object are allowed or not. | |
insertFileUpload () | |
Inserts a file upload component. |
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, $a_context) |
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 |
const | CONTEXT_PERSONAL_DESKTOP = 5 |
const | CONTEXT_SEARCH = 6 |
const | DOWNLOAD_CHECKBOX_NONE = 0 |
const | DOWNLOAD_CHECKBOX_ENABLED = 1 |
const | DOWNLOAD_CHECKBOX_DISABLED = 2 |
$ctrl | |
$description_enabled = true | |
$preconditions_enabled = true | |
$properties_enabled = true | |
$notice_properties_enabled = true | |
$commands_enabled = true | |
$cust_prop = array() | |
$cust_commands = array() | |
$info_screen_enabled = false | |
$condition_depth = 0 | |
$std_cmd_only = false | |
$sub_item_html = array() | |
$multi_download_enabled = false | |
$download_checkbox_state = self::DOWNLOAD_CHECKBOX_NONE |
Protected Member Functions | |
buildGotoLink () | |
insertPaymentCommand ($has_extension_prices=false) | |
parseConditions ($toggle_id, $conditions, $obligatory=true) | |
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. |
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 1323 of file class.ilObjectListGUI.php.
ilObjectListGUI::addCustomProperty | ( | $a_property = "" , |
|
$a_value = "" , |
|||
$a_alert = false , |
|||
$a_newline = false |
|||
) |
add custom property
Definition at line 1266 of file class.ilObjectListGUI.php.
Referenced by ilObjectActivation\addListGUIActivationProperty(), getListItemHTML(), ilObjRemoteCategoryListGUI\getProperties(), ilObjRemoteCourseListGUI\getProperties(), ilObjRemoteWikiListGUI\getProperties(), ilObjRemoteGlossaryListGUI\getProperties(), ilObjRemoteTestListGUI\getProperties(), ilObjRemoteFileListGUI\getProperties(), ilObjRemoteGroupListGUI\getProperties(), ilObjRemoteLearningModuleListGUI\getProperties(), insertCommands(), and insertPayment().
ilObjectListGUI::addHeaderIcon | ( | $a_id, | |
$a_img, | |||
$a_tooltip = null , |
|||
$a_onclick = null , |
|||
$a_status_text = null , |
|||
$a_href = null |
|||
) |
string | $a_id | |
string | $a_img | |
string | $a_tooltip | |
string | $a_onclick | |
string | $a_status_text | |
string | $a_href |
Definition at line 3008 of file class.ilObjectListGUI.php.
Referenced by getHeaderAction().
ilObjectListGUI::addHeaderIconHTML | ( | $a_id, | |
$a_html | |||
) |
string | $a_id | |
string | $a_html |
Definition at line 3022 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 628 of file class.ilObjectListGUI.php.
ilObjectListGUI::adminCommandsIncluded | ( | ) |
returns whether any admin commands (link, delete, cut) are included in the output
Definition at line 3397 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 3191 of file class.ilObjectListGUI.php.
References $_GET, and ilUtil\appendUrlParameterString().
Referenced by insertCommands(), and insertTitle().
|
protected |
Definition at line 1555 of file class.ilObjectListGUI.php.
References ilWorkspaceAccessHandler\getGotoLink().
Referenced by insertTitle().
ilObjectListGUI::checkCommandAccess | ( | $a_permission, | |
$a_cmd, | |||
$a_ref_id, | |||
$a_type, | |||
$a_obj_id = "" |
|||
) |
@return |
Reimplemented in ilObjGroupListGUI, ilObjCourseListGUI, and ilObjSessionListGUI.
Definition at line 918 of file class.ilObjectListGUI.php.
References isVisibleOnlyForced().
Referenced by getCommands(), getListItemHTML(), insertCopyCommand(), insertCutCommand(), insertDeleteCommand(), insertLinkCommand(), insertSubscribeCommand(), insertTimingsCommand(), and isCommentsActivated().
ilObjectListGUI::createDefaultCommand | ( | $command | ) |
Get default command link Overwritten for e.g categories,courses => they return a goto link If search engine visibility is enabled these object type return a goto_CLIENT_ID_cat_99.html link.
public
int | command link |
Reimplemented in ilObjTestListGUI.
Definition at line 1000 of file class.ilObjectListGUI.php.
References ilLink\_getStaticLink().
Referenced by insertCommands(), and insertPaymentCommand().
ilObjectListGUI::enableCheckbox | ( | $a_status | ) |
En/Dis-able checkboxes.
boolean | checkbox on/off |
Definition at line 382 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableCommands | ( | $a_status, | |
$a_std_only = false |
|||
) |
En/disable commands.
bool |
Definition at line 597 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableComments | ( | $a_value, | |
$a_enable_comments_settings = true |
|||
) |
Toogle comments action status.
boolean | $a_value |
Definition at line 2821 of file class.ilObjectListGUI.php.
References $ilSetting.
Referenced by ilObjectListGUI().
ilObjectListGUI::enableCopy | ( | $a_status | ) |
En/disable copy.
bool |
Definition at line 490 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableCut | ( | $a_status | ) |
En/disable cut.
bool |
Definition at line 468 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableDelete | ( | $a_status | ) |
En/disable delete.
bool |
Definition at line 445 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableDescription | ( | $a_status | ) |
En/disable description.
bool |
Definition at line 268 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableDownloadCheckbox | ( | $a_ref_id, | |
$a_value | |||
) |
Definition at line 2928 of file class.ilObjectListGUI.php.
References $_SESSION, DOWNLOAD_CHECKBOX_DISABLED, DOWNLOAD_CHECKBOX_ENABLED, DOWNLOAD_CHECKBOX_NONE, and getContainerObject().
ilObjectListGUI::enabledRelevance | ( | ) |
enabled relevance
Definition at line 323 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 402 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableIcon | ( | $a_status | ) |
En/Dis-able icons.
boolean | icons on/off |
Definition at line 362 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableInfoScreen | ( | $a_info_screen | ) |
En/disable path.
bool |
Reimplemented in ilObjItemGroupListGUI.
Definition at line 618 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 698 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableLink | ( | $a_status | ) |
En/disable link.
bool |
Definition at line 554 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableLinkedPath | ( | $a_status | ) |
Enable linked path.
bool |
Definition at line 314 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 2893 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableNotes | ( | $a_value | ) |
Toogle notes action status.
boolean | $a_value |
Definition at line 2840 of file class.ilObjectListGUI.php.
References $ilSetting.
Referenced by ilObjectListGUI().
ilObjectListGUI::enableNoticeProperties | ( | $a_status | ) |
En/disable notices.
bool |
Definition at line 246 of file class.ilObjectListGUI.php.
ilObjectListGUI::enablePath | ( | $a_path | ) |
En/disable path.
bool |
Definition at line 576 of file class.ilObjectListGUI.php.
ilObjectListGUI::enablePayment | ( | $a_status | ) |
En/disable payment.
bool |
Definition at line 533 of file class.ilObjectListGUI.php.
ilObjectListGUI::enablePreconditions | ( | $a_status | ) |
En/disable preconditions.
bool |
Definition at line 228 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableProgressInfo | ( | $a_status | ) |
enable progress info
public
@return |
Definition at line 650 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableProperties | ( | $a_status | ) |
En/disable properties.
bool |
Definition at line 206 of file class.ilObjectListGUI.php.
Referenced by 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 2876 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableRelevance | ( | $a_status | ) |
enable relevance
Definition at line 332 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableRepositoryTransfer | ( | $a_value | ) |
Enable copy/move to repository (from personal workspace)
bool | $a_value |
Definition at line 898 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableSearchFragments | ( | $a_status | ) |
En/disable description.
bool |
Definition at line 302 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableSubscribe | ( | $a_status | ) |
En/disable subscribe.
bool |
Reimplemented in ilObjItemGroupListGUI.
Definition at line 512 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableSubstitutions | ( | $a_status | ) |
Enable substitutions.
public
Definition at line 674 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableTags | ( | $a_value | ) |
Toogle tags action status.
boolean | $a_value |
Definition at line 2858 of file class.ilObjectListGUI.php.
Referenced by ilObjectListGUI().
ilObjectListGUI::enableTimings | ( | $a_status | ) |
enable timings link
public
bool |
Definition at line 3771 of file class.ilObjectListGUI.php.
ilObjectListGUI::forceVisibleOnly | ( | $a_stat | ) |
Force visible access only.
type | $a_stat |
Definition at line 1334 of file class.ilObjectListGUI.php.
ilObjectListGUI::getAdditionalInformation | ( | ) |
Get additional information.
Definition at line 867 of file class.ilObjectListGUI.php.
References $additional_information.
Referenced by getListItemHTML().
ilObjectListGUI::getAlertProperties | ( | ) |
get all alert properties
Definition at line 1292 of file class.ilObjectListGUI.php.
References getProperties().
ilObjectListGUI::getCheckboxStatus | ( | ) |
Are checkboxes enabled?
Definition at line 392 of file class.ilObjectListGUI.php.
References $checkboxes_enabled.
Referenced by insertIconsAndCheckboxes().
ilObjectListGUI::getCommandFrame | ( | $a_cmd | ) |
Get command target frame.
Overwrite this method if link frame is not current frame
string | $a_cmd | command |
Reimplemented in ilObjiLincClassroomListGUI, ilObjForumListGUI, ilObjGroupListGUI, ilObjFolderListGUI, ilObjLearningModuleListGUI, ilObjSAHSLearningModuleListGUI, ilObjDlBookListGUI, ilObjRemoteFileListGUI, ilObjRemoteCourseListGUI, ilObjRemoteGlossaryListGUI, ilObjRemoteGroupListGUI, ilObjRemoteLearningModuleListGUI, ilObjRemoteTestListGUI, ilObjRemoteWikiListGUI, ilObjRemoteCategoryListGUI, ilObjCategoryListGUI, ilObjGlossaryListGUI, ilObjLinkResourceListGUI, ilObjSurveyQuestionPoolListGUI, ilObjSurveyListGUI, ilObjFileBasedLMListGUI, ilObjectPluginListGUI, ilObjExternalFeedListGUI, ilObjTestListGUI, ilObjQuestionPoolListGUI, ilObjMediaPoolListGUI, ilObjMediaCastListGUI, ilObjWikiListGUI, ilObjExerciseListGUI, ilObjBookingPoolListGUI, and ilObjFileListGUI.
Definition at line 1076 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
@return |
Reimplemented in ilObjCategoryReferenceListGUI, and ilObjCourseReferenceListGUI.
Definition at line 847 of file class.ilObjectListGUI.php.
References $ref_id.
Referenced by getCommandLink(), insertCopyCommand(), insertCutCommand(), insertDeleteCommand(), insertIconsAndCheckboxes(), insertLinkCommand(), insertPasteCommand(), and insertSubscribeCommand().
ilObjectListGUI::getCommandImage | ( | $a_cmd | ) |
Get command icon image.
Overwrite this method if an icon is provided
string | $a_cmd | command |
Reimplemented in ilObjLearningModuleListGUI, ilObjFileListGUI, ilObjTestListGUI, and ilObjChatroomListGUI.
Definition at line 1102 of file class.ilObjectListGUI.php.
Referenced by getCommands().
ilObjectListGUI::getCommandLink | ( | $a_cmd | ) |
Get command link url.
Overwrite this method, if link target is not build by ctrl class (e.g. "forum.php"). This is the case for all links now, but bringing everything to ilCtrl should be realised in the future.
string | $a_cmd | command |
Reimplemented in ilObjiLincClassroomListGUI, ilObjFileListGUI, ilObjForumListGUI, ilObjSurveyListGUI, ilObjCourseReferenceListGUI, ilObjCategoryReferenceListGUI, ilObjLinkResourceListGUI, ilObjSurveyQuestionPoolListGUI, ilObjTestListGUI, ilObjExternalFeedListGUI, ilObjQuestionPoolListGUI, ilObjectPluginListGUI, ilObjCategoryListGUI, ilObjExerciseListGUI, ilObjMediaCastListGUI, ilObjWikiListGUI, ilObjMediaPoolListGUI, ilObjSessionListGUI, ilObjFolderListGUI, ilObjDlBookListGUI, ilObjItemGroupListGUI, ilObjLearningModuleListGUI, ilObjGroupListGUI, ilObjiLincCourseListGUI, ilObjBookingPoolListGUI, ilObjOrgUnitListGUI, ilObjRootFolderListGUI, ilObjSAHSLearningModuleListGUI, ilObjGlossaryListGUI, ilObjFileBasedLMListGUI, and ilObjWorkspaceRootFolderListGUI.
Definition at line 1027 of file class.ilObjectListGUI.php.
References $_GET, ilDAVActivationChecker\_isActive(), getCommandId(), and ilDAVServer\getInstance().
Referenced by getCommands(), insertCommonSocialCommands(), and insertInfoScreenCommand().
ilObjectListGUI::getCommands | ( | ) |
get all current commands for a specific ref id (in the permission context of the current user)
!!!NOTE!!!: Please use getListHTML() if you want to display the item including all commands
!!!NOTE 2!!!: Please do not overwrite this method in derived classes becaus it will get pretty large and much code will be simply copy-and-pasted. Insert smaller object type related method calls instead. (like getCommandLink() or getCommandFrame())
public
int | $a_ref_id | ref id of object |
Reimplemented in ilObjiLincClassroomListGUI, and ilObjBlogListGUI.
Definition at line 1371 of file class.ilObjectListGUI.php.
References $cmd, $ilBench, checkCommandAccess(), getCommandFrame(), getCommandImage(), and getCommandLink().
Referenced by insertCommands(), and insertPaymentCommand().
ilObjectListGUI::getCommandsHTML | ( | ) |
Get commands HTML (must be called after get list item html)
Definition at line 3660 of file class.ilObjectListGUI.php.
References insertCommands().
ilObjectListGUI::getCommandsStatus | ( | ) |
bool |
Definition at line 607 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 167 of file class.ilObjectListGUI.php.
Referenced by enableDownloadCheckbox(), getListItemHTML(), insertCutCommand(), insertDeleteCommand(), insertLinkCommand(), insertMultiDownloadCommand(), insertPasteCommand(), ilCourseObjectiveListGUI\insertProgressInfo(), insertSubscribeCommand(), and ilCourseObjectiveListGUI\insertTitle().
ilObjectListGUI::getCopyStatus | ( | ) |
bool |
Definition at line 501 of file class.ilObjectListGUI.php.
References $copy_enabled.
ilObjectListGUI::getCustomProperties | ( | $a_prop | ) |
get custom properties
Definition at line 1276 of file class.ilObjectListGUI.php.
Referenced by insertProperties().
ilObjectListGUI::getCutStatus | ( | ) |
bool |
Definition at line 479 of file class.ilObjectListGUI.php.
ilObjectListGUI::getDeleteStatus | ( | ) |
bool |
Definition at line 457 of file class.ilObjectListGUI.php.
ilObjectListGUI::getDescription | ( | ) |
getDescription overwritten in class.ilObjLinkResourceList.php
Reimplemented in ilObjLinkResourceListGUI.
Definition at line 795 of file class.ilObjectListGUI.php.
Referenced by insertDescription().
ilObjectListGUI::getDescriptionStatus | ( | ) |
bool |
Definition at line 280 of file class.ilObjectListGUI.php.
References $description_enabled.
Referenced by ilObjiLincClassroomListGUI\getListItemHTML(), and getListItemHTML().
ilObjectListGUI::getDetailsLevel | ( | ) |
Get current details level.
Definition at line 888 of file class.ilObjectListGUI.php.
References $details_level.
Referenced by ilObjSessionListGUI\getProperties(), and getProperties().
ilObjectListGUI::getDownloadCheckboxState | ( | ) |
Definition at line 2951 of file class.ilObjectListGUI.php.
References $download_checkbox_state.
Referenced by insertIconsAndCheckboxes().
ilObjectListGUI::getExpandStatus | ( | ) |
Is expand/collapse enabled.
Definition at line 412 of file class.ilObjectListGUI.php.
References $expand_enabled.
Referenced by insertIconsAndCheckboxes().
ilObjectListGUI::getHeaderAction | ( | ) |
Get header action.
Definition at line 3037 of file class.ilObjectListGUI.php.
References $comments_enabled, $ilUser, $lng, $obj_id, $tpl, ilNote\_countNotesAndComments(), ilObject\_lookupType(), addHeaderIcon(), addHeaderIconHTML(), ilTooltipGUI\addTooltip(), ilUtil\getImagePath(), ilNoteGUI\getListCommentsJSCall(), ilNoteGUI\getListNotesJSCall(), ilTaggingGUI\getListTagsJSCall(), ilTagging\getTagsForUserAndObject(), IL_NOTE_PRIVATE, IL_NOTE_PUBLIC, ilUtil\img(), insertCommands(), and isCommentsActivated().
ilObjectListGUI::getIconImageType | ( | ) |
Returns the icon image type.
For most objects, this is same as the object type, e.g. 'cat','fold'. We can return here other values, to express a specific state of an object, e.g. 'crs_offline", and/or to express a specific kind of object, e.g. 'file_inline'.
Reimplemented in ilObjFileListGUI, ilObjCategoryReferenceListGUI, and ilObjCourseReferenceListGUI.
Definition at line 1448 of file class.ilObjectListGUI.php.
References $type.
Referenced by insertIconsAndCheckboxes().
ilObjectListGUI::getIconStatus | ( | ) |
Are icons enabled?
Definition at line 372 of file class.ilObjectListGUI.php.
References $icons_enabled.
Referenced by insertIconsAndCheckboxes().
ilObjectListGUI::getInfoScreenStatus | ( | ) |
bool |
Reimplemented in ilObjCategoryListGUI.
Definition at line 638 of file class.ilObjectListGUI.php.
References $info_screen_enabled.
Referenced by insertCommands().
ilObjectListGUI::getItemDetailLinkStatus | ( | ) |
get item detail link status
public
Definition at line 709 of file class.ilObjectListGUI.php.
References $item_detail_links_enabled.
Referenced by getListItemHTML().
ilObjectListGUI::getLinkStatus | ( | ) |
bool |
Definition at line 565 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 3430 of file class.ilObjectListGUI.php.
References $ilBench, $ilCtrl, $ilUser, $type, ilObjFileAccess\_isFileHidden(), ilObject\_lookupType(), addCustomProperty(), ilCommonActionDispatcherGUI\buildAjaxHash(), checkCommandAccess(), enabledRelevance(), getAdditionalInformation(), getCommandsStatus(), getContainerObject(), getDescriptionStatus(), getItemDetailLinkStatus(), getNoticePropertiesStatus(), getPreconditionsStatus(), getProgressInfoStatus(), getPropertiesStatus(), getSearchFragmentStatus(), getSeparateCommands(), getUniqueItemId(), ilRating\hasRatingInListGUI(), IL_LIST_AS_TRIGGER, initItem(), insertCommands(), insertDescription(), insertFileUpload(), insertIconsAndCheckboxes(), insertItemDetailLinks(), insertNoticeProperties(), insertPath(), insertPositionField(), insertPreconditions(), insertProgressInfo(), insertProperties(), insertRelevance(), insertSearchFragment(), insertSubItems(), insertTitle(), isFileUploadAllowed(), isMode(), setAjaxHash(), storeAccessCache(), ilCommonActionDispatcherGUI\TYPE_REPOSITORY, and ilCommonActionDispatcherGUI\TYPE_WORKSPACE.
ilObjectListGUI::getMode | ( | ) |
get output mode
Definition at line 1688 of file class.ilObjectListGUI.php.
ilObjectListGUI::getNoticeProperties | ( | ) |
get notice properties
Definition at line 1308 of file class.ilObjectListGUI.php.
Referenced by insertNoticeProperties().
ilObjectListGUI::getNoticePropertiesStatus | ( | ) |
Definition at line 235 of file class.ilObjectListGUI.php.
References $notice_properties_enabled.
Referenced by getListItemHTML().
ilObjectListGUI::getPathStatus | ( | ) |
bool |
Definition at line 586 of file class.ilObjectListGUI.php.
Referenced by insertPath().
ilObjectListGUI::getPaymentStatus | ( | ) |
bool |
Definition at line 544 of file class.ilObjectListGUI.php.
ilObjectListGUI::getPreconditionsStatus | ( | ) |
bool |
Definition at line 258 of file class.ilObjectListGUI.php.
References $preconditions_enabled.
Referenced by getListItemHTML().
ilObjectListGUI::getProgressInfoStatus | ( | ) |
get progress info status
public
@return |
Definition at line 662 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 1118 of file class.ilObjectListGUI.php.
References $ilUser, $lng, ilDAVActivationChecker\_isActive(), ilChangeEvent\_isActive(), ilChangeEvent\_lookupChangeState(), ilChangeEvent\_lookupInsideChangeState(), DETAILS_SEARCH, and getDetailsLevel().
Referenced by getAlertProperties(), and insertProperties().
ilObjectListGUI::getPropertiesStatus | ( | ) |
bool |
Definition at line 218 of file class.ilObjectListGUI.php.
References $properties_enabled.
Referenced by ilObjiLincClassroomListGUI\getListItemHTML(), and getListItemHTML().
ilObjectListGUI::getRelevance | ( | ) |
get relevance
@return |
Definition at line 352 of file class.ilObjectListGUI.php.
References $relevance.
Referenced by insertRelevance().
ilObjectListGUI::getSearchFragment | ( | ) |
get search fragment
Definition at line 814 of file class.ilObjectListGUI.php.
References $search_fragment.
Referenced by insertSearchFragment().
ilObjectListGUI::getSearchFragmentStatus | ( | ) |
Show hide search result fragments.
bool |
Definition at line 291 of file class.ilObjectListGUI.php.
References $search_fragment_enabled.
Referenced by getListItemHTML().
ilObjectListGUI::getSeparateCommands | ( | ) |
Get separate commands.
Definition at line 834 of file class.ilObjectListGUI.php.
References $separate_commands.
Referenced by ilObjiLincClassroomListGUI\getListItemHTML(), and getListItemHTML().
ilObjectListGUI::getSubscribeStatus | ( | ) |
bool |
Definition at line 523 of file class.ilObjectListGUI.php.
ilObjectListGUI::getSubstitutionStatus | ( | ) |
Get substitution status.
public
Definition at line 685 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 776 of file class.ilObjectListGUI.php.
Referenced by ilCourseObjectiveListGUI\insertTitle(), and insertTitle().
|
protected |
Get unique item identifier (for js-actions)
bool | $a_as_div |
Definition at line 3630 of file class.ilObjectListGUI.php.
Referenced by getListItemHTML(), insertCommands(), insertFileUpload(), insertPreconditions(), and parseConditions().
ilObjectListGUI::ilObjectListGUI | ( | ) |
constructor
Definition at line 121 of file class.ilObjectListGUI.php.
References $_REQUEST, $ilCtrl, $lng, ilLDAPRoleGroupMapping\_getInstance(), enableComments(), enableNotes(), enableTags(), IL_LIST_FULL, init(), and setParentRefId().
Referenced by ilObjOrgUnitListGUI\__construct(), ilObjBookingPoolListGUI\__construct(), ilObjChatroomListGUI\__construct(), ilObjCategoryListGUI\ilObjCategoryListGUI(), ilObjCourseListGUI\ilObjCourseListGUI(), ilObjDlBookListGUI\ilObjDlBookListGUI(), ilObjExerciseListGUI\ilObjExerciseListGUI(), ilObjExternalFeedListGUI\ilObjExternalFeedListGUI(), ilObjFileBasedLMListGUI\ilObjFileBasedLMListGUI(), ilObjFileListGUI\ilObjFileListGUI(), ilObjFolderListGUI\ilObjFolderListGUI(), ilObjGlossaryListGUI\ilObjGlossaryListGUI(), ilObjGroupListGUI\ilObjGroupListGUI(), ilObjiLincClassroomListGUI\ilObjiLincClassroomListGUI(), ilObjiLincCourseListGUI\ilObjiLincCourseListGUI(), ilObjLearningModuleListGUI\ilObjLearningModuleListGUI(), ilObjLinkResourceListGUI\ilObjLinkResourceListGUI(), ilObjMediaCastListGUI\ilObjMediaCastListGUI(), ilObjMediaPoolListGUI\ilObjMediaPoolListGUI(), ilObjQuestionPoolListGUI\ilObjQuestionPoolListGUI(), ilObjRootFolderListGUI\ilObjRootFolderListGUI(), ilObjSAHSLearningModuleListGUI\ilObjSAHSLearningModuleListGUI(), ilObjSurveyListGUI\ilObjSurveyListGUI(), ilObjSurveyQuestionPoolListGUI\ilObjSurveyQuestionPoolListGUI(), ilObjTestListGUI\ilObjTestListGUI(), and ilObjWikiListGUI\ilObjWikiListGUI().
ilObjectListGUI::init | ( | ) |
initialisation
this method should be overwritten by derived classes
Reimplemented in ilObjCategoryReferenceListGUI, ilObjLinkResourceListGUI, ilObjCourseReferenceListGUI, ilObjSessionListGUI, ilCourseObjectiveListGUI, ilObjSurveyQuestionPoolListGUI, ilObjiLincClassroomListGUI, ilObjRemoteCategoryListGUI, ilObjRemoteCourseListGUI, ilObjRemoteFileListGUI, ilObjRemoteGlossaryListGUI, ilObjRemoteGroupListGUI, ilObjRemoteLearningModuleListGUI, ilObjRemoteTestListGUI, ilObjRemoteWikiListGUI, ilObjSurveyListGUI, ilObjFolderListGUI, ilObjGroupListGUI, ilObjiLincCourseListGUI, ilObjRootFolderListGUI, ilObjDlBookListGUI, ilObjCategoryListGUI, ilObjExternalFeedListGUI, ilObjForumListGUI, ilObjChatroomListGUI, ilObjTestListGUI, ilObjQuestionPoolListGUI, ilObjItemGroupListGUI, ilObjGlossaryListGUI, ilObjFileBasedLMListGUI, ilObjLearningModuleListGUI, ilObjSAHSLearningModuleListGUI, ilObjFileListGUI, ilObjCourseListGUI, ilObjMediaCastListGUI, ilObjMediaPoolListGUI, ilObjWikiListGUI, ilObjBookingPoolListGUI, ilObjExerciseListGUI, ilObjOrgUnitListGUI, ilObjCourseVerificationListGUI, ilObjExerciseVerificationListGUI, ilObjSCORMVerificationListGUI, ilObjWorkspaceFolderListGUI, ilObjBlogListGUI, ilObjDataCollectionListGUI, ilObjPollListGUI, ilObjPortfolioTemplateListGUI, ilObjTestVerificationListGUI, ilObjWorkspaceRootFolderListGUI, ilObjBibliographicListGUI, ilObjCloudListGUI, and ilObjectPluginListGUI.
Definition at line 178 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 970 of file class.ilObjectListGUI.php.
References ilObjSAHSLearningModuleAccess\_lookupUserIsOfflineMode(), setDescription(), and setTitle().
Referenced by ilCourseObjectiveListGUI\getListItemHTML(), and getListItemHTML().
ilObjectListGUI::insertCommand | ( | $a_href, | |
$a_text, | |||
$a_frame = "" , |
|||
$a_img = "" , |
|||
$a_cmd = "" , |
|||
$a_onclick = "" |
|||
) |
insert command button
private
string | $a_href | link url target |
string | $a_text | link text |
string | $a_frame | link frame target |
Definition at line 2172 of file class.ilObjectListGUI.php.
Referenced by insertCommands(), insertCommonSocialCommands(), insertCopyCommand(), insertCutCommand(), insertDeleteCommand(), ilObjOrgUnitListGUI\insertInfoScreenCommand(), insertInfoScreenCommand(), insertLinkCommand(), insertMultiDownloadCommand(), insertPasteCommand(), insertSubscribeCommand(), and insertTimingsCommand().
ilObjectListGUI::insertCommands | ( | $a_use_asynch = false , |
|
$a_get_asynch_commands = false , |
|||
$a_asynch_url = "" , |
|||
$a_header_actions = false |
|||
) |
insert all commands into html code
private
object | $a_tpl | template object |
int | $a_ref_id | item reference id |
Definition at line 2601 of file class.ilObjectListGUI.php.
References $ilUser, $lng, ilContainer\_lookupContainerSetting(), addCustomProperty(), appendRepositoryFrameParameter(), createDefaultCommand(), ilAdvancedSelectionListGUI\DOWN_ARROW_DARK, enableProperties(), getCommands(), getCommandsStatus(), ilUtil\getImagePath(), getInfoScreenStatus(), getUniqueItemId(), IL_LIST_AS_TRIGGER, IL_NO_LICENSE, ilObjectServiceSettingsGUI\INFO_TAB_VISIBILITY, insertCommand(), insertCommonSocialCommands(), insertCopyCommand(), insertCutCommand(), insertDeleteCommand(), insertInfoScreenCommand(), insertLinkCommand(), insertMultiDownloadCommand(), insertPasteCommand(), insertPayment(), insertSubscribeCommand(), insertTimingsCommand(), and isMode().
Referenced by getCommandsHTML(), getHeaderAction(), ilObjiLincClassroomListGUI\getListItemHTML(), and getListItemHTML().
ilObjectListGUI::insertCommonSocialCommands | ( | $a_header_actions = false | ) |
Insert common social commands (comments, notes, tagging)
@return |
Definition at line 2516 of file class.ilObjectListGUI.php.
References $comments_enabled, $ilSetting, $ilUser, $lng, $ref_id, $reference_ref_id, $tpl, getCommandFrame(), getCommandLink(), ilNoteGUI\getListCommentsJSCall(), ilNoteGUI\getListNotesJSCall(), ilTaggingGUI\getListTagsJSCall(), insertCommand(), and isCommentsActivated().
Referenced by insertCommands().
ilObjectListGUI::insertCopyCommand | ( | $a_to_repository = false | ) |
Insert copy command.
bool | $a_to_repository |
Definition at line 2344 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 2289 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 2201 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 1615 of file class.ilObjectListGUI.php.
References getDescription(), getSubstitutionStatus(), and insertSubstitutions().
Referenced by ilObjiLincClassroomListGUI\getListItemHTML(), ilCourseObjectiveListGUI\getListItemHTML(), and getListItemHTML().
ilObjectListGUI::insertFileUpload | ( | ) |
Inserts a file upload component.
Definition at line 3791 of file class.ilObjectListGUI.php.
References getUniqueItemId(), and ilFileUploadGUI\initFileUpload().
Referenced by getListItemHTML().
ilObjectListGUI::insertIconsAndCheckboxes | ( | ) |
Insert icons and checkboxes.
Definition at line 3270 of file class.ilObjectListGUI.php.
References $lng, ilObject\_getIcon(), getCheckboxStatus(), getCommandId(), getCommandsStatus(), getDownloadCheckboxState(), getExpandStatus(), getIconImageType(), getIconStatus(), ilUtil\getImagePath(), isExpanded(), and ilPlugin\lookupTxt().
Referenced by ilCourseObjectiveListGUI\getListItemHTML(), and getListItemHTML().
ilObjectListGUI::insertInfoScreenCommand | ( | ) |
insert info screen command
Reimplemented in ilObjOrgUnitListGUI.
Definition at line 2498 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 734 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 2241 of file class.ilObjectListGUI.php.
References ilObject\_lookupType(), checkCommandAccess(), getCommandId(), getContainerObject(), ilUtil\getImagePath(), and insertCommand().
Referenced by insertCommands().
ilObjectListGUI::insertMultiDownloadCommand | ( | ) |
Definition at line 2903 of file class.ilObjectListGUI.php.
References $_GET, $cmd, ilObject\_lookupType(), getContainerObject(), and insertCommand().
Referenced by insertCommands().
ilObjectListGUI::insertNoticeProperties | ( | ) |
Definition at line 1870 of file class.ilObjectListGUI.php.
References getNoticeProperties().
Referenced by getListItemHTML().
ilObjectListGUI::insertPasteCommand | ( | ) |
Insert paste command.
Definition at line 2386 of file class.ilObjectListGUI.php.
References $_SESSION, ilObject\_lookupType(), getCommandId(), getContainerObject(), and insertCommand().
Referenced by insertCommands().
ilObjectListGUI::insertPath | ( | ) |
insert path
Definition at line 3233 of file class.ilObjectListGUI.php.
References $lng, and getPathStatus().
Referenced by getListItemHTML().
ilObjectListGUI::insertPayment | ( | ) |
insert payment information
private
Definition at line 1889 of file class.ilObjectListGUI.php.
References $ilUser, $lng, ilPaymentBookings\_hasAccess(), ilPaymentObject\_hasExtensions(), ilPaymentBookings\_lookupOrder(), ilPaymentObject\_lookupPobjectId(), addCustomProperty(), ilDatePresentation\formatDate(), ilUtil\getImagePath(), IL_CAL_UNIX, and insertPaymentCommand().
Referenced by insertCommands().
|
protected |
Definition at line 1954 of file class.ilObjectListGUI.php.
References $type, createDefaultCommand(), and getCommands().
Referenced by insertPayment().
ilObjectListGUI::insertPositionField | ( | ) |
Insert field for positioning.
Definition at line 3382 of file class.ilObjectListGUI.php.
Referenced by getListItemHTML().
ilObjectListGUI::insertPreconditions | ( | ) |
insert all missing preconditions
Definition at line 2114 of file class.ilObjectListGUI.php.
References $lng, ilConditionHandler\_getConditionsOfTarget(), ilObject\_lookupTitle(), getUniqueItemId(), parseConditions(), and ilUtil\sortArray().
Referenced by getListItemHTML().
ilObjectListGUI::insertProgressInfo | ( | ) |
insert progress info
public
Reimplemented in ilCourseObjectiveListGUI.
Definition at line 3261 of file class.ilObjectListGUI.php.
Referenced by getListItemHTML().
ilObjectListGUI::insertProperties | ( | $a_item = '' | ) |
insert properties
private
Definition at line 1725 of file class.ilObjectListGUI.php.
References $ilUser, $lng, $obj_id, $ref_id, $reference_ref_id, getCustomProperties(), ilNoteGUI\getListCommentsJSCall(), ilLPStatus\getListGUIStatus(), ilNoteGUI\getListNotesJSCall(), ilTaggingGUI\getListTagsJSCall(), getProperties(), IL_NOTE_PRIVATE, IL_NOTE_PUBLIC, and isCommentsActivated().
Referenced by ilObjiLincClassroomListGUI\getListItemHTML(), and getListItemHTML().
ilObjectListGUI::insertRelevance | ( | ) |
insert relevance
@return |
Definition at line 1650 of file class.ilObjectListGUI.php.
References $lng, enabledRelevance(), ilUtil\getImagePath(), and getRelevance().
Referenced by getListItemHTML().
ilObjectListGUI::insertSearchFragment | ( | ) |
Insert highlighted search fragment.
Definition at line 1635 of file class.ilObjectListGUI.php.
References getSearchFragment().
Referenced by getListItemHTML().
ilObjectListGUI::insertSubItems | ( | ) |
Insert subitems.
Definition at line 3369 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 2420 of file class.ilObjectListGUI.php.
References $ilSetting, $ilUser, $type, ilObject\_lookupObjId(), ilObject\_lookupType(), checkCommandAccess(), getCommandId(), getContainerObject(), ilUtil\getImagePath(), and insertCommand().
Referenced by insertCommands().
ilObjectListGUI::insertSubstitutions | ( | ) |
Insert substitutions.
public
Definition at line 1575 of file class.ilObjectListGUI.php.
Referenced by insertDescription().
ilObjectListGUI::insertTimingsCommand | ( | ) |
insert edit timings command
protected
Reimplemented in ilObjOrgUnitListGUI.
Definition at line 2570 of file class.ilObjectListGUI.php.
References $parent_ref_id, checkCommandAccess(), and insertCommand().
Referenced by insertCommands().
ilObjectListGUI::insertTitle | ( | ) |
insert item title
private
object | $a_tpl | template object |
string | $a_title | item title |
Reimplemented in ilCourseObjectiveListGUI.
Definition at line 1464 of file class.ilObjectListGUI.php.
References $preview, appendRepositoryFrameParameter(), buildGotoLink(), CONTEXT_REPOSITORY, CONTEXT_WORKSPACE, getCommandsStatus(), ilUtil\getImagePath(), getTitle(), ilPreview\hasPreview(), ilPreview\lookupRenderStatus(), modifySAHSlaunch(), and ilPreview\RENDER_STATUS_NONE.
Referenced by ilObjiLincClassroomListGUI\getListItemHTML(), and getListItemHTML().
|
protected |
Check comments status against comments settings and context.
string | $a_type | |
int | $a_ref_id | |
int | $a_obj_id | |
bool | $a_header_actions | |
bool | $a_check_write_access |
Definition at line 3731 of file class.ilObjectListGUI.php.
References checkCommandAccess(), and ilNote\commentsActivated().
Referenced by getHeaderAction(), insertCommonSocialCommands(), and insertProperties().
ilObjectListGUI::isExpanded | ( | ) |
Definition at line 422 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 3781 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 1708 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 3668 of file class.ilObjectListGUI.php.
ilObjectListGUI::isTitleBold | ( | ) |
public
Definition at line 3689 of file class.ilObjectListGUI.php.
References $bold_title.
ilObjectListGUI::isVisibleOnlyForced | ( | ) |
Force unreadable.
Definition at line 1343 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 3212 of file class.ilObjectListGUI.php.
References ilBrowser\isMobile().
Referenced by insertTitle().
|
protected |
Definition at line 2004 of file class.ilObjectListGUI.php.
References $lng, $location, $ok, ilConditionHandler\_checkCondition(), ilObject\_lookupTitle(), ilConditionHandler\calculateRequiredTriggers(), ilMemberViewSettings\getInstance(), ilConditionHandler\getOptionalConditionsOfTarget(), getUniqueItemId(), and IL_LIST_AS_TRIGGER.
Referenced by insertPreconditions().
|
static |
Preload common properties.
@return |
Definition at line 3700 of file class.ilObjectListGUI.php.
References $lng, ilNote\_countNotesAndCommentsMultiple(), ilTagging\_countTags(), and ilNote\getRepObjActivation().
Referenced by ilObjectListGUIPreloader\preload().
|
static |
Insert js/ajax links into template.
Definition at line 2959 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 908 of file class.ilObjectListGUI.php.
ilObjectListGUI::setAdditionalInformation | ( | $a_val | ) |
Set additional information.
string | additional information |
Definition at line 857 of file class.ilObjectListGUI.php.
ilObjectListGUI::setAjaxHash | ( | $a_hash | ) |
Definition at line 3027 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 3678 of file class.ilObjectListGUI.php.
ilObjectListGUI::setConditionDepth | ( | $a_depth | ) |
set depth for precondition output (stops at level 5)
Definition at line 1696 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 155 of file class.ilObjectListGUI.php.
ilObjectListGUI::setDescription | ( | $a_description | ) |
string | description |
Definition at line 785 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 879 of file class.ilObjectListGUI.php.
ilObjectListGUI::setExpanded | ( | $a_status | ) |
Definition at line 417 of file class.ilObjectListGUI.php.
ilObjectListGUI::setHeaderSubObject | ( | $a_type, | |
$a_id | |||
) |
Set sub object identifier.
string | $a_type | |
int | $a_id |
Definition at line 2993 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 721 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 1678 of file class.ilObjectListGUI.php.
ilObjectListGUI::setParentRefId | ( | $a_ref_id | ) |
Set current parent ref id to enable unique js-ids (sessions, etc.)
int | $a_ref_id |
Definition at line 3619 of file class.ilObjectListGUI.php.
Referenced by ilObjectListGUI().
ilObjectListGUI::setPositionInputField | ( | $a_field_index, | |
$a_position_value | |||
) |
Set position input field.
string | $a_field_index | e.g. "[crs][34]" |
string | $a_position_value | e.g. "2.0" |
Definition at line 432 of file class.ilObjectListGUI.php.
ilObjectListGUI::setRelevance | ( | $a_rel | ) |
set relevance
int |
Definition at line 342 of file class.ilObjectListGUI.php.
ilObjectListGUI::setSearchFragment | ( | $a_text | ) |
set search fragment
string | $a_text | highlighted search fragment |
Definition at line 805 of file class.ilObjectListGUI.php.
ilObjectListGUI::setSeparateCommands | ( | $a_val | ) |
Set separate commands.
boolean | separate commands |
Definition at line 824 of file class.ilObjectListGUI.php.
ilObjectListGUI::setTitle | ( | $a_title | ) |
string | title |
Definition at line 766 of file class.ilObjectListGUI.php.
Referenced by initItem().
ilObjectListGUI::storeAccessCache | ( | ) |
Store access cache.
Definition at line 3405 of file class.ilObjectListGUI.php.
References $ilUser, and $ref_id.
Referenced by getListItemHTML().
|
protected |
Definition at line 90 of file class.ilObjectListGUI.php.
Referenced by getAdditionalInformation().
|
protected |
Definition at line 81 of file class.ilObjectListGUI.php.
Referenced by isTitleBold().
|
protected |
Definition at line 65 of file class.ilObjectListGUI.php.
Referenced by getCheckboxStatus().
|
staticprotected |
Definition at line 112 of file class.ilObjectListGUI.php.
|
staticprotected |
Definition at line 113 of file class.ilObjectListGUI.php.
ilObjectListGUI::$commands_enabled = true |
Definition at line 45 of file class.ilObjectListGUI.php.
Referenced by getCommandsStatus().
|
staticprotected |
Definition at line 114 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 97 of file class.ilObjectListGUI.php.
Referenced by getHeaderAction(), and insertCommonSocialCommands().
|
protected |
Definition at line 98 of file class.ilObjectListGUI.php.
ilObjectListGUI::$condition_depth = 0 |
Definition at line 49 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 83 of file class.ilObjectListGUI.php.
Referenced by getCopyStatus().
ilObjectListGUI::$ctrl |
Definition at line 40 of file class.ilObjectListGUI.php.
ilObjectListGUI::$cust_commands = array() |
Definition at line 47 of file class.ilObjectListGUI.php.
ilObjectListGUI::$cust_prop = array() |
Definition at line 46 of file class.ilObjectListGUI.php.
ilObjectListGUI::$description_enabled = true |
Definition at line 41 of file class.ilObjectListGUI.php.
Referenced by getDescriptionStatus().
|
protected |
Definition at line 85 of file class.ilObjectListGUI.php.
Referenced by getDetailsLevel().
ilObjectListGUI::$download_checkbox_state = self::DOWNLOAD_CHECKBOX_NONE |
Definition at line 53 of file class.ilObjectListGUI.php.
Referenced by getDownloadCheckboxState().
|
protected |
Definition at line 76 of file class.ilObjectListGUI.php.
Referenced by enabledRelevance().
|
protected |
Definition at line 79 of file class.ilObjectListGUI.php.
Referenced by getExpandStatus().
|
protected |
Definition at line 108 of file class.ilObjectListGUI.php.
Referenced by isVisibleOnlyForced().
|
protected |
Definition at line 64 of file class.ilObjectListGUI.php.
Referenced by getIconStatus().
ilObjectListGUI::$info_screen_enabled = false |
Definition at line 48 of file class.ilObjectListGUI.php.
Referenced by ilObjCategoryListGUI\getInfoScreenStatus(), and getInfoScreenStatus().
|
protected |
Definition at line 80 of file class.ilObjectListGUI.php.
Referenced by isExpanded().
|
protected |
Definition at line 69 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 68 of file class.ilObjectListGUI.php.
Referenced by getItemDetailLinkStatus().
|
protected |
Definition at line 70 of file class.ilObjectListGUI.php.
ilObjectListGUI::$multi_download_enabled = false |
Definition at line 52 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 99 of file class.ilObjectListGUI.php.
ilObjectListGUI::$notice_properties_enabled = true |
Definition at line 44 of file class.ilObjectListGUI.php.
Referenced by getNoticePropertiesStatus().
|
protected |
Definition at line 55 of file class.ilObjectListGUI.php.
Referenced by ilObjSessionListGUI\getAppointmentInfo(), getHeaderAction(), ilObjCourseListGUI\getProperties(), ilObjGroupListGUI\getProperties(), ilCourseObjectiveListGUI\insertProgressInfo(), insertProperties(), and ilCourseObjectiveListGUI\insertTitle().
|
protected |
Definition at line 110 of file class.ilObjectListGUI.php.
Referenced by insertTimingsCommand().
|
protected |
Definition at line 74 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 66 of file class.ilObjectListGUI.php.
ilObjectListGUI::$preconditions_enabled = true |
Definition at line 42 of file class.ilObjectListGUI.php.
Referenced by getPreconditionsStatus().
|
staticprotected |
Definition at line 115 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 109 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 67 of file class.ilObjectListGUI.php.
Referenced by getProgressInfoStatus().
ilObjectListGUI::$properties_enabled = true |
Definition at line 43 of file class.ilObjectListGUI.php.
Referenced by getPropertiesStatus().
|
protected |
Definition at line 103 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 105 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 102 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 104 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 56 of file class.ilObjectListGUI.php.
Referenced by getCommandId(), ilObjiLincClassroomListGUI\getCommands(), insertCommonSocialCommands(), insertProperties(), and storeAccessCache().
|
protected |
Definition at line 87 of file class.ilObjectListGUI.php.
Referenced by insertCommonSocialCommands(), and insertProperties().
|
protected |
Definition at line 77 of file class.ilObjectListGUI.php.
Referenced by getRelevance().
|
protected |
Definition at line 93 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 95 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 73 of file class.ilObjectListGUI.php.
Referenced by getSearchFragment().
|
protected |
Definition at line 89 of file class.ilObjectListGUI.php.
Referenced by getSearchFragmentStatus().
|
protected |
Definition at line 72 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 88 of file class.ilObjectListGUI.php.
Referenced by getSeparateCommands().
|
protected |
Definition at line 94 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 91 of file class.ilObjectListGUI.php.
ilObjectListGUI::$std_cmd_only = false |
Definition at line 50 of file class.ilObjectListGUI.php.
ilObjectListGUI::$sub_item_html = array() |
Definition at line 51 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 58 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 59 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 61 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 62 of file class.ilObjectListGUI.php.
Referenced by getSubstitutionStatus().
|
protected |
Definition at line 100 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 107 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 57 of file class.ilObjectListGUI.php.
Referenced by ilObjFileListGUI\getIconImageType(), getIconImageType(), getListItemHTML(), ilObjSAHSLearningModuleListGUI\getProperties(), ilObjectPluginListGUI\getType(), insertPaymentCommand(), and insertSubscribeCommand().
const ilObjectListGUI::CONTEXT_PERSONAL_DESKTOP = 5 |
Definition at line 33 of file class.ilObjectListGUI.php.
Referenced by ilPDSelectedItemsBlockGUI\getMembershipItemsPerLocation(), ilPDSelectedItemsBlockGUI\getMembershipItemsPerType(), ilPDSelectedItemsBlockGUI\getSelectedItemsPerLocation(), ilPDSelectedItemsBlockGUI\getSelectedItemsPerType(), and ilObjectListGUIPreloader\preload().
const ilObjectListGUI::CONTEXT_REPOSITORY = 1 |
Definition at line 29 of file class.ilObjectListGUI.php.
Referenced by ilContainer\getSubItems(), ilCommonActionDispatcherGUI\initHeaderAction(), insertTitle(), and ilObjectListGUIPreloader\preload().
const ilObjectListGUI::CONTEXT_SEARCH = 6 |
Definition at line 34 of file class.ilObjectListGUI.php.
Referenced by ilObjectListGUIPreloader\preload(), and ilSearchResultPresentation\renderItemList().
const ilObjectListGUI::CONTEXT_SHOP = 3 |
Definition at line 31 of file class.ilObjectListGUI.php.
Referenced by ilShopResultPresentationGUI\renderItems().
const ilObjectListGUI::CONTEXT_WORKSPACE = 2 |
Definition at line 30 of file class.ilObjectListGUI.php.
Referenced by ilObjWorkspaceFolderTableGUI\fillRow(), ilObjWorkspaceFolderTableGUI\getItems(), ilCommonActionDispatcherGUI\initHeaderAction(), and insertTitle().
const ilObjectListGUI::CONTEXT_WORKSPACE_SHARING = 4 |
Definition at line 32 of file class.ilObjectListGUI.php.
const ilObjectListGUI::DETAILS_ALL = 30 |
Definition at line 27 of file class.ilObjectListGUI.php.
Referenced by ilObjWorkspaceFolderTableGUI\fillRow(), ilObjSessionListGUI\getProperties(), 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().
const ilObjectListGUI::DOWNLOAD_CHECKBOX_DISABLED = 2 |
Definition at line 38 of file class.ilObjectListGUI.php.
Referenced by enableDownloadCheckbox().
const ilObjectListGUI::DOWNLOAD_CHECKBOX_ENABLED = 1 |
Definition at line 37 of file class.ilObjectListGUI.php.
Referenced by enableDownloadCheckbox().
const ilObjectListGUI::DOWNLOAD_CHECKBOX_NONE = 0 |
Definition at line 36 of file class.ilObjectListGUI.php.
Referenced by enableDownloadCheckbox().