Function __global->_get_template_files_list

Definitions

sources/themes2.php

  • Get all the template files / revisions for a template file, in a certain directory.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: array

Parameters

Name Type Default Set Range Description
$base_dir PATH required parameter N/A N/A The path to search relative to
$subdir PATH required parameter N/A N/A The subdirectory to search
$suffix string required parameter N/A N/A File type suffix of template file (e.g. .tpl)

Return

  • A map of the files (file=>path)
  • Type: array
  • Set: N/A
  • Range: N/A