UserProfileField
extends ProfileField
in package
Represents a custom profile field which belongs to a user.
Tags
Table of Contents
Properties
- $description : string|null
- $editable : bool
- $forum_posts : bool
- $id : int
- $length : int|null
- $name : string
- $public : bool
- $required : bool
- $type : int
- $updated : int|null
- $upf_id : int|null
- $value : string|null
Methods
- __construct() : mixed
- all() : array<int, ProfileField>
- find() : array<int, ProfileField>|ProfileField
- purifyValue() : string|null
- updated() : mixed
Properties
$description
public
string|null
$description
$editable
public
bool
$editable
$forum_posts
public
bool
$forum_posts
$id
public
int
$id
$length
public
int|null
$length
$name
public
string
$name
$public
public
bool
$public
$required
public
bool
$required
$type
public
int
$type
$updated
public
int|null
$updated
$upf_id
public
int|null
$upf_id
$value
public
string|null
$value
Methods
__construct()
public
__construct(object $row) : mixed
Parameters
- $row : object
all()
public
static all() : array<int, ProfileField>
Return values
array<int, ProfileField>find()
public
static find(string $value[, string $column = 'id' ]) : array<int, ProfileField>|ProfileField
Parameters
- $value : string
- $column : string = 'id'
Return values
array<int, ProfileField>|ProfileFieldpurifyValue()
public
purifyValue() : string|null
Return values
string|nullupdated()
public
updated() : mixed