ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilLTIConsumerProviderTableGUI Class Reference
+ Inheritance diagram for ilLTIConsumerProviderTableGUI:
+ Collaboration diagram for ilLTIConsumerProviderTableGUI:

Public Member Functions

 __construct (?object $a_parent_obj, string $a_parent_cmd)
 
 getTitle ()
 
 getEditProviderCmd ()
 
 setEditProviderCmd (string $editProviderCmd)
 
 getAcceptProviderAsGlobalCmd ()
 
 setAcceptProviderAsGlobalCmd (string $acceptProviderAsGlobalCmd)
 
 getAcceptProviderAsGlobalMultiCmd ()
 
 setAcceptProviderAsGlobalMultiCmd (string $acceptProviderAsGlobalMultiCmd)
 
 getResetProviderToUserScopeCmd ()
 
 setResetProviderToUserScopeCmd (string $resetProviderToUserScopeCmd)
 
 getResetProviderToUserScopeMultiCmd ()
 
 setResetProviderToUserScopeMultiCmd (string $resetProviderToUserScopeMultiCmd)
 
 getSelectProviderCmd ()
 
 setSelectProviderCmd (string $selectProviderCmd)
 
 getDeleteProviderCmd ()
 
 setDeleteProviderCmd (string $deleteProviderCmd)
 
 getDeleteProviderMultiCmd ()
 
 setDeleteProviderMultiCmd (string $deleteProviderMultiCmd)
 
 isAvailabilityColumnEnabled ()
 
 setAvailabilityColumnEnabled (bool $availabilityColumnEnabled)
 
 isOwnProviderColumnEnabled ()
 
 setOwnProviderColumnEnabled (bool $ownProviderColumnEnabled)
 
 isProviderCreatorColumnEnabled ()
 
 setProviderCreatorColumnEnabled (bool $providerCreatorColumnEnabled)
 
 isActionsColumnEnabled ()
 
 setActionsColumnEnabled (bool $actionsColumnEnabled)
 
 isDetailedUsagesEnabled ()
 
 setDetailedUsagesEnabled (bool $detailedUsagesEnabled)
 
 hasMultiCommands ()
 
 init ()
 
 determineSelectedColumns ()
 
 getSelectableColumns ()
 
 initFilter ()
 
- Public Member Functions inherited from ilTable2GUI
 __construct (?object $a_parent_obj, string $a_parent_cmd="", string $a_template_context="")
 
 setOpenFormTag (bool $a_val)
 
 getOpenFormTag ()
 
 setCloseFormTag (bool $a_val)
 
 getCloseFormTag ()
 
 determineLimit ()
 
 getSelectableColumns ()
 Get selectable columns. More...
 
 determineSelectedColumns ()
 
 isColumnSelected (string $col)
 
 getSelectedColumns ()
 
 resetOffset (bool $a_in_determination=false)
 
 initFilter ()
 
 getParentObject ()
 
 getParentCmd ()
 
 setTopAnchor (string $a_val)
 
 getTopAnchor ()
 
 setNoEntriesText (string $a_text)
 
 getNoEntriesText ()
 
 setIsDataTable (bool $a_val)
 
 getIsDataTable ()
 
 setEnableTitle (bool $a_enabletitle)
 
 getEnableTitle ()
 
 setEnableHeader (bool $a_enableheader)
 
 getEnableHeader ()
 
 setEnableNumInfo (bool $a_val)
 
 getEnableNumInfo ()
 
 setTitle (string $a_title, string $a_icon="", string $a_icon_alt="")
 
 setDescription (string $a_val)
 
 getDescription ()
 
 setOrderField (string $a_order_field)
 
 getOrderField ()
 
 setData (array $a_data)
 
 getData ()
 
 dataExists ()
 
 setPrefix (string $a_prefix)
 
 getPrefix ()
 
 addFilterItem (ilTableFilterItem $a_input_item, bool $a_optional=false)
 
 addFilterItemByMetaType (string $id, int $type=self::FILTER_TEXT, bool $a_optional=false, string $caption="")
 Add filter by standard type. More...
 
 getFilterItems (bool $a_optionals=false)
 
 getFilterItemByPostVar (string $a_post_var)
 
 setFilterCols (int $a_val)
 
 getFilterCols ()
 
 setDisableFilterHiding (bool $a_val=true)
 
 getDisableFilterHiding ()
 
 isFilterSelected (string $a_col)
 Is given filter selected? More...
 
 getSelectedFilters ()
 
 determineSelectedFilters ()
 
 setCustomPreviousNext (string $a_prev_link, string $a_next_link)
 
 setFormAction (string $a_form_action, bool $a_multipart=false)
 
 getFormAction ()
 
 setFormName (string $a_name="")
 
 getFormName ()
 
 setId (string $a_val)
 
 getId ()
 
 setDisplayAsBlock (bool $a_val)
 
 getDisplayAsBlock ()
 
 setSelectAllCheckbox (string $a_select_all_checkbox, bool $a_select_all_on_top=false)
 
 setExternalSorting (bool $a_val)
 
 getExternalSorting ()
 
 setFilterCommand (string $a_val, string $a_caption="")
 
 getFilterCommand ()
 
 setResetCommand (string $a_val, string $a_caption="")
 
 getResetCommand ()
 
 setExternalSegmentation (bool $a_val)
 
 getExternalSegmentation ()
 
 setRowTemplate (string $a_template, string $a_template_dir="")
 Set row template. More...
 
 setDefaultOrderField (string $a_defaultorderfield)
 
 getDefaultOrderField ()
 
 setDefaultOrderDirection (string $a_defaultorderdirection)
 
 getDefaultOrderDirection ()
 
 setDefaultFilterVisiblity (bool $a_status)
 
 getDefaultFilterVisibility ()
 
 clearCommandButtons ()
 
 addCommandButton (string $a_cmd, string $a_text, string $a_onclick='', string $a_id="", string $a_class="")
 
 addCommandButtonInstance (ilButtonBase $a_button)
 
 addMultiItemSelectionButton (string $a_sel_var, array $a_options, string $a_cmd, string $a_text, string $a_default_selection='')
 
 setCloseCommand (string $a_link)
 
 addMultiCommand (string $a_cmd, string $a_text)
 
 addHiddenInput (string $a_name, string $a_value)
 
 addHeaderCommand (string $a_href, string $a_text, string $a_target="", string $a_img="")
 
 setTopCommands (bool $a_val)
 
 getTopCommands ()
 
 addColumn (string $a_text, string $a_sort_field="", string $a_width="", bool $a_is_checkbox_action_column=false, string $a_class="", string $a_tooltip="", bool $a_tooltip_with_html=false)
 
 getNavParameter ()
 
 setOrderLink (string $key, string $order_dir)
 
 fillHeader ()
 
 determineOffsetAndOrder (bool $a_omit_offset=false)
 
 storeNavParameter ()
 
 getHTML ()
 Get HTML. More...
 
 numericOrdering (string $a_field)
 Should this field be sorted numeric? More...
 
 render ()
 
 writeFilterToSession ()
 
 resetFilter ()
 
 fillFooter ()
 
 getLinkbar (string $a_num)
 
 fillHiddenRow ()
 
 fillActionRow ()
 
 setHeaderHTML (string $html)
 
 storeProperty (string $type, string $value)
 
 loadProperty (string $type)
 
 getCurrentState ()
 get current settings for order, limit, columns and filter More...
 
 setContext (string $id)
 
 getContext ()
 
 setShowRowsSelector (bool $a_value)
 Toggle rows-per-page selector. More...
 
 getShowRowsSelector ()
 
 setShowTemplates (bool $a_value)
 
 getShowTemplates ()
 
 restoreTemplate (string $a_name)
 Restore state from template. More...
 
 saveTemplate (string $a_name)
 Save current state as template. More...
 
 deleteTemplate (string $a_name)
 
 getLimit ()
 
 getOffset ()
 
 setExportFormats (array $formats)
 Set available export formats. More...
 
 setPrintMode (bool $a_value=false)
 
 getPrintMode ()
 
 getExportMode ()
 
 exportData (int $format, bool $send=false)
 Export and optionally send current table data. More...
 
 setEnableAllCommand (bool $a_value)
 
 setRowSelectorLabel (string $row_selector_label)
 
 getRowSelectorLabel ()
 
 setPreventDoubleSubmission (bool $a_val)
 
 getPreventDoubleSubmission ()
 
 setLimit (int $a_limit=0, int $a_default_limit=0)
 
