ILIAS
Release_3_10_x_branch Revision 61812
|
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 () | |
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 () | |
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 | |
getCommandId () | |
get command id Normally the ref id. | |
checkCommandAccess ($a_permission, $a_cmd, $a_ref_id, $a_type) | |
initItem ($a_ref_id, $a_obj_id, $a_title="", $a_description="") | |
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. | |
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 | |
getNoticeProperties () | |
get notice properties | |
addCustomCommand ($a_link, $a_lang_var, $a_frame="") | |
add a custom command | |
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 | |
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="") | |
insert command button | |
insertDeleteCommand () | |
insert cut command | |
insertLinkCommand () | |
insert link command | |
insertCutCommand () | |
insert cut command | |
insertSubscribeCommand () | |
insert subscribe command | |
insertInfoScreenCommand () | |
insert info screen command | |
insertCommands () | |
insert all commands into html code | |
appendRepositoryFrameParameter ($a_link) | |
workaround: all links into the repository (from outside) must tell repository to setup the frameset | |
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 | |
getListItemHTML ($a_ref_id, $a_obj_id, $a_title, $a_description) | |
Get all item information (title, commands, description) in 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 |
Data Fields | |
$ctrl | |
$description_enabled = true | |
$preconditions_enabled = true | |
$properties_enabled = true | |
$notice_properties_enabled = true | |
$commands_enabled = true | |
$cust_prop = array() | |
$cust_commands = array() | |
$info_screen_enabled = false | |
$condition_depth = 0 | |
$std_cmd_only = false | |
$sub_item_html = array() |
Protected Member Functions | |
insertPaymentCommand () |
Protected Attributes | |
$substitutions = null | |
$substitutions_enabled = false | |
$icons_enabled = false | |
$checkboxes_enabled = false | |
$position_enabled = false | |
$progress_enabled = false | |
$item_detail_links_enabled = false | |
$item_detail_links = array() | |
$item_detail_links_intro = '' | |
$expand_enabled = false | |
$is_expanded = true | |
$bold_title = 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 44 of file class.ilObjectListGUI.php.
ilObjectListGUI::addCustomCommand | ( | $a_link, | |
$a_lang_var, | |||
$a_frame = "" |
|||
) |
add a custom command
Definition at line 957 of file class.ilObjectListGUI.php.
ilObjectListGUI::addCustomProperty | ( | $a_property = "" , |
|
$a_value = "" , |
|||
$a_alert = false , |
|||
$a_newline = false |
|||
) |
add custom property
Definition at line 917 of file class.ilObjectListGUI.php.
Referenced by ilObjRemoteCourseListGUI\getProperties().
ilObjectListGUI::addSubItemHTML | ( | $a_html | ) |
Add HTML for subitem (used for sessions)
string | $a_html | subitems HTML |
Definition at line 479 of file class.ilObjectListGUI.php.
ilObjectListGUI::adminCommandsIncluded | ( | ) |
returns whether any admin commands (link, delete, cut) are included in the output
Definition at line 1904 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 1756 of file class.ilObjectListGUI.php.
References ilUtil\appendUrlParameterString().
Referenced by insertCommands(), and insertTitle().
ilObjectListGUI::checkCommandAccess | ( | $a_permission, | |
$a_cmd, | |||
$a_ref_id, | |||
$a_type | |||
) |
@return |
Reimplemented in ilObjCourseReferenceListGUI, and ilObjCategoryReferenceListGUI.
Definition at line 670 of file class.ilObjectListGUI.php.
Referenced by getCommands(), insertCutCommand(), insertDeleteCommand(), and insertLinkCommand().
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 706 of file class.ilObjectListGUI.php.
References $command, and ilLink\_getStaticLink().
Referenced by insertCommands(), and insertPaymentCommand().
ilObjectListGUI::enableCheckbox | ( | $a_status | ) |
En/Dis-able checkboxes.
boolean | checkbox on/off |
Definition at line 257 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableCommands | ( | $a_status, | |
$a_std_only = false |
|||
) |
En/disable commands.
bool |
Definition at line 448 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableCut | ( | $a_status | ) |
En/disable cut.
bool |
Definition at line 342 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableDelete | ( | $a_status | ) |
En/disable delete.
bool |
Definition at line 320 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableDescription | ( | $a_status | ) |
En/disable description.
bool |
Definition at line 215 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableExpand | ( | $a_status | ) |
En/Dis-able expand/collapse link.
boolean | checkbox on/off |
Definition at line 277 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableIcon | ( | $a_status | ) |
En/Dis-able icons.
boolean | icons on/off |
Definition at line 237 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableInfoScreen | ( | $a_info_screen | ) |
En/disable path.
bool |
Definition at line 469 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 549 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableLink | ( | $a_status | ) |
En/disable link.
bool |
Definition at line 405 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableNoticeProperties | ( | $a_status | ) |
En/disable notices.
bool |
Definition at line 193 of file class.ilObjectListGUI.php.
ilObjectListGUI::enablePath | ( | $a_path | ) |
En/disable path.
bool |
Definition at line 427 of file class.ilObjectListGUI.php.
ilObjectListGUI::enablePayment | ( | $a_status | ) |
En/disable payment.
bool |
Definition at line 384 of file class.ilObjectListGUI.php.
ilObjectListGUI::enablePreconditions | ( | $a_status | ) |
En/disable preconditions.
bool |
Definition at line 175 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableProgressInfo | ( | $a_status | ) |
enable progress info
public
@return |
Definition at line 501 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableProperties | ( | $a_status | ) |
En/disable properties.
bool |
Definition at line 153 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableSubscribe | ( | $a_status | ) |
En/disable subscribe.
bool |
Definition at line 363 of file class.ilObjectListGUI.php.
ilObjectListGUI::enableSubstitutions | ( | $a_status | ) |
Enable substitutions.
public
Definition at line 525 of file class.ilObjectListGUI.php.
ilObjectListGUI::getCheckboxStatus | ( | ) |
Are checkboxes enabled?
Definition at line 267 of file class.ilObjectListGUI.php.
References $checkboxes_enabled.
Referenced by insertIconsAndCheckboxes().
ilObjectListGUI::getCommandFrame | ( | $a_cmd | ) |
Get command target frame.
Overwrite this method if link frame is not current frame
string | $a_cmd | command |
Reimplemented in ilObjForumListGUI, ilObjiLincClassroomListGUI, ilObjGroupListGUI, ilObjLearningModuleListGUI, ilObjFolderListGUI, ilObjRemoteCourseListGUI, ilObjDlBookListGUI, ilObjLinkResourceListGUI, ilObjSAHSLearningModuleListGUI, ilObjGlossaryListGUI, ilObjFileBasedLMListGUI, ilObjTestListGUI, ilObjSurveyListGUI, ilObjSurveyQuestionPoolListGUI, ilObjQuestionPoolListGUI, ilObjMediaPoolListGUI, ilObjExerciseListGUI, ilObjFileListGUI, ilObjExternalFeedListGUI, ilObjMediaCastListGUI, ilObjWikiListGUI, and ilObjCategoryListGUI.
Definition at line 768 of file class.ilObjectListGUI.php.
Referenced by getCommands(), 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 660 of file class.ilObjectListGUI.php.
References $ref_id.
Referenced by insertCutCommand(), insertDeleteCommand(), insertIconsAndCheckboxes(), insertLinkCommand(), and insertSubscribeCommand().
ilObjectListGUI::getCommandLink | ( | $a_cmd | ) |
Get command link url.
Overwrite this method, if link target is not build by ctrl class (e.g. "forum.php"). This is the case for all links now, but bringing everything to ilCtrl should be realised in the future.
string | $a_cmd | command |
Reimplemented in ilObjForumListGUI, ilObjiLincClassroomListGUI, ilObjCourseReferenceListGUI, ilObjCategoryReferenceListGUI, ilObjSurveyListGUI, ilObjLinkResourceListGUI, ilObjTestListGUI, ilObjSurveyQuestionPoolListGUI, ilObjQuestionPoolListGUI, ilObjMediaCastListGUI, ilObjWikiListGUI, ilObjExerciseListGUI, ilObjMediaPoolListGUI, ilObjExternalFeedListGUI, ilObjSessionListGUI, ilObjLearningModuleListGUI, ilObjFolderListGUI, ilObjCategoryListGUI, ilObjDlBookListGUI, ilObjChatListGUI, ilObjGlossaryListGUI, ilObjFileBasedLMListGUI, ilObjSAHSLearningModuleListGUI, ilObjGroupListGUI, ilObjiLincCourseListGUI, and ilObjRootFolderListGUI.
Definition at line 733 of file class.ilObjectListGUI.php.
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 |
Reimplemented in ilObjiLincClassroomListGUI.
Definition at line 988 of file class.ilObjectListGUI.php.
References $cmd, $command, $ilBench, checkCommandAccess(), getCommandFrame(), and getCommandLink().
Referenced by insertCommands(), and insertPaymentCommand().
ilObjectListGUI::getCommandsStatus | ( | ) |
bool |
Definition at line 458 of file class.ilObjectListGUI.php.
References $commands_enabled.
Referenced by getListItemHTML(), insertCommands(), ilCourseObjectiveListGUI\insertTitle(), and insertTitle().
ilObjectListGUI::getContainerObject | ( | ) |
get container object
public
@return | object container |
Definition at line 115 of file class.ilObjectListGUI.php.
Referenced by ilCourseObjectiveListGUI\insertProgressInfo(), and ilCourseObjectiveListGUI\insertTitle().
ilObjectListGUI::getCustomProperties | ( | $a_prop | ) |
get custom properties
Definition at line 927 of file class.ilObjectListGUI.php.
Referenced by insertProperties().
ilObjectListGUI::getCutStatus | ( | ) |
bool |
Definition at line 353 of file class.ilObjectListGUI.php.
ilObjectListGUI::getDeleteStatus | ( | ) |
bool |
Definition at line 332 of file class.ilObjectListGUI.php.
ilObjectListGUI::getDescription | ( | ) |
getDescription overwritten in class.ilObjLinkResourceList.php
Reimplemented in ilObjLinkResourceListGUI.
Definition at line 646 of file class.ilObjectListGUI.php.
Referenced by insertDescription().
ilObjectListGUI::getDescriptionStatus | ( | ) |
bool |
Definition at line 227 of file class.ilObjectListGUI.php.
References $description_enabled.
Referenced by ilObjiLincClassroomListGUI\getListItemHTML(), and getListItemHTML().
ilObjectListGUI::getExpandStatus | ( | ) |
Is expand/collapse enabled.
Definition at line 287 of file class.ilObjectListGUI.php.
References $expand_enabled.
Referenced by insertIconsAndCheckboxes().
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 1051 of file class.ilObjectListGUI.php.
Referenced by insertIconsAndCheckboxes().
ilObjectListGUI::getIconStatus | ( | ) |
Are icons enabled?
Definition at line 247 of file class.ilObjectListGUI.php.
References $icons_enabled.
Referenced by insertIconsAndCheckboxes().
ilObjectListGUI::getInfoScreenStatus | ( | ) |
bool |
Definition at line 489 of file class.ilObjectListGUI.php.
References $info_screen_enabled.
Referenced by insertCommands().
ilObjectListGUI::getItemDetailLinkStatus | ( | ) |
get item detail link status
public
Definition at line 560 of file class.ilObjectListGUI.php.
References $item_detail_links_enabled.
Referenced by getListItemHTML().
ilObjectListGUI::getLinkStatus | ( | ) |
bool |
Definition at line 416 of file class.ilObjectListGUI.php.
ilObjectListGUI::getListItemHTML | ( | $a_ref_id, | |
$a_obj_id, | |||
$a_title, | |||
$a_description | |||
) |
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 |
Reimplemented in ilCourseObjectiveListGUI.
Definition at line 1919 of file class.ilObjectListGUI.php.
References $ilBench, ilGeneralSettings\_getInstance(), ilObject\_lookupType(), getCommandsStatus(), getDescriptionStatus(), getItemDetailLinkStatus(), getNoticePropertiesStatus(), getPreconditionsStatus(), getProgressInfoStatus(), getPropertiesStatus(), IL_LIST_AS_TRIGGER, initItem(), insertCommands(), insertDescription(), insertIconsAndCheckboxes(), insertItemDetailLinks(), insertNoticeProperties(), insertPath(), insertPayment(), insertPositionField(), insertPreconditions(), insertProgressInfo(), insertProperties(), insertSubItems(), insertTitle(), and isMode().
ilObjectListGUI::getMode | ( | ) |
get output mode
Definition at line 1181 of file class.ilObjectListGUI.php.
ilObjectListGUI::getNoticeProperties | ( | ) |
get notice properties
Definition at line 942 of file class.ilObjectListGUI.php.
Referenced by insertNoticeProperties().
ilObjectListGUI::getNoticePropertiesStatus | ( | ) |
Definition at line 182 of file class.ilObjectListGUI.php.
References $notice_properties_enabled.
Referenced by getListItemHTML().
ilObjectListGUI::getPathStatus | ( | ) |
bool |
Definition at line 437 of file class.ilObjectListGUI.php.
Referenced by insertPath().
ilObjectListGUI::getPaymentStatus | ( | ) |
bool |
Definition at line 395 of file class.ilObjectListGUI.php.
ilObjectListGUI::getPreconditionsStatus | ( | ) |
bool |
Definition at line 205 of file class.ilObjectListGUI.php.
References $preconditions_enabled.
Referenced by getListItemHTML().
ilObjectListGUI::getProgressInfoStatus | ( | ) |
get progress info status
public
@return |
Definition at line 513 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 790 of file class.ilObjectListGUI.php.
References $lng, ilChangeEvent\_isActive(), ilChangeEvent\_lookupChangeState(), and ilChangeEvent\_lookupInsideChangeState().
Referenced by insertProperties().
ilObjectListGUI::getPropertiesStatus | ( | ) |
bool |
Definition at line 165 of file class.ilObjectListGUI.php.
References $properties_enabled.
Referenced by ilObjiLincClassroomListGUI\getListItemHTML(), and getListItemHTML().
ilObjectListGUI::getSubscribeStatus | ( | ) |
bool |
Definition at line 374 of file class.ilObjectListGUI.php.
ilObjectListGUI::getSubstitutionStatus | ( | ) |
Get substitution status.
public
Definition at line 536 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 627 of file class.ilObjectListGUI.php.
References $title.
Referenced by ilCourseObjectiveListGUI\insertTitle(), and insertTitle().
ilObjectListGUI::ilObjectListGUI | ( | ) |
constructor
Definition at line 78 of file class.ilObjectListGUI.php.
References $ilCtrl, $lng, ilLDAPRoleGroupMapping\_getInstance(), IL_LIST_FULL, and init().
Referenced by ilObjCategoryListGUI\ilObjCategoryListGUI(), ilObjChatListGUI\ilObjChatListGUI(), ilObjCourseListGUI\ilObjCourseListGUI(), ilObjDlBookListGUI\ilObjDlBookListGUI(), ilObjExerciseListGUI\ilObjExerciseListGUI(), ilObjExternalFeedListGUI\ilObjExternalFeedListGUI(), ilObjFileBasedLMListGUI\ilObjFileBasedLMListGUI(), ilObjFileListGUI\ilObjFileListGUI(), ilObjFolderListGUI\ilObjFolderListGUI(), ilObjForumListGUI\ilObjForumListGUI(), ilObjGlossaryListGUI\ilObjGlossaryListGUI(), ilObjGroupListGUI\ilObjGroupListGUI(), ilObjiLincClassroomListGUI\ilObjiLincClassroomListGUI(), ilObjiLincCourseListGUI\ilObjiLincCourseListGUI(), ilObjLearningModuleListGUI\ilObjLearningModuleListGUI(), ilObjLinkResourceListGUI\ilObjLinkResourceListGUI(), ilObjMediaCastListGUI\ilObjMediaCastListGUI(), ilObjMediaPoolListGUI\ilObjMediaPoolListGUI(), ilObjQuestionPoolListGUI\ilObjQuestionPoolListGUI(), ilObjRootFolderListGUI\ilObjRootFolderListGUI(), ilObjSAHSLearningModuleListGUI\ilObjSAHSLearningModuleListGUI(), ilObjSurveyListGUI\ilObjSurveyListGUI(), ilObjSurveyQuestionPoolListGUI\ilObjSurveyQuestionPoolListGUI(), ilObjTestListGUI\ilObjTestListGUI(), and ilObjWikiListGUI\ilObjWikiListGUI().
ilObjectListGUI::init | ( | ) |
initialisation
this method should be overwritten by derived classes
Reimplemented in ilObjLinkResourceListGUI, ilObjCategoryReferenceListGUI, ilObjCourseReferenceListGUI, ilObjSessionListGUI, ilObjForumListGUI, ilObjTestListGUI, ilCourseObjectiveListGUI, ilObjSurveyQuestionPoolListGUI, ilObjQuestionPoolListGUI, ilObjChatListGUI, ilObjGlossaryListGUI, ilObjFileBasedLMListGUI, ilObjiLincClassroomListGUI, ilObjSAHSLearningModuleListGUI, ilObjSurveyListGUI, ilObjRemoteCourseListGUI, ilObjCourseListGUI, ilObjFolderListGUI, ilObjGroupListGUI, ilObjiLincCourseListGUI, ilObjRootFolderListGUI, ilObjDlBookListGUI, ilObjLearningModuleListGUI, ilObjCategoryListGUI, ilObjFileListGUI, ilObjMediaPoolListGUI, ilObjExerciseListGUI, ilObjExternalFeedListGUI, ilObjMediaCastListGUI, and ilObjWikiListGUI.
Definition at line 126 of file class.ilObjectListGUI.php.
References ilObjectAccess\_getCommands().
Referenced by ilObjectListGUI().
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 |
Reimplemented in ilObjiLincClassroomListGUI, ilObjLinkResourceListGUI, ilObjCategoryReferenceListGUI, ilObjCourseReferenceListGUI, ilObjRemoteCourseListGUI, ilObjForumListGUI, ilObjCourseListGUI, ilObjTestListGUI, ilObjSurveyListGUI, ilObjSurveyQuestionPoolListGUI, ilObjQuestionPoolListGUI, ilObjLearningModuleListGUI, ilObjMediaPoolListGUI, ilObjExerciseListGUI, ilObjFileListGUI, ilObjExternalFeedListGUI, ilObjMediaCastListGUI, ilObjWikiListGUI, and ilObjDlBookListGUI.
Definition at line 685 of file class.ilObjectListGUI.php.
References setDescription(), and setTitle().
Referenced by ilCourseObjectiveListGUI\getListItemHTML(), and getListItemHTML().
ilObjectListGUI::insertCommand | ( | $a_href, | |
$a_text, | |||
$a_frame = "" |
|||
) |
insert command button
private
string | $a_href | link url target |
string | $a_text | link text |
string | $a_frame | link frame target |
Definition at line 1454 of file class.ilObjectListGUI.php.
Referenced by ilObjiLincClassroomListGUI\insertCommands(), insertCommands(), insertCutCommand(), insertDeleteCommand(), insertInfoScreenCommand(), insertLinkCommand(), insertPaymentCommand(), and insertSubscribeCommand().
ilObjectListGUI::insertCommands | ( | ) |
insert all commands into html code
private
object | $a_tpl | template object |
int | $a_ref_id | item reference id |
Reimplemented in ilObjiLincClassroomListGUI.
Definition at line 1667 of file class.ilObjectListGUI.php.
References $command, appendRepositoryFrameParameter(), createDefaultCommand(), getCommands(), getCommandsStatus(), getInfoScreenStatus(), IL_LIST_AS_TRIGGER, insertCommand(), insertCutCommand(), insertDeleteCommand(), insertInfoScreenCommand(), insertLinkCommand(), insertSubscribeCommand(), and isMode().
Referenced by getListItemHTML().
ilObjectListGUI::insertCutCommand | ( | ) |
insert cut command
private
object | $a_tpl | template object |
int | $a_ref_id | item reference id |
Definition at line 1528 of file class.ilObjectListGUI.php.
References checkCommandAccess(), getCommandId(), 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 1476 of file class.ilObjectListGUI.php.
References checkCommandAccess(), getCommandId(), and insertCommand().
Referenced by ilObjiLincClassroomListGUI\insertCommands(), and insertCommands().
ilObjectListGUI::insertDescription | ( | ) |
insert item description
private
object | $a_tpl | template object |
string | $a_desc | item description |
Definition at line 1150 of file class.ilObjectListGUI.php.
References getDescription(), getSubstitutionStatus(), and insertSubstitutions().
Referenced by ilObjiLincClassroomListGUI\getListItemHTML(), ilCourseObjectiveListGUI\getListItemHTML(), and getListItemHTML().
ilObjectListGUI::insertIconsAndCheckboxes | ( | ) |
Insert icons and checkboxes.
Definition at line 1819 of file class.ilObjectListGUI.php.
References $lng, ilObject\_getIcon(), getCheckboxStatus(), getCommandId(), getExpandStatus(), getIconImageType(), getIconStatus(), ilUtil\getImagePath(), and isExpanded().
Referenced by ilCourseObjectiveListGUI\getListItemHTML(), and getListItemHTML().
ilObjectListGUI::insertInfoScreenCommand | ( | ) |
insert info screen command
Definition at line 1649 of file class.ilObjectListGUI.php.
References getCommandFrame(), getCommandLink(), and insertCommand().
Referenced by insertCommands().
ilObjectListGUI::insertItemDetailLinks | ( | ) |
insert item detail links
public
@return |
Definition at line 585 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 1500 of file class.ilObjectListGUI.php.
References checkCommandAccess(), getCommandId(), and insertCommand().
Referenced by insertCommands().
ilObjectListGUI::insertNoticeProperties | ( | ) |
Definition at line 1290 of file class.ilObjectListGUI.php.
References getNoticeProperties().
Referenced by getListItemHTML().
ilObjectListGUI::insertPath | ( | ) |
insert path
Definition at line 1776 of file class.ilObjectListGUI.php.
References $lng, ilObject\_lookupObjId(), ilObject\_lookupTitle(), and getPathStatus().
Referenced by getListItemHTML().
ilObjectListGUI::insertPayment | ( | ) |
insert payment information
private
Definition at line 1309 of file class.ilObjectListGUI.php.
References ilGeneralSettings\_getInstance(), ilPaymentObject\_hasAccess(), ilPaymentObject\_isBuyable(), ilPaymentObject\_isInCart(), ilUtil\getImagePath(), and insertPaymentCommand().
Referenced by getListItemHTML().
|
protected |
Definition at line 1345 of file class.ilObjectListGUI.php.
References $command, createDefaultCommand(), getCommands(), and insertCommand().
Referenced by insertPayment().
ilObjectListGUI::insertPositionField | ( | ) |
Insert field for positioning.
Definition at line 1889 of file class.ilObjectListGUI.php.
Referenced by getListItemHTML().
ilObjectListGUI::insertPreconditions | ( | ) |
insert all missing preconditions
Definition at line 1378 of file class.ilObjectListGUI.php.
References $lng, $location, ilConditionHandler\_checkCondition(), ilConditionHandler\_getConditionsOfTarget(), ilObject\_lookupTitle(), IL_LIST_AS_TRIGGER, and ilUtil\sortArray().
Referenced by getListItemHTML().
ilObjectListGUI::insertProgressInfo | ( | ) |
insert progress info
public
Reimplemented in ilCourseObjectiveListGUI.
Definition at line 1810 of file class.ilObjectListGUI.php.
Referenced by getListItemHTML().
ilObjectListGUI::insertProperties | ( | $a_item = '' | ) |
insert properties
private
Definition at line 1218 of file class.ilObjectListGUI.php.
References $lng, getCustomProperties(), and getProperties().
Referenced by ilObjiLincClassroomListGUI\getListItemHTML(), and getListItemHTML().
ilObjectListGUI::insertSubItems | ( | ) |
Insert subitems.
Definition at line 1876 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 1556 of file class.ilObjectListGUI.php.
References ilObject\_lookupObjId(), ilObject\_lookupType(), getCommandId(), and insertCommand().
Referenced by insertCommands().
ilObjectListGUI::insertSubstitutions | ( | ) |
Insert substitutions.
public
Definition at line 1110 of file class.ilObjectListGUI.php.
References $data.
Referenced by insertDescription().
ilObjectListGUI::insertTitle | ( | ) |
insert item title
private
object | $a_tpl | template object |
string | $a_title | item title |
Reimplemented in ilCourseObjectiveListGUI.
Definition at line 1064 of file class.ilObjectListGUI.php.
References appendRepositoryFrameParameter(), getCommandsStatus(), and getTitle().
Referenced by ilObjiLincClassroomListGUI\getListItemHTML(), and getListItemHTML().
ilObjectListGUI::isExpanded | ( | ) |
Definition at line 297 of file class.ilObjectListGUI.php.
References $is_expanded.
Referenced by insertIconsAndCheckboxes().
ilObjectListGUI::isMode | ( | $a_mode | ) |
check current output mode
string | $a_mode | (IL_LIST_FULL | IL_LIST_AS_TRIGGER) |
Definition at line 1201 of file class.ilObjectListGUI.php.
Referenced by ilObjiLincClassroomListGUI\getListItemHTML(), getListItemHTML(), ilObjiLincClassroomListGUI\insertCommands(), and insertCommands().
ilObjectListGUI::isSideBlock | ( | ) |
Returns whether current item is a block in a side column or not.
Reimplemented in ilObjExternalFeedListGUI.
Definition at line 2035 of file class.ilObjectListGUI.php.
ilObjectListGUI::isTitleBold | ( | ) |
public
Definition at line 2056 of file class.ilObjectListGUI.php.
References $bold_title.
ilObjectListGUI::setBoldTitle | ( | $a_bold_title | ) |
public boolean $a_bold_title set the item title bold
Definition at line 2045 of file class.ilObjectListGUI.php.
ilObjectListGUI::setConditionDepth | ( | $a_depth | ) |
set depth for precondition output (stops at level 5)
Definition at line 1189 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 103 of file class.ilObjectListGUI.php.
ilObjectListGUI::setDescription | ( | $a_description | ) |
string | description |
Definition at line 636 of file class.ilObjectListGUI.php.
Referenced by initItem().
ilObjectListGUI::setExpanded | ( | $a_status | ) |
Definition at line 292 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 572 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 1171 of file class.ilObjectListGUI.php.
ilObjectListGUI::setPositionInputField | ( | $a_field_index, | |
$a_position_value | |||
) |
Set position input field.
string | $a_field_index | e.g. "[crs][34]" |
string | $a_position_value | e.g. "2.0" |
Definition at line 307 of file class.ilObjectListGUI.php.
ilObjectListGUI::setTitle | ( | $a_title | ) |
string | title |
Definition at line 617 of file class.ilObjectListGUI.php.
Referenced by initItem().
|
protected |
Definition at line 72 of file class.ilObjectListGUI.php.
Referenced by isTitleBold().
|
protected |
Definition at line 63 of file class.ilObjectListGUI.php.
Referenced by getCheckboxStatus().
ilObjectListGUI::$commands_enabled = true |
Definition at line 51 of file class.ilObjectListGUI.php.
Referenced by getCommandsStatus().
ilObjectListGUI::$condition_depth = 0 |
Definition at line 55 of file class.ilObjectListGUI.php.
ilObjectListGUI::$ctrl |
Definition at line 46 of file class.ilObjectListGUI.php.
ilObjectListGUI::$cust_commands = array() |
Definition at line 53 of file class.ilObjectListGUI.php.
ilObjectListGUI::$cust_prop = array() |
Definition at line 52 of file class.ilObjectListGUI.php.
ilObjectListGUI::$description_enabled = true |
Definition at line 47 of file class.ilObjectListGUI.php.
Referenced by getDescriptionStatus().
|
protected |
Definition at line 70 of file class.ilObjectListGUI.php.
Referenced by getExpandStatus().
|
protected |
Definition at line 62 of file class.ilObjectListGUI.php.
Referenced by getIconStatus().
ilObjectListGUI::$info_screen_enabled = false |
Definition at line 54 of file class.ilObjectListGUI.php.
Referenced by getInfoScreenStatus().
|
protected |
Definition at line 71 of file class.ilObjectListGUI.php.
Referenced by isExpanded().
|
protected |
Definition at line 67 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 66 of file class.ilObjectListGUI.php.
Referenced by getItemDetailLinkStatus().
|
protected |
Definition at line 68 of file class.ilObjectListGUI.php.
ilObjectListGUI::$notice_properties_enabled = true |
Definition at line 50 of file class.ilObjectListGUI.php.
Referenced by getNoticePropertiesStatus().
|
protected |
Definition at line 64 of file class.ilObjectListGUI.php.
ilObjectListGUI::$preconditions_enabled = true |
Definition at line 48 of file class.ilObjectListGUI.php.
Referenced by getPreconditionsStatus().
|
protected |
Definition at line 65 of file class.ilObjectListGUI.php.
Referenced by getProgressInfoStatus().
ilObjectListGUI::$properties_enabled = true |
Definition at line 49 of file class.ilObjectListGUI.php.
Referenced by getPropertiesStatus().
ilObjectListGUI::$std_cmd_only = false |
Definition at line 56 of file class.ilObjectListGUI.php.
ilObjectListGUI::$sub_item_html = array() |
Definition at line 57 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 59 of file class.ilObjectListGUI.php.
|
protected |
Definition at line 60 of file class.ilObjectListGUI.php.
Referenced by getSubstitutionStatus().