| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
 Inheritance diagram for ILIAS\Test\Logging\LogTable:
 Collaboration diagram for ILIAS\Test\Logging\LogTable:Public Member Functions | |
| __construct (private readonly TestLoggingRepository $logging_repository, private readonly TestLogger $logger, private readonly TestLogViewer $log_viewer, private readonly TitleColumnsBuilder $title_builder, private readonly GeneralQuestionPropertiesRepository $question_repo, private readonly \ilUIService $ui_service, private readonly UIFactory $ui_factory, private readonly UIRenderer $ui_renderer, private readonly \ilLanguage $lng, private \ilGlobalTemplateInterface $tpl, private readonly URLBuilder $url_builder, private readonly URLBuilderToken $action_parameter_token, private readonly URLBuilderToken $row_id_token, private readonly StreamDelivery $stream_delivery, private readonly \ilObjUser $current_user, private readonly ?int $ref_id=null) | |
| getTable () | |
| getFilter () | |
| getRows (Table\DataRowBuilder $row_builder, array $visible_column_ids, Range $range, Order $order, ?array $filter_data, ?array $additional_parameters) | |
| getTotalRowCount (?array $filter_data, ?array $additional_parameters) | |
| executeAction (string $action, array $affected_items) | |
Data Fields | |
| const | QUERY_PARAMETER_NAME_SPACE = ['tst', 'log'] | 
| const | ACTION_TOKEN_STRING = 'action' | 
| const | ENTRY_TOKEN_STRING = 'le' | 
| const | COLUMN_DATE_TIME = 'date_and_time' | 
| const | COLUMN_CORRESPONDING_TEST = 'corresponding_test' | 
| const | COLUMN_ADMIN = 'admin' | 
| const | COLUMN_PARTICIPANT = 'participant' | 
| const | COLUMN_SOURCE_IP = 'ip' | 
| const | COLUMN_QUESTION = 'question' | 
| const | COLUMN_LOG_ENTRY_TYPE = 'log_entry_type' | 
| const | COLUMN_INTERACTION_TYPE = 'interaction_type' | 
| const | ACTION_ID_SHOW_ADDITIONAL_INFO = 'show_additional_information' | 
Private Member Functions | |
| initializeFilterAndData () | |
| initializeFilter () | |
| getColums () | |
| showAdditionalDetails (string $affected_item) | |
| showConfirmTestUserInteractionsDeletion (array $affected_items) | |
| deleteTestUserInteractions (array $affected_items) | |
| exportTestUserInteractions (array $affected_items) | |
| buildLogsFromAffectedItems (array $affected_items) | |
| getActions () | |
| buildLogEntryTypesOptionsForFilter () | |
| buildInteractionTypesOptionsForFilter () | |
| prepareFilterData (array $filter_array) | |
| showErrorModal (string $message) | |
| extractIdsFromUserQuery (array $response) | |
| unmaskCmdNodesFromBuilder (string $url) | |
| 2024-05-07 skergomard: This is a workaround as I didn't find another way  More... | |
Private Attributes | |
| const | ACTION_ID_EXPORT = 'export' | 
| const | ACTION_ID_DELETE = 'delete' | 
| const | FILTER_FIELD_PERIOD = 'period' | 
| const | FILTER_FIELD_TEST_TITLE = 'test_title' | 
| const | FILTER_FIELD_QUESTION_TITLE = 'question_title' | 
| const | FILTER_FIELD_ADMIN = 'admin_name' | 
| const | FILTER_FIELD_PARTICIPANT = 'participant_name' | 
| const | FILTER_FIELD_IP = 'ip' | 
| const | FILTER_FIELD_LOG_ENTRY_TYPE = 'log_entry_type' | 
| const | FILTER_FIELD_INTERACTION_TYPE = 'interaction_type' | 
| const | ACTION_CONFIRM_DELETE = 'confirm_delete' | 
| const | ACTION_DELETE = 'delete' | 
| const | ACTION_ADDITIONAL_INFORMATION = 'add_info' | 
| const | ACTION_EXPORT_AS_CSV = 'csv_export' | 
| const | EXPORT_FILE_NAME = '_test_log_export' | 
| array | $filter_data = null | 
| Filter | $filter = null | 
Definition at line 35 of file LogTable.php.
| ILIAS\Test\Logging\LogTable::__construct | ( | private readonly TestLoggingRepository | $logging_repository, | 
| private readonly TestLogger | $logger, | ||
| private readonly TestLogViewer | $log_viewer, | ||
| private readonly TitleColumnsBuilder | $title_builder, | ||
| private readonly GeneralQuestionPropertiesRepository | $question_repo, | ||
| private readonly \ilUIService | $ui_service, | ||
| private readonly UIFactory | $ui_factory, | ||
| private readonly UIRenderer | $ui_renderer, | ||
| private readonly \ilLanguage | $lng, | ||
| private \ilGlobalTemplateInterface | $tpl, | ||
| private readonly URLBuilder | $url_builder, | ||
| private readonly URLBuilderToken | $action_parameter_token, | ||
| private readonly URLBuilderToken | $row_id_token, | ||
| private readonly StreamDelivery | $stream_delivery, | ||
| private readonly \ilObjUser | $current_user, | ||
| private readonly ?int | $ref_id = null  | 
        ||
| ) | 
Definition at line 76 of file LogTable.php.
References ILIAS\Repository\lng().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 430 of file LogTable.php.
References ILIAS\Test\Logging\TestUserInteraction\LANG_VAR_PREFIX, ILIAS\Repository\lng(), and ILIAS\Repository\logger().
Referenced by ILIAS\Test\Logging\LogTable\initializeFilter().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 415 of file LogTable.php.
References ILIAS\Test\Logging\TestUserInteraction\LANG_VAR_PREFIX, ILIAS\Repository\lng(), and ILIAS\Repository\logger().
Referenced by ILIAS\Test\Logging\LogTable\initializeFilter().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 342 of file LogTable.php.
References $ref_id, ILIAS\Test\Logging\LogTable\initializeFilterAndData(), ILIAS\Repository\logger(), and ILIAS\Test\Logging\LogTable\prepareFilterData().
Referenced by ILIAS\Test\Logging\LogTable\exportTestUserInteractions().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 319 of file LogTable.php.
References ILIAS\Repository\lng().
Referenced by ILIAS\Test\Logging\LogTable\executeAction().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ILIAS\Test\Logging\LogTable::executeAction | ( | string | $action, | 
| array | $affected_items | ||
| ) | 
Definition at line 263 of file LogTable.php.
References ILIAS\Test\Logging\LogTable\deleteTestUserInteractions(), ILIAS\Test\Logging\LogTable\exportTestUserInteractions(), ILIAS\Test\Logging\LogTable\showAdditionalDetails(), and ILIAS\Test\Logging\LogTable\showConfirmTestUserInteractionsDeletion().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 330 of file LogTable.php.
References ILIAS\Test\Logging\LogTable\buildLogsFromAffectedItems(), and ILIAS\Repository\lng().
Referenced by ILIAS\Test\Logging\LogTable\executeAction().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 527 of file LogTable.php.
Referenced by ILIAS\Test\Logging\LogTable\prepareFilterData().
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 376 of file LogTable.php.
References ILIAS\Repository\lng().
Referenced by ILIAS\Test\Logging\LogTable\getTable().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 163 of file LogTable.php.
References Vendor\Package\$f, ILIAS\Repository\lng(), and ILIAS\Repository\logger().
Referenced by ILIAS\Test\Logging\LogTable\getTable().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ILIAS\Test\Logging\LogTable::getFilter | ( | ) | 
Definition at line 106 of file LogTable.php.
References ILIAS\Test\Logging\LogTable\$filter, and ILIAS\Test\Logging\LogTable\initializeFilterAndData().
 Here is the call graph for this function:| ILIAS\Test\Logging\LogTable::getRows | ( | Table\DataRowBuilder | $row_builder, | 
| array | $visible_column_ids, | ||
| Range | $range, | ||
| Order | $order, | ||
| ?array | $filter_data, | ||
| ?array | $additional_parameters | ||
| ) | 
Definition at line 185 of file LogTable.php.
References ILIAS\UI\Implementation\Component\Table\$range, ILIAS\Repository\lng(), and ILIAS\Test\Logging\LogTable\prepareFilterData().
 Here is the call graph for this function:| ILIAS\Test\Logging\LogTable::getTable | ( | ) | 