- Public Member Functions inherited from ilTableGUI
 __construct (array $a_data=[], bool $a_global_tpl=true)
 
 setTemplate (ilTemplate $a_tpl)
 
 getTemplateObject ()
 
 setData (array $a_data)
 Set table data. More...
 
 getData ()
 
 setTitle (string $a_title, string $a_icon="", string $a_icon_alt="")
 
 setHelp (string $a_help_page, string $a_help_icon, string $a_help_icon_alt="")
 
 setHeaderNames (array $a_header_names)
 
 getColumnCount ()
 
 setHeaderVars (array $a_header_vars, array $a_header_params=[])
 
 setColumnWidth (array $a_column_width)
 set table column widths More...
 
 setOneColumnWidth (string $a_column_width, int $a_column_number)
 
 setMaxCount (int $a_max_count)
 set max. More...
 
 setLimit (int $a_limit=0, int $a_default_limit=0)
 set max. More...
 
 getLimit ()
 
 setPrefix (string $a_prefix)
 set prefix for sort and offset fields (if you have two or more tables on a page that you want to sort separately) More...
 
 setOffset (int $a_offset)
 set dataset offset More...
 
 getOffset ()
 
 setOrderColumn (string $a_order_column="", string $a_default_column="")
 
 getOrderColumn ()
 
 setOrderDirection (string $a_order_direction)
 
 getOrderDirection ()
 
 setFooter (string $a_style, string $a_previous="", string $a_next="")
 
 enable (string $a_module_name)
 
 disable (string $a_module_name)
 
 sortData ()
 
 render ()
 
 renderHeader ()
 
 setOrderLink (string $key, string $order_dir)
 
 setStyle (string $a_element, string $a_style)
 
 getStyle (string $a_element)
 
 setBase (string $a_base)
 
 getBase ()
 
 getFormName ()
 get the name of the parent form More...
 
 setFormName (string $a_name="cmd")
 
 getSelectAllCheckbox ()
 get the name of the checkbox that should be toggled with a select all button More...
 
 setSelectAllCheckbox (string $a_select_all_checkbox)
 
 clearActionButtons ()
 
 addActionButton (string $btn_name, string $btn_value)
 

Protected Member Functions

 initCommands ()
 
 initColumns ()
 
 fillRow (array $a_set)
 
 getHasOutcomeFormatted (bool $hasOutcome)
 
 getIsInternalFormatted (bool $isInternal)
 
 getIsWithKeyFormatted (bool $isWithKey)
 
 getCategoryTranslation (string $category)
 
 getAvailabilityLabel (array $data)
 
 getOwnProviderLabel (array $data)
 
 getProviderCreatorLabel (array $data)
 
 buildActionsListHtml (array $data)
 
 getActionItems (array $data)
 
 buildProviderLink (int $providerId, string $command)
 
 isUserCreatedProviderResettableToUserScope (array $data)
 
- Protected Member Functions inherited from ilTable2GUI
 getRequestedValues ()
 
 prepareOutput ()
 Anything that must be done before HTML is generated. More...
 
 isFilterVisible ()
 Check if filter is visible: manually shown (session, db) or default value set. More...
 
 isAdvMDFilter (ilAdvancedMDRecordGUI $a_gui, ilTableFilterItem $a_element)
 Check if filter element is based on adv md. More...
 
 fillRow (array $a_set)
 Standard Version of Fill Row. More...
 
 getFilterValue (ilTableFilterItem $a_item)
 Get current filter value. More...
 
 setFilterValue (ilTableFilterItem $a_item, $a_value)
 
 fillMetaExcel (ilExcel $a_excel, int &$a_row)
 Add meta information to excel export. More...
 
 fillHeaderExcel (ilExcel $a_excel, int &$a_row)
 Excel Version of Fill Header. More...
 
 fillRowExcel (ilExcel $a_excel, int &$a_row, array $a_set)
 Excel Version of Fill Row. More...
 
 fillMetaCSV (ilCSVWriter $a_csv)
 Add meta information to csv export. More...
 
 fillHeaderCSV (ilCSVWriter $a_csv)
 CSV Version of Fill Header. More...
 
 fillRowCSV (ilCSVWriter $a_csv, array $a_set)
 CSV Version of Fill Row. More...
 

Static Protected Member Functions

static isTrashEnabled ()
 

Protected Attributes

string $editProviderCmd = ''
 
string $acceptProviderAsGlobalCmd = ''
 
string $acceptProviderAsGlobalMultiCmd = ''
 
string $resetProviderToUserScopeCmd = ''
 
string $resetProviderToUserScopeMultiCmd = ''
 
string $selectProviderCmd = ''
 
string $deleteProviderCmd = ''
 
string $deleteProviderMultiCmd = ''
 
bool $availabilityColumnEnabled = false
 
bool $ownProviderColumnEnabled = false
 
bool $providerCreatorColumnEnabled = false
 
bool $actionsColumnEnabled = false
 
bool $detailedUsagesEnabled = false
 
array $filter
 
- Protected Attributes inherited from ilTable2GUI
string $requested_tmpl_delete
 
string $requested_tmpl_create
 
string $requested_nav_par2 = ""
 
string $requested_nav_par = ""
 
string $requested_nav_par1 = ""
 
ILIAS Table TableGUIRequest $table_request = null
 
array $selected_columns = []
 
ilCtrl $ctrl
 
object $parent_obj = null
 
string $parent_cmd = ""
 
string $close_command = ""
 
string $top_anchor = "il_table_top"
 
array $filters = array()
 
array $optional_filters = array()
 
string $filter_cmd = 'applyFilter'
 
string $reset_cmd = 'resetFilter'
 
int $filter_cols = 5
 
bool $ext_sort = false
 
bool $ext_seg = false
 
string $context = ""
 
array $mi_sel_buttons = []
 
bool $disable_filter_hiding = false
 
bool $top_commands = true
 
array $selectable_columns = array()
 
array $selected_column = array()
 
bool $show_templates = false
 
bool $show_rows_selector = true
 
bool $rows_selector_off = false
 
