Function __global->combo_get_image_paths

Definitions

sources/themes2.php

  • Get Tempcode for a radio list to choose an image from the image FILES in the theme.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: object

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$selected_path string No No required parameter N/A N/A The currently selected image path (blank for none)
$base_url URLPATH No No required parameter N/A N/A The base URL to where we are searching for images
$base_path PATH No No required parameter N/A N/A The base-path to where we are searching for images

Returns

  • The generated Tempcode
  • Type: Tempcode
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get Tempcode for a radio list to choose an image from the image FILES in the theme.
 *
 * @param  string $selected_path The currently selected image path (blank for none)
 * @param  URLPATH $base_url The base URL to where we are searching for images
 * @param  PATH $base_path The base-path to where we are searching for images
 * @return Tempcode The generated Tempcode
 */

function combo_get_image_paths(string $selected_path, string $base_url, string $base_path) : object