original_string: public static function signup_user_parameters() {
          return new external_function_parameters(
              array(
                  'username' => new external_value(core_user::get_property_type('username'), 'Username'),
                  'password' => new external_value(core_user::get_property_type('password'), 'Plain text password'),
                  'firstname' => new external_value(core_user::get_property_type('firstname'), 'The first name(s) of the user'),
                  'lastname' => new external_value(core_user::get_property_type('lastname'), 'The family name of the user'),
                  'email' => new external_value(core_user::get_property_type('email'), 'A valid and unique email address'),
                  'city' => new external_value(core_user::get_property_type('city'), 'Home city of the user', VALUE_DEFAULT, ''),
                  'country' => new external_value(core_user::get_property_type('country'), 'Home country code', VALUE_DEFAULT, ''),
                  'recaptchachallengehash' => new external_value(PARAM_RAW, 'Recaptcha challenge hash', VALUE_DEFAULT, ''),
                  'recaptcharesponse' => new external_value(PARAM_NOTAGS, 'Recaptcha response', VALUE_DEFAULT, ''),
                  'customprofilefields' => new external_multiple_structure(
                      new external_single_structure(
                          array(
                              'type'  => new external_value(PARAM_ALPHANUMEXT, 'The type of the custom field'),
                              'name'  => new external_value(PARAM_ALPHANUMEXT, 'The name of the custom field'),
                              'value' => new external_value(PARAM_RAW, 'Custom field value, can be an encoded json if required')
                          )
                      ), 'User custom fields (also known as user profile fields)', VALUE_DEFAULT, array()
                  ),
                  'redirect' => new external_value(PARAM_LOCALURL, 'Redirect the user to this site url after confirmation.',
                                                      VALUE_DEFAULT, ''),
              )
          );
      }
code: public static function signup_user_parameters() {
          return new external_function_parameters(
              array(
                  'username' => new external_value(core_user::get_property_type('username'), 'Username'),
                  'password' => new external_value(core_user::get_property_type('password'), 'Plain text password'),
                  'firstname' => new external_value(core_user::get_property_type('firstname'), 'The first name(s) of the user'),
                  'lastname' => new external_value(core_user::get_property_type('lastname'), 'The family name of the user'),
                  'email' => new external_value(core_user::get_property_type('email'), 'A valid and unique email address'),
                  'city' => new external_value(core_user::get_property_type('city'), 'Home city of the user', VALUE_DEFAULT, ''),
                  'country' => new external_value(core_user::get_property_type('country'), 'Home country code', VALUE_DEFAULT, ''),
                  'recaptchachallengehash' => new external_value(PARAM_RAW, 'Recaptcha challenge hash', VALUE_DEFAULT, ''),
                  'recaptcharesponse' => new external_value(PARAM_NOTAGS, 'Recaptcha response', VALUE_DEFAULT, ''),
                  'customprofilefields' => new external_multiple_structure(
                      new external_single_structure(
                          array(
                              'type'  => new external_value(PARAM_ALPHANUMEXT, 'The type of the custom field'),
                              'name'  => new external_value(PARAM_ALPHANUMEXT, 'The name of the custom field'),
                              'value' => new external_value(PARAM_RAW, 'Custom field value, can be an encoded json if required')
                          )
                      ), 'User custom fields (also known as user profile fields)', VALUE_DEFAULT, array()
                  ),
                  'redirect' => new external_value(PARAM_LOCALURL, 'Redirect the user to this site url after confirmation.',
                                                      VALUE_DEFAULT, ''),
              )
          );
      }
code_tokens: public static function signup_user_parameters ( ) { return new external_function_parameters ( array ( 'username' => new external_value ( core_user :: get_property_type ( 'username' ) , 'Username' ) , 'password' => new external_value ( core_user :: get_property_type ( 'password' ) , 'Plain text password' ) , 'firstname' => new external_value ( core_user :: get_property_type ( 'firstname' ) , 'The first name(s) of the user' ) , 'lastname' => new external_value ( core_user :: get_property_type ( 'lastname' ) , 'The family name of the user' ) , 'email' => new external_value ( core_user :: get_property_type ( 'email' ) , 'A valid and unique email address' ) , 'city' => new external_value ( core_user :: get_property_type ( 'city' ) , 'Home city of the user' , VALUE_DEFAULT , '' ) , 'country' => new external_value ( core_user :: get_property_type ( 'country' ) , 'Home country code' , VALUE_DEFAULT , '' ) , 'recaptchachallengehash' => new external_value ( PARAM_RAW , 'Recaptcha challenge hash' , VALUE_DEFAULT , '' ) , 'recaptcharesponse' => new external_value ( PARAM_NOTAGS , 'Recaptcha response' , VALUE_DEFAULT , '' ) , 'customprofilefields' => new external_multiple_structure ( new external_single_structure ( array ( 'type' => new external_value ( PARAM_ALPHANUMEXT , 'The type of the custom field' ) , 'name' => new external_value ( PARAM_ALPHANUMEXT , 'The name of the custom field' ) , 'value' => new external_value ( PARAM_RAW , 'Custom field value, can be an encoded json if required' ) ) ) , 'User custom fields (also known as user profile fields)' , VALUE_DEFAULT , array ( ) ) , 'redirect' => new external_value ( PARAM_LOCALURL , 'Redirect the user to this site url after confirmation.' , VALUE_DEFAULT , '' ) , ) ) ; }
docstring: Describes the parameters for signup_user.
  
  @return external_function_parameters
  @since Moodle 3.2
docstring_tokens: Describes the parameters for signup_user .