bool $nav_determined = false
 
bool $limit_determined = false
 
bool $filters_determined = false
 
bool $columns_determined = false
 
bool $open_form_tag = true
 
bool $close_form_tag = true
 
array $export_formats = []
 
int $export_mode = 0
 
bool $print_mode = false
 
bool $enable_command_for_all = false
 
bool $restore_filter = false
 
array $restore_filter_values = []
 
bool $default_filter_visibility = false
 
array $sortable_fields = array()
 
bool $prevent_double_submission = true
 
string $row_selector_label = ""
 
bool $select_all_on_top = false
 
array $sel_buttons = []
 
string $nav_value = ''
 
string $noentriestext = ''
 
string $css_row = ''
 
bool $display_as_block = false
 
string $description = ''
 
string $id = ""
 
bool $custom_prev_next = false
 
string $reset_cmd_txt = ""
 
string $defaultorderfield = ""
 
string $defaultorderdirection = ""
 
array $column = []
 
bool $datatable = false
 
bool $num_info = false
 
bool $form_multipart = false
 
array $row_data = []
 
string $order_field = ""
 
array $selected_filter = []
 
string $form_action = ""
 
string $formname = ""
 
string $sort_order = ""
 
array $buttons = []
 
array $multi = []
 
array $hidden_inputs = []
 
array $header_commands = []
 
string $row_template = ""
 
string $row_template_dir = ""
 
string $filter_cmd_txt = ""
 
string $custom_prev = ""
 
string $custom_next = ""
 
array $raw_post_data = null
 
ilGlobalTemplateInterface $main_tpl
 
- Protected Attributes inherited from ilTableGUI
string $sort_order
 
string $link_params
 
array $header_params
 
 $tpl
 
ilLanguage $lng
 

Additional Inherited Members

- Static Public Member Functions inherited from ilTable2GUI
static getAllCommandLimit ()
 
- Static Public Member Functions inherited from ilTableGUI
static linkbar (string $AScript, int $AHits, int $ALimit, int $AOffset, array $AParams=array(), array $ALayout=array(), string $prefix='')
 
- Data Fields inherited from ilTable2GUI
const FILTER_TEXT = 1
 
const FILTER_SELECT = 2
 
const FILTER_DATE = 3
 
const FILTER_LANGUAGE = 4
 
const FILTER_NUMBER_RANGE = 5
 
const FILTER_DATE_RANGE = 6
 
const FILTER_DURATION_RANGE = 7
 
const FILTER_DATETIME_RANGE = 8
 
const FILTER_CHECKBOX = 9
 
const EXPORT_EXCEL = 1
 
const EXPORT_CSV = 2
 
const ACTION_ALL_LIMIT = 1000
 
- Data Fields inherited from ilTableGUI
string $title = ""
 
string $icon = ""
 
string $icon_alt = ""
 
string $help_page = ""
 
string $help_icon = ""
 
string $help_icon_alt = ""
 
array $header_names = []
 
array $header_vars = []
 
array $linkbar_vars = []
 
array $data = []
 
int $column_count = 0
 
array $column_width = []
 
int $max_count = 0
 
int $limit = 0
 
bool $max_limit = false
 
int $offset = 0
 
string $order_column = ""
 
string $order_direction = ""
 
string $footer_style = ""
 
string $footer_previous = ""
 
string $footer_next = ""
 
bool $lang_support = true
 
bool $global_tpl = false
 
string $form_name = ""
 
string $select_all_checkbox = ""
 
array $action_buttons = []
 
string $prefix = ""
 
string $base = ""
 
array $enabled
 
array $styles
 

Detailed Description

Definition at line 29 of file class.ilLTIConsumerProviderTableGUI.php.

Constructor & Destructor Documentation

◆ __construct()

ilLTIConsumerProviderTableGUI::__construct ( ?object  $a_parent_obj,
string  $a_parent_cmd 
)

Definition at line 98 of file class.ilLTIConsumerProviderTableGUI.php.

References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ilTable2GUI\setFormAction(), ilTable2GUI\setId(), ilTable2GUI\setRowTemplate(), and ilTable2GUI\setTitle().

99  {
100  global $DIC; /* @var \ILIAS\DI\Container $DIC */
101 
102  $this->setId('providers');
103  parent::__construct($a_parent_obj, $a_parent_cmd);
104 
105  $this->setFormAction($DIC->ctrl()->getFormAction($a_parent_obj, $a_parent_cmd));
106  $this->setRowTemplate('tpl.lti_consume_provider_table_row.html', 'Modules/LTIConsumer');
107 
108  $this->setTitle($DIC->language()->txt('tbl_provider_header'));
109  //$this->setDescription($DIC->language()->txt('tbl_provider_header_info'));
110  }
setFormAction(string $a_form_action, bool $a_multipart=false)
setId(string $a_val)
global $DIC
Definition: feed.php:28
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template.
setTitle(string $a_title, string $a_icon="", string $a_icon_alt="")
__construct(Container $dic, ilPlugin $plugin)
+ Here is the call graph for this function:

Member Function Documentation

◆ buildActionsListHtml()

ilLTIConsumerProviderTableGUI::buildActionsListHtml ( array  $data)
protected

Definition at line 635 of file class.ilLTIConsumerProviderTableGUI.php.

References $DIC, and getActionItems().

Referenced by fillRow().

635  : string
636  {
637  global $DIC; /* @var \ILIAS\DI\Container $DIC */
638 
639  $items = $this->getActionItems($data);
640 
641  if ($items !== []) {
642  return $DIC->ui()->renderer()->render(
643  $DIC->ui()->factory()->dropdown()->standard($items)->withLabel(
644  $DIC->language()->txt('actions')
645  )
646  );
647  }
648 
649  return '';
650  }
global $DIC
Definition: feed.php:28
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ buildProviderLink()

ilLTIConsumerProviderTableGUI::buildProviderLink ( int  $providerId,
string  $command 
)
protected

Definition at line 699 of file class.ilLTIConsumerProviderTableGUI.php.

References $DIC.

Referenced by fillRow(), and getActionItems().

699  : string
700  {
701  global $DIC; /* @var \ILIAS\DI\Container $DIC */
702 
703  $DIC->ctrl()->setParameter($this->parent_obj, 'provider_id', $providerId);
704  $link = $DIC->ctrl()->getLinkTarget($this->parent_obj, $command);
705  $DIC->ctrl()->setParameter($this->parent_obj, 'provider_id', 0);
706 
707  return $link;
708  }
if(empty($clientId)) $providerId
Definition: ltitoken.php:82
global $DIC
Definition: feed.php:28
+ Here is the caller graph for this function:

◆ determineSelectedColumns()

ilLTIConsumerProviderTableGUI::determineSelectedColumns ( )
  • do nothing to avoid ilTable2::__construct() from initialising to early
  • we do late call to parent method within self::init()

Definition at line 354 of file class.ilLTIConsumerProviderTableGUI.php.

354  : void
355  {
360  }

◆ fillRow()

ilLTIConsumerProviderTableGUI::fillRow ( array  $a_set)
protected

Definition at line 469 of file class.ilLTIConsumerProviderTableGUI.php.

