Function Forum_driver_cns->_member_pm_url

Definitions

sources/forum/cns.php

  • Get a URL to send a private/personal message to the given member.
  • Visibility: protected
  • 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)

Returns

  • The URL to the private/personal message page
  • Type: mixed
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get a URL to send a private/personal message to the given member.
 *
 * @param  MEMBER $member_id The member ID
 * @param  boolean $tempcode_okay Whether it is okay to return the result using Tempcode (more efficient)
 * @return mixed The URL to the private/personal message page
 */

protected function _member_pm_url(int $member_id, bool $tempcode_okay = false)