Function Hook_ajax_tree_choose_theme_files->get_template_details_table

Definitions

sources/hooks/systems/ajax_tree/choose_theme_files.php

  • Show details for a template file.
  • Visibility: protected
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: object

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$theme ID_TEXT No No required parameter N/A N/A Theme being used
$template_file ID_TEXT No No required parameter N/A N/A The template file to show for
$template_file_path PATH No No required parameter N/A N/A Path to the template file
$action_log_times ?array No No Null N/A N/A Combined map of action-log details (null: look-up)

Returns

  • Details
  • Type: Tempcode
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Show details for a template file.
 *
 * @param  ID_TEXT $theme Theme being used
 * @param  ID_TEXT $template_file The template file to show for
 * @param  PATH $template_file_path Path to the template file
 * @param  ?array $action_log_times Combined map of action-log details (null: look-up)
 * @return Tempcode Details
 */

protected function get_template_details_table(string $theme, string $template_file, string $template_file_path, ?array $action_log_times = null) : object