References ilTableGUI\$icon, ilObject\_getIcon(), buildActionsListHtml(), buildProviderLink(), getAvailabilityLabel(), getCategoryTranslation(), getEditProviderCmd(), getHasOutcomeFormatted(), getIsInternalFormatted(), getIsWithKeyFormatted(), getOwnProviderLabel(), getProviderCreatorLabel(), getSelectProviderCmd(), hasMultiCommands(), isActionsColumnEnabled(), isAvailabilityColumnEnabled(), ilTable2GUI\isColumnSelected(), isDetailedUsagesEnabled(), isOwnProviderColumnEnabled(), and isProviderCreatorColumnEnabled().

469  : void
470  {
471  if ($this->hasMultiCommands()) {
472  $this->tpl->setCurrentBlock('checkbox_col');
473  $this->tpl->setVariable('PROVIDER_ID', $a_set['id']);
474  $this->tpl->parseCurrentBlock();
475  }
476 
477  if ($this->getSelectProviderCmd()) {
478  $this->tpl->setCurrentBlock('title_linked');
479  $this->tpl->setVariable('TITLE', $a_set['title']);
480  $this->tpl->setVariable('TITLE_HREF', $this->buildProviderLink(
481  $a_set['id'],
482  $this->getSelectProviderCmd()
483  ));
484  $this->tpl->parseCurrentBlock();
485  } elseif ($this->getEditProviderCmd()) {
486  $this->tpl->setCurrentBlock('title_linked');
487  $this->tpl->setVariable('TITLE', $a_set['title']);
488  $this->tpl->setVariable('TITLE_HREF', $this->buildProviderLink(
489  $a_set['id'],
490  $this->getEditProviderCmd()
491  ));
492  $this->tpl->parseCurrentBlock();
493  } else {
494  $this->tpl->setCurrentBlock('title');
495  $this->tpl->setVariable('TITLE', $a_set['title']);
496  $this->tpl->parseCurrentBlock();
497  }
498 
499  if (isset($a_set['icon'])) {
500  $this->tpl->setVariable('ICON_SRC', $a_set['icon']);
501  $this->tpl->setVariable('ICON_ALT', basename($a_set['icon']));
502  } else {
503  $icon = ilObject::_getIcon(0, "small", "lti");
504  $this->tpl->setVariable('ICON_SRC', $icon);
505  $this->tpl->setVariable('ICON_ALT', 'lti');
506  }
507 
508  if ($this->isColumnSelected('description')) {
509  $this->tpl->setVariable('DESCRIPTION', $a_set['description']);
510  }
511 
512  if ($this->isColumnSelected('category')) {
513  $this->tpl->setVariable('CATEGORY', $this->getCategoryTranslation($a_set['category']));
514  }
515 
516  if ($this->isColumnSelected('keywords')) {
517  $this->tpl->setVariable('KEYWORDS', $a_set['keywords']);
518  }
519 
520  if ($this->isColumnSelected('outcome')) {
521  $this->tpl->setVariable('OUTCOME', $this->getHasOutcomeFormatted($a_set['outcome']));
522  }
523 
524  if ($this->isColumnSelected('internal')) {
525  $this->tpl->setVariable('INTERNAL', $this->getIsInternalFormatted(!(bool) $a_set['external']));
526  }
527 
528  if ($this->isColumnSelected('with_key')) {
529  $this->tpl->setVariable('WITH_KEY', $this->getIsWithKeyFormatted(!(bool) $a_set['provider_key_customizable']));
530  }
531 
532  if ($this->isColumnSelected('availability') && $this->isAvailabilityColumnEnabled()) {
533  $this->tpl->setVariable('AVAILABILITY', $this->getAvailabilityLabel($a_set));
534  }
535 
536  if ($this->isColumnSelected('own_provider') && $this->isOwnProviderColumnEnabled()) {
537  $this->tpl->setVariable('OWN_PROVIDER', $this->getOwnProviderLabel($a_set));
538  }
539 
540  if ($this->isColumnSelected('provider_creator') && $this->isProviderCreatorColumnEnabled()) {
541  $this->tpl->setVariable('PROVIDER_CREATOR', $this->getProviderCreatorLabel($a_set));
542  }
543 
544  if ($this->isColumnSelected('usages_untrashed')) {
545  $usagesUntrashed = $a_set['usages_untrashed'] ? $a_set['usages_untrashed'] : '';
546  $this->tpl->setVariable('USAGES_UNTRASHED', $usagesUntrashed);
547  }
548 
549  if ($this->isColumnSelected('usages_trashed') && $this->isDetailedUsagesEnabled() && self::isTrashEnabled()) {
550  $usagesTrashed = $a_set['usages_trashed'] ? $a_set['usages_trashed'] : '';
551  $this->tpl->setVariable('USAGES_TRASHED', $usagesTrashed);
552  }
553 
554  if ($this->isActionsColumnEnabled()) {
555  $this->tpl->setVariable('ACTIONS', $this->buildActionsListHtml($a_set));
556  }
557  }
static _getIcon(int $obj_id=0, string $size="big", string $type="", bool $offline=false)
Get icon for repository item.
isColumnSelected(string $col)
buildProviderLink(int $providerId, string $command)
+ Here is the call graph for this function:

◆ getAcceptProviderAsGlobalCmd()

ilLTIConsumerProviderTableGUI::getAcceptProviderAsGlobalCmd ( )

Definition at line 127 of file class.ilLTIConsumerProviderTableGUI.php.

References $acceptProviderAsGlobalCmd.

Referenced by getActionItems().

127  : string
128  {
130  }
+ Here is the caller graph for this function:

◆ getAcceptProviderAsGlobalMultiCmd()

ilLTIConsumerProviderTableGUI::getAcceptProviderAsGlobalMultiCmd ( )

Definition at line 137 of file class.ilLTIConsumerProviderTableGUI.php.

References $acceptProviderAsGlobalMultiCmd.

Referenced by hasMultiCommands(), and initCommands().

137  : string
138  {
140  }
+ Here is the caller graph for this function:

◆ getActionItems()

ilLTIConsumerProviderTableGUI::getActionItems ( array  $data)
protected
Returns
mixed[]

Definition at line 655 of file class.ilLTIConsumerProviderTableGUI.php.

References $DIC, buildProviderLink(), getAcceptProviderAsGlobalCmd(), getDeleteProviderCmd(), getEditProviderCmd(), getResetProviderToUserScopeCmd(), getSelectProviderCmd(), and isUserCreatedProviderResettableToUserScope().

Referenced by buildActionsListHtml().

655  : array
656  {
657  global $DIC; /* @var \ILIAS\DI\Container $DIC */
658 
659  $items = array();
660 
661  if ($this->getEditProviderCmd()) {
662  $items[] = $DIC->ui()->factory()->button()->shy(
663  $DIC->language()->txt('lti_action_edit_provider'),
664  $this->buildProviderLink($data['id'], $this->getEditProviderCmd())
665  );
666  }
667 
668  if ($this->getAcceptProviderAsGlobalCmd()) {
669  $items[] = $DIC->ui()->factory()->button()->shy(
670  $DIC->language()->txt('lti_action_accept_provider_as_global'),
672  );
673  }
674 
676  $items[] = $DIC->ui()->factory()->button()->shy(
677  $DIC->language()->txt('lti_action_reset_provider_to_user_scope'),
679  );
680  }
681 
682  if ($this->getSelectProviderCmd()) {
683  $items[] = $DIC->ui()->factory()->button()->shy(
684  $DIC->language()->txt('lti_select_provider'),
685  $this->buildProviderLink($data['id'], $this->getSelectProviderCmd())
686  );
687  }
688 
689  if ($this->getDeleteProviderCmd() && !$data['usages_untrashed'] && !$data['usages_trashed']) {
690  $items[] = $DIC->ui()->factory()->button()->shy(
691  $DIC->language()->txt('lti_delete_provider'),
692  $this->buildProviderLink($data['id'], $this->getDeleteProviderCmd())
693  );
694  }
695 
696  return $items;
697  }
global $DIC
Definition: feed.php:28
buildProviderLink(int $providerId, string $command)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getAvailabilityLabel()

