Function __global->_search_img_file

Definitions

sources/themes.php

  • Search for a specified image file within a theme for a specified language.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: string

Parameters

Name Type Default Set Range Description
$theme ID_TEXT required parameter N/A N/A The theme
$lang ?LANGUAGE_NAME required parameter N/A N/A The language (null: try generally, under no specific language)
$id ID_TEXT required parameter N/A N/A The theme image ID
$dir ID_TEXT images N/A N/A Directory to search

Return

  • The URL to the image (null: was not found)
  • Type: ?URLPATH
  • Set: N/A
  • Range: N/A