Function Forum_driver_cns->member_home_url

Definitions

sources/forum/cns.php

  • Get a URL to the specified member's home (control panel).
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$member_id MEMBER No No required parameter N/A N/A The member ID
$tempcode_okay boolean No No False N/A N/A Whether it is okay to return the result using Tempcode (more efficient, and allows keep_* parameters to propagate which you almost certainly want!)

Returns

  • The URL to the members home
  • Type: mixed
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get a URL to the specified member's home (control panel).
 *
 * @param  MEMBER $member_id The member ID
 * @param  boolean $tempcode_okay Whether it is okay to return the result using Tempcode (more efficient, and allows keep_* parameters to propagate which you almost certainly want!)
 * @return mixed The URL to the members home
 */

public function member_home_url(int $member_id, bool $tempcode_okay = false)