ilLTIConsumerProviderTableGUI::getAvailabilityLabel ( array  $data)
protected

Definition at line 586 of file class.ilLTIConsumerProviderTableGUI.php.

References $DIC, ilLTIConsumeProvider\AVAILABILITY_CREATE, ilLTIConsumeProvider\AVAILABILITY_EXISTING, and ilLTIConsumeProvider\AVAILABILITY_NONE.

Referenced by fillRow().

586  : string
587  {
588  global $DIC; /* @var \ILIAS\DI\Container $DIC */
589 
590  switch ($data['availability']) {
592 
593  return $DIC->language()->txt('lti_con_prov_availability_create');
594 
596 
597  return $DIC->language()->txt('lti_con_prov_availability_existing');
598 
600 
601  return $DIC->language()->txt('lti_con_prov_availability_non');
602  }
603  return '';
604  }
global $DIC
Definition: feed.php:28
+ Here is the caller graph for this function:

◆ getCategoryTranslation()

ilLTIConsumerProviderTableGUI::getCategoryTranslation ( string  $category)
protected

Definition at line 580 of file class.ilLTIConsumerProviderTableGUI.php.

References ilLTIConsumeProvider\getCategoriesSelectOptions().

Referenced by fillRow().

580  : string
581  {
583  return $categories[$category];
584  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getDeleteProviderCmd()

ilLTIConsumerProviderTableGUI::getDeleteProviderCmd ( )

Definition at line 177 of file class.ilLTIConsumerProviderTableGUI.php.

References $deleteProviderCmd.

Referenced by getActionItems().

177  : string
178  {
180  }
+ Here is the caller graph for this function:

◆ getDeleteProviderMultiCmd()

ilLTIConsumerProviderTableGUI::getDeleteProviderMultiCmd ( )

Definition at line 187 of file class.ilLTIConsumerProviderTableGUI.php.

References $deleteProviderMultiCmd.

Referenced by initCommands().

187  : string
188  {
190  }
+ Here is the caller graph for this function:

◆ getEditProviderCmd()

ilLTIConsumerProviderTableGUI::getEditProviderCmd ( )

Definition at line 117 of file class.ilLTIConsumerProviderTableGUI.php.

References $editProviderCmd.

Referenced by fillRow(), and getActionItems().

117  : string
118  {
119  return $this->editProviderCmd;
120  }
+ Here is the caller graph for this function:

◆ getHasOutcomeFormatted()

ilLTIConsumerProviderTableGUI::getHasOutcomeFormatted ( bool  $hasOutcome)
protected

Definition at line 559 of file class.ilLTIConsumerProviderTableGUI.php.

References $DIC.

Referenced by fillRow().

559  : string
560  {
561  global $DIC; /* @var \ILIAS\DI\Container $DIC */
562 
563  return $hasOutcome ? $DIC->language()->txt('yes') : '';
564  }
global $DIC
Definition: feed.php:28
+ Here is the caller graph for this function:

◆ getIsInternalFormatted()

ilLTIConsumerProviderTableGUI::getIsInternalFormatted ( bool  $isInternal)
protected

Definition at line 566 of file class.ilLTIConsumerProviderTableGUI.php.

References $DIC.

Referenced by fillRow().

566  : string
567  {
568  global $DIC; /* @var \ILIAS\DI\Container $DIC */
569 
570  return $isInternal ? $DIC->language()->txt('yes') : '';
571  }
global $DIC
Definition: feed.php:28
+ Here is the caller graph for this function:

◆ getIsWithKeyFormatted()

ilLTIConsumerProviderTableGUI::getIsWithKeyFormatted ( bool  $isWithKey)
protected

Definition at line 573 of file class.ilLTIConsumerProviderTableGUI.php.

References $DIC.

Referenced by fillRow().

573  : string
574  {
575  global $DIC; /* @var \ILIAS\DI\Container $DIC */
576 
577  return $isWithKey ? $DIC->language()->txt('yes') : '';
578  }
global $DIC
Definition: feed.php:28
+ Here is the caller graph for this function:

◆ getOwnProviderLabel()

ilLTIConsumerProviderTableGUI::getOwnProviderLabel ( array  $data)
protected

Definition at line 606 of file class.ilLTIConsumerProviderTableGUI.php.

References $DIC.

Referenced by fillRow().

606  : string
607  {
608  global $DIC; /* @var \ILIAS\DI\Container $DIC */
609 
610  if ($data['creator'] == $DIC->user()->getId()) {
611  return $DIC->language()->txt('yes');
612  }
613 
614  return '';
615  }
global $DIC
Definition: feed.php:28
+ Here is the caller graph for this function:

◆ getProviderCreatorLabel()

ilLTIConsumerProviderTableGUI::getProviderCreatorLabel ( array  $data)
protected

Definition at line 617 of file class.ilLTIConsumerProviderTableGUI.php.

References $DIC, and ilObjectFactory\getInstanceByObjId().

Referenced by fillRow().

617  : string
618  {
619  global $DIC; /* @var \ILIAS\DI\Container $DIC */
620 
621  if ($data['creator']) {
622  /* @var ilObjUser $user */
623  $user = ilObjectFactory::getInstanceByObjId($data['creator'], false);
624 
625  if ($user) {
626  return $user->getFullname();
627  }
628 
629  return $DIC->language()->txt('deleted_user');
630  }
631 
632  return '';
633  }
global $DIC
Definition: feed.php:28
static getInstanceByObjId(?int $obj_id, bool $stop_on_error=true)
get an instance of an Ilias object by object id
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getResetProviderToUserScopeCmd()

ilLTIConsumerProviderTableGUI::getResetProviderToUserScopeCmd ( )

Definition at line 147 of file class.ilLTIConsumerProviderTableGUI.php.

References $resetProviderToUserScopeCmd.

Referenced by getActionItems().

147  : string
148  {
150  }
+ Here is the caller graph for this function:

◆ getResetProviderToUserScopeMultiCmd()

ilLTIConsumerProviderTableGUI::getResetProviderToUserScopeMultiCmd ( )

Definition at line 157 of file class.ilLTIConsumerProviderTableGUI.php.

References $resetProviderToUserScopeMultiCmd.

Referenced by hasMultiCommands(), and initCommands().

157  : string
158  {
160  }
+ Here is the caller graph for this function:

◆ getSelectableColumns()

ilLTIConsumerProviderTableGUI::getSelectableColumns ( )
Returns
array<string, mixed[]>

Definition at line 365 of file class.ilLTIConsumerProviderTableGUI.php.

References $DIC, isAvailabilityColumnEnabled(), isDetailedUsagesEnabled(), isOwnProviderColumnEnabled(), and isProviderCreatorColumnEnabled().

365  : array
366  {
367  global $DIC; /* @var \ILIAS\DI\Container $DIC */
368 
369  $columns = [];
370 
371  $columns['description'] = [
372  'default' => true, 'txt' => $DIC->language()->txt('tbl_lti_prov_description')
373  ];
374 
375  $columns['category'] = [
376  'default' => false, 'txt' => $DIC->language()->txt('tbl_lti_prov_category')
377  ];
378 
379  $columns['keywords'] = [
380  'default' => true, 'txt' => $DIC->language()->txt('tbl_lti_prov_keywords')
381  ];
382 
383  $columns['outcome'] = [
384  'default' => false, 'txt' => $DIC->language()->txt('tbl_lti_prov_outcome')
385  ];
386 
387  $columns['internal'] = [
388  'default' => false, 'txt' => $DIC->language()->txt('tbl_lti_prov_internal')
389  ];
390 
391  $columns['with_key'] = [
392  'default' => true, 'txt' => $DIC->language()->txt('tbl_lti_prov_with_key')
393  ];
394 
395  if ($this->isAvailabilityColumnEnabled()) {
396  $columns['availability'] = [
397  'default' => true, 'txt' => $DIC->language()->txt('tbl_lti_prov_availability')
398  ];
399  }
400 
401  if ($this->isOwnProviderColumnEnabled()) {
402  $columns['own_provider'] = [
403  'default' => false, 'txt' => $DIC->language()->txt('tbl_lti_prov_own_provider')
404  ];
405  }
406 
407  if ($this->isProviderCreatorColumnEnabled()) {
408  $columns['provider_creator'] = [
409  'default' => false, 'txt' => $DIC->language()->txt('tbl_lti_prov_provider_creator')
410  ];
411  }
412 
413  $columns['usages_untrashed'] = [
414  'default' => true, 'txt' => $DIC->language()->txt('tbl_lti_prov_usages_untrashed')
415  ];
416 
417  if ($this->isDetailedUsagesEnabled() && self::isTrashEnabled()) {
418  $columns['usages_trashed'] = [
419  'default' => false, 'txt' => $DIC->language()->txt('tbl_lti_prov_usages_trashed')
420  ];
421  }
422 
423  return $columns;
424  }
global $DIC
Definition: feed.php:28
+ Here is the call graph for this function:

◆ getSelectProviderCmd()

ilLTIConsumerProviderTableGUI::getSelectProviderCmd ( )

Definition at line 167 of file class.ilLTIConsumerProviderTableGUI.php.

References $selectProviderCmd.

Referenced by fillRow(), and getActionItems().

167  : string
168  {
170  }
+ Here is the caller graph for this function:

◆ getTitle()

ilLTIConsumerProviderTableGUI::getTitle ( )

Definition at line 112 of file class.ilLTIConsumerProviderTableGUI.php.

References ilTableGUI\$title.

112  : string
113  {
114  return $this->title;
115  }

◆ hasMultiCommands()

ilLTIConsumerProviderTableGUI::hasMultiCommands ( )

Definition at line 247 of file class.ilLTIConsumerProviderTableGUI.php.

References getAcceptProviderAsGlobalMultiCmd(), and getResetProviderToUserScopeMultiCmd().

Referenced by fillRow(), and initColumns().

247  : bool
248  {
249  if ($this->getAcceptProviderAsGlobalMultiCmd()) {
250  return true;
251  }
252 
254  return true;
255  }
256 
257  return false;
258  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ init()

ilLTIConsumerProviderTableGUI::init ( )

Definition at line 260 of file class.ilLTIConsumerProviderTableGUI.php.

References initColumns(), initCommands(), and initFilter().

260  : void
261  {
262  parent::determineSelectedColumns();
263 
264  $this->initColumns();
265  $this->initFilter();
266  $this->initCommands();
267  }
+ Here is the call graph for this function:

◆ initColumns()

ilLTIConsumerProviderTableGUI::initColumns ( )
protected

Definition at line 295 of file class.ilLTIConsumerProviderTableGUI.php.

References $DIC, ilTable2GUI\addColumn(), hasMultiCommands(), isActionsColumnEnabled(), isAvailabilityColumnEnabled(), ilTable2GUI\isColumnSelected(), isDetailedUsagesEnabled(), isOwnProviderColumnEnabled(), and isProviderCreatorColumnEnabled().

Referenced by init().

295  : void
296  {
297  global $DIC; /* @var \ILIAS\DI\Container $DIC */
298 
299  if ($this->hasMultiCommands()) {
300  $this->addColumn('', '', '1%');
301  }
302 
303  $this->addColumn($DIC->language()->txt('tbl_lti_prov_icon'), 'icon');
304  $this->addColumn($DIC->language()->txt('tbl_lti_prov_title'), 'title');
305 
306  if ($this->isColumnSelected('description')) {
307  $this->addColumn($DIC->language()->txt('tbl_lti_prov_description'), 'description');
308  }
309  if ($this->isColumnSelected('category')) {
310  $this->addColumn($DIC->language()->txt('tbl_lti_prov_category'), 'category');
311  }
312  if ($this->isColumnSelected('keywords')) {
313  $this->addColumn($DIC->language()->txt('tbl_lti_prov_keywords'), 'keywords');
314  }
315  if ($this->isColumnSelected('outcome')) {
316  $this->addColumn($DIC->language()->txt('tbl_lti_prov_outcome'), 'outcome');
317  }
318  if ($this->isColumnSelected('internal')) {
319  $this->addColumn($DIC->language()->txt('tbl_lti_prov_internal'), 'external');
320  }
321  if ($this->isColumnSelected('with_key')) {
322  $this->addColumn($DIC->language()->txt('tbl_lti_prov_with_key'), 'provider_key_customizable');
323  }
324 
325  if ($this->isColumnSelected('availability') && $this->isAvailabilityColumnEnabled()) {
326  $this->addColumn($DIC->language()->txt('tbl_lti_prov_availability'), 'availability');
327  }
328 
329  if ($this->isColumnSelected('own_provider') && $this->isOwnProviderColumnEnabled()) {
330  $this->addColumn($DIC->language()->txt('tbl_lti_prov_own_provider'), 'own_provider');
331  }
332 
333  if ($this->isColumnSelected('provider_creator') && $this->isProviderCreatorColumnEnabled()) {
334  $this->addColumn($DIC->language()->txt('tbl_lti_prov_provider_creator'), 'provider_creator');
335  }
336 
337  if ($this->isDetailedUsagesEnabled() && self::isTrashEnabled()) {
338  if ($this->isColumnSelected('usages_untrashed')) {
339  $this->addColumn($DIC->language()->txt('tbl_lti_prov_usages_untrashed'), 'usages_untrashed');
340  }
341 
342  if ($this->isColumnSelected('usages_trashed')) {
343  $this->addColumn($DIC->language()->txt('tbl_lti_prov_usages_trashed'), 'usages_trashed');
344  }
345  } elseif ($this->isColumnSelected('usages_untrashed')) {
346  $this->addColumn($DIC->language()->txt('tbl_lti_prov_usages'), 'usages_untrashed');
347  }
348 
349  if ($this->isActionsColumnEnabled()) {
350  $this->addColumn('', '', '1%');
351  }
352  }
global $DIC
Definition: feed.php:28
isColumnSelected(string $col)
addColumn(string $a_text, string $a_sort_field="", string $a_width="", bool $a_is_checkbox_action_column=false, string $a_class="", string $a_tooltip="", bool $a_tooltip_with_html=false)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ initCommands()

ilLTIConsumerProviderTableGUI::initCommands ( )
protected

Definition at line 269 of file class.ilLTIConsumerProviderTableGUI.php.

References $DIC, ilTable2GUI\addMultiCommand(), getAcceptProviderAsGlobalMultiCmd(), getDeleteProviderMultiCmd(), and getResetProviderToUserScopeMultiCmd().

Referenced by init().

269  : void
270  {
271  global $DIC; /* @var \ILIAS\DI\Container $DIC */
272 
273  if ($this->getAcceptProviderAsGlobalMultiCmd()) {
274  $this->addMultiCommand(
276  $DIC->language()->txt('lti_action_accept_providers_as_global')
277  );
278  }
279 
281  $this->addMultiCommand(
283  $DIC->language()->txt('lti_action_reset_providers_to_user_scope')
284  );
285  }
286 
287  if ($this->getDeleteProviderMultiCmd()) {
288  $this->addMultiCommand(
289  $this->getDeleteProviderMultiCmd(),
290  $DIC->language()->txt('lti_action_delete_providers')
291  );
292  }
293  }
global $DIC
Definition: feed.php:28
addMultiCommand(string $a_cmd, string $a_text)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ initFilter()