Definition at line 97 of file LogTable.php.
References ILIAS\Test\Logging\LogTable\getActions(), ILIAS\Test\Logging\LogTable\getColums(), and ILIAS\Repository\lng().
 Here is the call graph for this function:| ILIAS\Test\Logging\LogTable::getTotalRowCount | ( | ?array | $filter_data, | 
| ?array | $additional_parameters | ||
| ) | 
Definition at line 233 of file LogTable.php.
References ILIAS\Repository\logger(), and ILIAS\Test\Logging\LogTable\prepareFilterData().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 123 of file LogTable.php.
References ILIAS\Test\Logging\LogTable\buildInteractionTypesOptionsForFilter(), ILIAS\Test\Logging\LogTable\buildLogEntryTypesOptionsForFilter(), ILIAS\Repository\filter(), ILIAS\Repository\lng(), and ILIAS\Test\Logging\LogTable\unmaskCmdNodesFromBuilder().
Referenced by ILIAS\Test\Logging\LogTable\initializeFilterAndData().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 112 of file LogTable.php.
References ILIAS\Repository\filter(), and ILIAS\Test\Logging\LogTable\initializeFilter().
Referenced by ILIAS\Test\Logging\LogTable\buildLogsFromAffectedItems(), and ILIAS\Test\Logging\LogTable\getFilter().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 447 of file LogTable.php.
References $ref_id, ilObject\_getAllReferences(), ilObject\_getIdsForTitle(), and ILIAS\Test\Logging\LogTable\extractIdsFromUserQuery().
Referenced by ILIAS\Test\Logging\LogTable\buildLogsFromAffectedItems(), ILIAS\Test\Logging\LogTable\getRows(), and ILIAS\Test\Logging\LogTable\getTotalRowCount().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 275 of file LogTable.php.
References $log, exit, ILIAS\Repository\lng(), ILIAS\Repository\logger(), and ILIAS\Test\Logging\LogTable\showErrorModal().
Referenced by ILIAS\Test\Logging\LogTable\executeAction().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 300 of file LogTable.php.
References exit, ILIAS\Repository\lng(), ILIAS\Test\Logging\LogTable\showErrorModal(), and ILIAS\Test\Logging\LogTable\unmaskCmdNodesFromBuilder().
Referenced by ILIAS\Test\Logging\LogTable\executeAction().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 516 of file LogTable.php.
References exit, and ILIAS\Repository\lng().
Referenced by ILIAS\Test\Logging\LogTable\showAdditionalDetails(), and ILIAS\Test\Logging\LogTable\showConfirmTestUserInteractionsDeletion().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
2024-05-07 skergomard: This is a workaround as I didn't find another way
Definition at line 542 of file LogTable.php.
References $url.
Referenced by ILIAS\Test\Logging\LogTable\initializeFilter(), and ILIAS\Test\Logging\LogTable\showConfirmTestUserInteractionsDeletion().
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 74 of file LogTable.php.
Referenced by ILIAS\Test\Logging\LogTable\getFilter().
      
  | 
  private | 
