Function __global->cns_member_external_linker_ask
Definitions
sources/cns_members_action2.php
- Get a form for finishing off a member profile (such as for LDAP or httpauth, where a partial profile is automatically made, but needs completion).
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: object
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $type | ID_TEXT | No | No | required parameter | N/A | N/A | The type of member profile we are finishing off |
| $username | SHORT_TEXT | No | No | required parameter | N/A | N/A | The username for the member profile |
| $email_address | No | No | Blank (empty string) | N/A | N/A | Auto-detected e-mail address (blank: none) | |
| $dob_day | ?integer | No | No | Null | N/A | N/A | Auto-detected DOB day (null: unknown) |
| $dob_month | ?integer | No | No | Null | N/A | N/A | Auto-detected DOB month (null: unknown) |
| $dob_year | ?integer | No | No | Null | N/A | N/A | Auto-detected DOB year (null: unknown) |
| $timezone | ?ID_TEXT | No | No | Null | N/A | N/A | Auto-detected Timezone (null: unknown) |
| $language | ?ID_TEXT | No | No | Null | N/A | N/A | Auto-detected Language (null: unknown) |
Returns
- The form
- Type: Tempcode
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get a form for finishing off a member profile (such as for LDAP or httpauth, where a partial profile is automatically made, but needs completion).
*
* @param ID_TEXT $type The type of member profile we are finishing off
* @param SHORT_TEXT $username The username for the member profile
* @param EMAIL $email_address Auto-detected e-mail address (blank: none)
* @param ?integer $dob_day Auto-detected DOB day (null: unknown)
* @param ?integer $dob_month Auto-detected DOB month (null: unknown)
* @param ?integer $dob_year Auto-detected DOB year (null: unknown)
* @param ?ID_TEXT $timezone Auto-detected Timezone (null: unknown)
* @param ?ID_TEXT $language Auto-detected Language (null: unknown)
* @return Tempcode The form
*/
function cns_member_external_linker_ask(string $type, string $username, string $email_address = '', ?int $dob_day = null, ?int $dob_month = null, ?int $dob_year = null, ?string $timezone = null, ?string $language = null) : object
* Get a form for finishing off a member profile (such as for LDAP or httpauth, where a partial profile is automatically made, but needs completion).
*
* @param ID_TEXT $type The type of member profile we are finishing off
* @param SHORT_TEXT $username The username for the member profile
* @param EMAIL $email_address Auto-detected e-mail address (blank: none)
* @param ?integer $dob_day Auto-detected DOB day (null: unknown)
* @param ?integer $dob_month Auto-detected DOB month (null: unknown)
* @param ?integer $dob_year Auto-detected DOB year (null: unknown)
* @param ?ID_TEXT $timezone Auto-detected Timezone (null: unknown)
* @param ?ID_TEXT $language Auto-detected Language (null: unknown)
* @return Tempcode The form
*/
function cns_member_external_linker_ask(string $type, string $username, string $email_address = '', ?int $dob_day = null, ?int $dob_month = null, ?int $dob_year = null, ?string $timezone = null, ?string $language = null) : object