ilLTIConsumerProviderTableGUI::initFilter ( )

Definition at line 426 of file class.ilLTIConsumerProviderTableGUI.php.

References $DIC, ilTableGUI\$title, ilTable2GUI\addFilterItem(), ILIAS\UI\examples\Symbol\Glyph\Filter\filter(), and ilLTIConsumeProvider\getCategoriesSelectOptions().

Referenced by init().

426  : void
427  {
428  global $DIC; /* @var \ILIAS\DI\Container $DIC */
429 
430  $title = new ilTextInputGUI($DIC->language()->txt('tbl_lti_prov_title'), 'title');
431  $title->setMaxLength(64);
432  $title->setSize(20);
433  $this->addFilterItem($title);
434  $title->readFromSession();
435  $this->filter['title'] = $title->getValue();
436 
437  $keyword = new ilTextInputGUI($DIC->language()->txt('tbl_lti_prov_keyword'), 'keyword');
438  $keyword->setMaxLength(64);
439  $keyword->setSize(20);
440  $this->addFilterItem($keyword);
441  $keyword->readFromSession();
442  $this->filter['keyword'] = $keyword->getValue();
443 
444  $hasOutcome = new ilCheckboxInputGUI($DIC->language()->txt('tbl_lti_prov_outcome'), 'outcome');
445  $this->addFilterItem($hasOutcome);
446  $hasOutcome->readFromSession();
447  $this->filter['outcome'] = $hasOutcome->getValue();
448 
449  $isInternal = new ilCheckboxInputGUI($DIC->language()->txt('tbl_lti_prov_internal'), 'internal');
450  $this->addFilterItem($isInternal);
451  $isInternal->readFromSession();
452  $this->filter['internal'] = $isInternal->getValue();
453 
454  $isWithKey = new ilCheckboxInputGUI($DIC->language()->txt('tbl_lti_prov_with_key'), 'with_key');
455  $this->addFilterItem($isWithKey);
456  $isWithKey->readFromSession();
457  $this->filter['with_key'] = $isWithKey->getValue();
458 
459  $category = new ilSelectInputGUI($DIC->language()->txt('tbl_lti_prov_category'), 'category');
460  $category->setOptions(array_merge(
461  ['' => $DIC->language()->txt('tbl_lti_prov_all_categories')],
463  ));
464  $this->addFilterItem($category);
465  $category->readFromSession();
466  $this->filter['category'] = $category->getValue();
467  }
addFilterItem(ilTableFilterItem $a_input_item, bool $a_optional=false)
This class represents a checkbox property in a property form.
global $DIC
Definition: feed.php:28
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isActionsColumnEnabled()

