ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilObjFileBasedLMListGUI. More...
Public Member Functions | |
init () | |
initialisation More... | |
getCommandLink ($a_cmd) | |
Overwrite this method, if link target is not build by ctrl class (e.g. More... | |
getCommandFrame ($a_cmd) | |
Get command target frame. More... | |
getProperties () | |
Get item properties. More... | |
Public Member Functions inherited from ilObjectListGUI | |
__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, \ilPathGUI $path_gui=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... | |
getDefaultCommand () | |
Get default command. 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... | |
determineProperties () | |
Determine properties. 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... | |
getTypeIcon () | |
Get object type specific type icon. 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... | |
getUniqueItemId ($a_as_div=false) | |
Get unique item identifier (for js-actions) 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... | |
checkInfoPageOnAsynchronousRendering () | |
Class ilObjFileBasedLMListGUI.
Definition at line 15 of file class.ilObjFileBasedLMListGUI.php.
ilObjFileBasedLMListGUI::getCommandFrame | ( | $a_cmd | ) |
Get command target frame.
string | $a_cmd | command |
Definition at line 78 of file class.ilObjFileBasedLMListGUI.php.
References ilObjectListGUI\$obj_id, and ilFrameTargetInfo\_getFrame().
ilObjFileBasedLMListGUI::getCommandLink | ( | $a_cmd | ) |
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 47 of file class.ilObjFileBasedLMListGUI.php.
References $_GET, ilObjectListGUI\$ctrl, $ilCtrl, and ilObjectListGUI\$ref_id.
ilObjFileBasedLMListGUI::getProperties | ( | ) |
Get item properties.
Definition at line 106 of file class.ilObjFileBasedLMListGUI.php.
References ilObjectListGUI\$lng, and ilObjFileBasedLMAccess\_determineStartUrl().
ilObjFileBasedLMListGUI::init | ( | ) |
initialisation
this method should be overwritten by derived classes
Definition at line 22 of file class.ilObjFileBasedLMListGUI.php.
References ilObjFileBasedLMAccess\_getCommands().