User
extends Base
in package
Implement response object
Tags
Table of Contents
- $ : string
- $ : string
- $ : bool
- $ : int
- $ : string
- $ : string
- $ : string
- $ : string
- $ : array<string|int, ?string>
- $ : string
- $ : string
- $ : string|null
- $ : string|null
- $ : string|null
- $ : string|null
- $ : string|null
- $ : array<string|int, mixed>|null
- $ : array<string|int, mixed>|null
- $ : string|null
- $ : string|null
- $ : bool
- $ : array<string|int, ?string>
- $ : bool
- $ : array<string|int, mixed>
- $ : array<string|int, mixed>
- $ : object|null
- $ : string|null
- $ : string
- $ : int|string
- $id : null|int|string
- The primary key
- $type : string|null
- The object type
- $_date_format : string
- Pointer to date format of system
- $dynamics : array<string|int, mixed>
- __construct() : mixed
- General constructor.
- __get() : mixed|null
- Magic getter to avoid "PHP 8.2: Dynamic Properties are deprecated"
- __isset() : bool
- Magic check to avoid "PHP 8.2: Dynamic Properties are deprecated"
- __set() : void
- Magic setter to avoid "PHP 8.2: Dynamic Properties are deprecated"
- jsonSerialize() : array<string|int, mixed>
- patchExtra() : void
Properties
$
public
string
$
__type Mirror of type
$
public
string
$
__id Mirror of the id field
$
public
bool
$
active This user is generally active
$
public
int
$
level The access level by groups
$
public
string
$
firstname The first name
$
public
string
$
surname The last name
$
public
string
$
alias The username / login alias
$
public
string
$
emailaddress The user email address
$
public
array<string|int, ?string>
$
groups The list of groups
$
public
string
$
create_date The creation date
$
public
string
$
name The name (combination of first and last name)
$
public
string|null
$
address The users primary address
$
public
string|null
$
phone The users primary phone number
$
public
string|null
$
cell_phone The users primary cell phone number
$
public
string|null
$
date_to User is active to
$
public
string|null
$
date_from User is active from
$
public
array<string|int, mixed>|null
$
subscriptions The list of subscription states
$
public
array<string|int, mixed>|null
$
affiliate_subscriptions The list of affiliate subscriptions
$
public
string|null
$
subscription_ends The nearest subscription end date
$
public
string|null
$
country Country of residence
$
public
bool
$
is_online Is online (set by hear-beat)
$
public
array<string|int, ?string>
$
privacy_settings The privacy settings
$
public
bool
$
can_login Indicator if user can log in currently
$
public
array<string|int, mixed>
$
external_accounts List of external accounts
$
public
array<string|int, mixed>
$
tags Additional tags
$
public
object|null
$
address_split Address with split parts
$
public
string|null
$
subscription_trail_ends End date of trail
$
public
string
$
type
$
public
int|string
$
id
$id
The primary key
public
null|int|string
$id
= null
$type
The object type
public
string|null
$type
= null
$_date_format
Pointer to date format of system
protected
string
$_date_format
= FAA_DATE_SHORT
$dynamics
private
array<string|int, mixed>
$dynamics
= array()
Methods
__construct()
General constructor.
public
__construct(object $doc) : mixed
Parameters
- $doc : object
-
The search response object
Return values
mixed —__get()
Magic getter to avoid "PHP 8.2: Dynamic Properties are deprecated"
public
__get( $name) : mixed|null
Parameters
Return values
mixed|null —__isset()
Magic check to avoid "PHP 8.2: Dynamic Properties are deprecated"
public
__isset( $name) : bool
Parameters
Return values
bool —__set()
Magic setter to avoid "PHP 8.2: Dynamic Properties are deprecated"
public
__set( $name, $value) : void
Parameters
Return values
void —jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed> —patchExtra()
protected
patchExtra(object $doc, array<string|int, mixed>|null $extra) : void
Parameters
- $doc : object
- $extra : array<string|int, mixed>|null