ilLTIConsumerProviderTableGUI::isActionsColumnEnabled ( )

Definition at line 227 of file class.ilLTIConsumerProviderTableGUI.php.

References $actionsColumnEnabled.

Referenced by fillRow(), and initColumns().

227  : bool
228  {
230  }
+ Here is the caller graph for this function:

◆ isAvailabilityColumnEnabled()

ilLTIConsumerProviderTableGUI::isAvailabilityColumnEnabled ( )

Definition at line 197 of file class.ilLTIConsumerProviderTableGUI.php.

References $availabilityColumnEnabled.

Referenced by fillRow(), getSelectableColumns(), and initColumns().

197  : bool
198  {
200  }
+ Here is the caller graph for this function:

◆ isDetailedUsagesEnabled()

ilLTIConsumerProviderTableGUI::isDetailedUsagesEnabled ( )

Definition at line 237 of file class.ilLTIConsumerProviderTableGUI.php.

References $detailedUsagesEnabled.

Referenced by fillRow(), getSelectableColumns(), and initColumns().

237  : bool
238  {
240  }
+ Here is the caller graph for this function:

◆ isOwnProviderColumnEnabled()

ilLTIConsumerProviderTableGUI::isOwnProviderColumnEnabled ( )

Definition at line 207 of file class.ilLTIConsumerProviderTableGUI.php.

References $ownProviderColumnEnabled.

Referenced by fillRow(), getSelectableColumns(), and initColumns().

207  : bool
208  {
210  }
+ Here is the caller graph for this function:

◆ isProviderCreatorColumnEnabled()

ilLTIConsumerProviderTableGUI::isProviderCreatorColumnEnabled ( )

Definition at line 217 of file class.ilLTIConsumerProviderTableGUI.php.

References $providerCreatorColumnEnabled.

Referenced by fillRow(), getSelectableColumns(), and initColumns().

217  : bool
218  {
220  }
+ Here is the caller graph for this function:

◆ isTrashEnabled()

static ilLTIConsumerProviderTableGUI::isTrashEnabled ( )
staticprotected

Definition at line 715 of file class.ilLTIConsumerProviderTableGUI.php.

References $DIC.

715  : bool
716  {
717  global $DIC; /* @var \ILIAS\DI\Container $DIC */
718 
719  return (bool) $DIC->settings()->get('enable_trash', "0");
720  }
global $DIC
Definition: feed.php:28

◆ isUserCreatedProviderResettableToUserScope()

ilLTIConsumerProviderTableGUI::isUserCreatedProviderResettableToUserScope ( array  $data)
protected

Definition at line 710 of file class.ilLTIConsumerProviderTableGUI.php.

Referenced by getActionItems().

710  : bool
711  {
712  return (bool) $data['creator'] && (bool) $data['accepted_by'];
713  }
+ Here is the caller graph for this function:

◆ setAcceptProviderAsGlobalCmd()

ilLTIConsumerProviderTableGUI::setAcceptProviderAsGlobalCmd ( string  $acceptProviderAsGlobalCmd)

