Function __global->member_field_is_required

Definitions

sources/cns_members_action.php

  • Find whether a member's field must be filled in.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: bool

Parameters

Name Type Default Set Range Description
$member_id ?MEMBER required parameter N/A N/A The member being edited (null: new member)
$field_class string required parameter N/A N/A Special code representing what kind of field it is
$current_value ?mixed Null N/A N/A The value the field has now (null: lookup from member record; cannot do this for a CPF)
$editing_member ?MEMBER Null N/A N/A The member doing the adding/editing operation (null: current member)
$adjusted_config_options array [] N/A N/A A map of adjusted config options

Return

  • Whether the field must be filled in
  • Type: boolean
  • Set: N/A
  • Range: N/A