Definition at line 73 of file LogTable.php.
      
  | 
  private | 
Definition at line 65 of file LogTable.php.
      
  | 
  private | 
Definition at line 63 of file LogTable.php.
      
  | 
  private | 
Definition at line 64 of file LogTable.php.
      
  | 
  private | 
Definition at line 66 of file LogTable.php.
      
  | 
  private | 
Definition at line 52 of file LogTable.php.
      
  | 
  private | 
Definition at line 51 of file LogTable.php.
| const ILIAS\Test\Logging\LogTable::ACTION_ID_SHOW_ADDITIONAL_INFO = 'show_additional_information' | 
Definition at line 50 of file LogTable.php.
Referenced by ILIAS\Test\Logging\TestAdministrationInteraction\getLogEntryAsDataTableRow(), ILIAS\Test\Logging\TestParticipantInteraction\getLogEntryAsDataTableRow(), ILIAS\Test\Logging\TestQuestionAdministrationInteraction\getLogEntryAsDataTableRow(), and ILIAS\Test\Logging\TestScoringInteraction\getLogEntryAsDataTableRow().
| const ILIAS\Test\Logging\LogTable::ACTION_TOKEN_STRING = 'action' | 
Definition at line 38 of file LogTable.php.
| const ILIAS\Test\Logging\LogTable::COLUMN_ADMIN = 'admin' | 
Definition at line 43 of file LogTable.php.
| const ILIAS\Test\Logging\LogTable::COLUMN_CORRESPONDING_TEST = 'corresponding_test' | 
Definition at line 42 of file LogTable.php.
| const ILIAS\Test\Logging\LogTable::COLUMN_DATE_TIME = 'date_and_time' | 
Definition at line 41 of file LogTable.php.
| const ILIAS\Test\Logging\LogTable::COLUMN_INTERACTION_TYPE = 'interaction_type' | 
Definition at line 48 of file LogTable.php.
| const ILIAS\Test\Logging\LogTable::COLUMN_LOG_ENTRY_TYPE = 'log_entry_type' | 
Definition at line 47 of file LogTable.php.
| const ILIAS\Test\Logging\LogTable::COLUMN_PARTICIPANT = 'participant' | 
Definition at line 44 of file LogTable.php.
| const ILIAS\Test\Logging\LogTable::COLUMN_QUESTION = 'question' | 
Definition at line 46 of file LogTable.php.
| const ILIAS\Test\Logging\LogTable::COLUMN_SOURCE_IP = 'ip' | 
Definition at line 45 of file LogTable.php.
| const ILIAS\Test\Logging\LogTable::ENTRY_TOKEN_STRING = 'le' | 
Definition at line 39 of file LogTable.php.
      
  | 
  private | 
Definition at line 68 of file LogTable.php.
      
  | 
  private | 
Definition at line 57 of file LogTable.php.
      
  | 
  private | 
Definition at line 61 of file LogTable.php.
      
  | 
  private | 
Definition at line 59 of file LogTable.php.
      
  | 
  private | 
Definition at line 60 of file LogTable.php.
      
  | 
  private | 
Definition at line 58 of file LogTable.php.
      
  | 
  private | 
Definition at line 54 of file LogTable.php.
      
  | 
  private | 
Definition at line 56 of file LogTable.php.
      
  | 
  private | 
Definition at line 55 of file LogTable.php.
| const ILIAS\Test\Logging\LogTable::QUERY_PARAMETER_NAME_SPACE = ['tst', 'log'] | 
Definition at line 37 of file LogTable.php.