extends |
XoopsPersistableObjectHandler |
---|
Methods | ||||||||
---|---|---|---|---|---|---|---|---|
public
|
__construct(null|XoopsDatabase $db)
Constructor
Constructor Parameters
Overrides |
# | ||||||
public
|
create(bool $isNew = true): object
create a new {@link ProfileProfile}
create a new {@link ProfileProfile} Parameters
Returns{@link ProfileProfile} Overrides |
# | ||||||
public
|
createField(bool $isNew = true): ProfileField
Create new {@link ProfileField} object
Create new {@link ProfileField} object |
# | ||||||
public
|
loadFields(): array
Load field information
Load field information |
# | ||||||
public
|
getFields(CriteriaElement $criteria, bool $id_as_key = true, bool $as_object = true): array
Fetch fields
Fetch fields Parameters
|
# | ||||||
public
|
insertField(ProfileField $field, bool $force = false): bool
Insert a field in the database
Insert a field in the database |
# | ||||||
public
|
deleteField(ProfileField $field, bool $force = false): bool
Delete a field from the database
Delete a field from the database |
# | ||||||
public
|
insert(XoopsObject|ProfileProfile $obj, bool $force = false): bool
insert a new object in the database
insert a new object in the database Parameters
ReturnsFALSE if failed, TRUE if already present and unchanged or successful Overrides |
# | ||||||
public
|
getUserVars(): array
Get array of standard variable names (user table)
Get array of standard variable names (user table) |
# | ||||||
public
|
search(CriteriaElement $criteria, array $searchvars = [], array $groups = null): array
Search profiles and users
Search profiles and users Parameters
|
# |
Methods inherited from XoopsObjectHandler |
---|
XoopsObjectHandler(), |
Properties | |||
---|---|---|---|
public
|
|
$_fHandler
holds reference to {@link profileFieldHandler} object
holds reference to {@link profileFieldHandler} object |
# |
public
|
array
|
$_fields = []
|
# |
Properties inherited from XoopsPersistableObjectHandler |
---|
$table_link, $handler, $handlers, $table, $keyName, $className, $identifierName, $field_link, $field_object |
Properties inherited from XoopsObjectHandler |
---|
$db |