Function __global->get_logo_url

Definitions

sources/site.php

  • Get the relative URL to the logo for the current zone.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$zone_name ?ID_TEXT No No Null N/A N/A The zone being operated within (null: auto-detect)

Returns

  • The relative URL to the logo for the current zone
  • Type: URLPATH
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get the relative URL to the logo for the current zone.
 *
 * @param  ?ID_TEXT $zone_name The zone being operated within (null: auto-detect)
 * @return URLPATH The relative URL to the logo for the current zone
 */

function get_logo_url(?string $zone_name = null) : string