Definition at line 132 of file class.ilLTIConsumerProviderTableGUI.php.

References $acceptProviderAsGlobalCmd.

132  : void
133  {
134  $this->acceptProviderAsGlobalCmd = $acceptProviderAsGlobalCmd;
135  }

◆ setAcceptProviderAsGlobalMultiCmd()

ilLTIConsumerProviderTableGUI::setAcceptProviderAsGlobalMultiCmd ( string  $acceptProviderAsGlobalMultiCmd)

Definition at line 142 of file class.ilLTIConsumerProviderTableGUI.php.

References $acceptProviderAsGlobalMultiCmd.

142  : void
143  {
144  $this->acceptProviderAsGlobalMultiCmd = $acceptProviderAsGlobalMultiCmd;
145  }

◆ setActionsColumnEnabled()

ilLTIConsumerProviderTableGUI::setActionsColumnEnabled ( bool  $actionsColumnEnabled)

Definition at line 232 of file class.ilLTIConsumerProviderTableGUI.php.

References $actionsColumnEnabled.

232  : void
233  {
234  $this->actionsColumnEnabled = $actionsColumnEnabled;
235  }

◆ setAvailabilityColumnEnabled()

ilLTIConsumerProviderTableGUI::setAvailabilityColumnEnabled ( bool  $availabilityColumnEnabled)

Definition at line 202 of file class.ilLTIConsumerProviderTableGUI.php.

References $availabilityColumnEnabled.

202  : void
203  {
204  $this->availabilityColumnEnabled = $availabilityColumnEnabled;
205  }

◆ setDeleteProviderCmd()

ilLTIConsumerProviderTableGUI::setDeleteProviderCmd ( string  $deleteProviderCmd)

Definition at line 182 of file class.ilLTIConsumerProviderTableGUI.php.

References $deleteProviderCmd.

182  : void
183  {
184  $this->deleteProviderCmd = $deleteProviderCmd;
185  }

◆ setDeleteProviderMultiCmd()

ilLTIConsumerProviderTableGUI::setDeleteProviderMultiCmd ( string  $deleteProviderMultiCmd)

Definition at line 192 of file class.ilLTIConsumerProviderTableGUI.php.

References $deleteProviderMultiCmd.

192  : void
193  {
194  $this->deleteProviderMultiCmd = $deleteProviderMultiCmd;
195  }

◆ setDetailedUsagesEnabled()

ilLTIConsumerProviderTableGUI::setDetailedUsagesEnabled ( bool  $detailedUsagesEnabled)

Definition at line 242 of file class.ilLTIConsumerProviderTableGUI.php.

References $detailedUsagesEnabled.

242  : void
243  {
244  $this->detailedUsagesEnabled = $detailedUsagesEnabled;
245  }

◆ setEditProviderCmd()

ilLTIConsumerProviderTableGUI::setEditProviderCmd ( string  $editProviderCmd)

Definition at line 122 of file class.ilLTIConsumerProviderTableGUI.php.

References $editProviderCmd.

122  : void
123  {
124  $this->editProviderCmd = $editProviderCmd;
125  }

◆ setOwnProviderColumnEnabled()

ilLTIConsumerProviderTableGUI::setOwnProviderColumnEnabled ( bool  $ownProviderColumnEnabled)

Definition at line 212 of file class.ilLTIConsumerProviderTableGUI.php.

References $ownProviderColumnEnabled.

212  : void
213  {
214  $this->ownProviderColumnEnabled = $ownProviderColumnEnabled;
215  }

◆ setProviderCreatorColumnEnabled()

ilLTIConsumerProviderTableGUI::setProviderCreatorColumnEnabled ( bool  $providerCreatorColumnEnabled)

Definition at line 222 of file class.ilLTIConsumerProviderTableGUI.php.

References $providerCreatorColumnEnabled.

222  : void
223  {
224  $this->providerCreatorColumnEnabled = $providerCreatorColumnEnabled;
225  }

◆ setResetProviderToUserScopeCmd()

ilLTIConsumerProviderTableGUI::setResetProviderToUserScopeCmd ( string  $resetProviderToUserScopeCmd)

Definition at line 152 of file class.ilLTIConsumerProviderTableGUI.php.

References $resetProviderToUserScopeCmd.

152  : void
153  {
154  $this->resetProviderToUserScopeCmd = $resetProviderToUserScopeCmd;
155  }

◆ setResetProviderToUserScopeMultiCmd()

ilLTIConsumerProviderTableGUI::setResetProviderToUserScopeMultiCmd ( string  $resetProviderToUserScopeMultiCmd)

Definition at line 162 of file class.ilLTIConsumerProviderTableGUI.php.

References $resetProviderToUserScopeMultiCmd.

162  : void
163  {
164  $this->resetProviderToUserScopeMultiCmd = $resetProviderToUserScopeMultiCmd;
165  }

◆ setSelectProviderCmd()

ilLTIConsumerProviderTableGUI::setSelectProviderCmd ( string  $selectProviderCmd)

Definition at line 172 of file class.ilLTIConsumerProviderTableGUI.php.

References $selectProviderCmd.

172  : void
173  {
174  $this->selectProviderCmd = $selectProviderCmd;
175  }

Field Documentation

◆ $acceptProviderAsGlobalCmd

string ilLTIConsumerProviderTableGUI::$acceptProviderAsGlobalCmd = ''
protected

◆ $acceptProviderAsGlobalMultiCmd

string ilLTIConsumerProviderTableGUI::$acceptProviderAsGlobalMultiCmd = ''
protected

◆ $actionsColumnEnabled

bool ilLTIConsumerProviderTableGUI::$actionsColumnEnabled = false
protected

◆ $availabilityColumnEnabled

bool ilLTIConsumerProviderTableGUI::$availabilityColumnEnabled = false
protected

◆ $deleteProviderCmd

string ilLTIConsumerProviderTableGUI::$deleteProviderCmd = ''
protected

◆ $deleteProviderMultiCmd

string ilLTIConsumerProviderTableGUI::$deleteProviderMultiCmd = ''
protected

◆ $detailedUsagesEnabled

bool ilLTIConsumerProviderTableGUI::$detailedUsagesEnabled = false
protected

◆ $editProviderCmd

string ilLTIConsumerProviderTableGUI::$editProviderCmd = ''
protected

◆ $filter

array ilLTIConsumerProviderTableGUI::$filter
protected

Definition at line 96 of file class.ilLTIConsumerProviderTableGUI.php.

◆ $ownProviderColumnEnabled

bool ilLTIConsumerProviderTableGUI::$ownProviderColumnEnabled = false
protected

◆ $providerCreatorColumnEnabled

bool ilLTIConsumerProviderTableGUI::$providerCreatorColumnEnabled = false
protected

◆ $resetProviderToUserScopeCmd

string ilLTIConsumerProviderTableGUI::$resetProviderToUserScopeCmd = ''
protected

◆ $resetProviderToUserScopeMultiCmd

string ilLTIConsumerProviderTableGUI::$resetProviderToUserScopeMultiCmd = ''
protected

◆ $selectProviderCmd

string ilLTIConsumerProviderTableGUI::$selectProviderCmd = ''
protected

The documentation for this class was generated from the following file: