Function __global->cns_member_choose_photo

Definitions

sources/cns_members_action2.php

  • Edit a member's photo, and check validity.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$param_name ID_TEXT No No required parameter N/A N/A The identifier for the name of the posted URL field
$upload_name ID_TEXT No No required parameter N/A N/A The identifier for the name of the posted upload
$member_id ?MEMBER No No Null N/A N/A The member (null: the current member)

Preview

Code (PHP)

/**
 * Edit a member's photo, and check validity.
 *
 * @param  ID_TEXT $param_name The identifier for the name of the posted URL field
 * @param  ID_TEXT $upload_name The identifier for the name of the posted upload
 * @param  ?MEMBER $member_id The member (null: the current member)
 */

function cns_member_choose_photo(string $param_name, string $upload_name, ?int $member_id = null)