Function Forum_driver_base->get_theme

Definitions

sources/forum_stub.php

  • Get the current member's theme identifier.
  • 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_for ?ID_TEXT No No Null N/A N/A The zone we are getting the theme for (null: current zone)
$member_id ?MEMBER No No Null N/A N/A The member we are getting the theme for (null: current user)

Returns

  • The theme identifier
  • Type: ID_TEXT
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get the current member's theme identifier.
 *
 * @param  ?ID_TEXT $zone_for The zone we are getting the theme for (null: current zone)
 * @param  ?MEMBER $member_id The member we are getting the theme for (null: current user)
 * @return ID_TEXT The theme identifier
 */

public function get_theme(?string $zone_for = null, ?int $member_id = null) : string